Record Class Path.DebugData
java.lang.Object
java.lang.Record
net.minecraft.world.level.pathfinder.Path.DebugData
- Enclosing class:
Path
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionNode[]Returns the value of theclosedSetrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Node[]openSet()Returns the value of theopenSetrecord component.static Path.DebugDataread(FriendlyByteBuf input) Returns the value of thetargetNodesrecord component.final StringtoString()Returns a string representation of this record class.voidwrite(FriendlyByteBuf output)
-
Field Details
-
openSet
The field for theopenSetrecord component. -
closedSet
The field for theclosedSetrecord component. -
targetNodes
-
-
Constructor Details
-
DebugData
Creates an instance of aDebugDatarecord class.- Parameters:
openSet- the value for theopenSetrecord componentclosedSet- the value for theclosedSetrecord componenttargetNodes- the value for thetargetNodesrecord component
-
-
Method Details
-
write
-
read
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
openSet
Returns the value of theopenSetrecord component.- Returns:
- the value of the
openSetrecord component
-
closedSet
Returns the value of theclosedSetrecord component.- Returns:
- the value of the
closedSetrecord component
-
targetNodes
-