Record Class Path.DebugData
java.lang.Object
java.lang.Record
net.minecraft.world.level.pathfinder.Path.DebugData
- Enclosing class:
Path
-
Field Summary
FieldsModifier and TypeFieldDescriptionThe field for theclosedSetrecord component.The field for theopenSetrecord component.static final StreamCodec<io.netty.buffer.ByteBuf, Path.DebugData> The field for thetargetNodesrecord component. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns 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.openSet()Returns the value of theopenSetrecord component.Returns the value of thetargetNodesrecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
openSet
-
closedSet
-
targetNodes
-
STREAM_CODEC
-
-
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
-
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
-
closedSet
-
targetNodes
-