Record Class Path.DebugData
java.lang.Object
java.lang.Record
net.minecraft.world.level.pathfinder.Path.DebugData
- Enclosing class:
- Path
- 
Field SummaryFields
- 
Constructor SummaryConstructors
- 
Method SummaryModifier 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 p_299429_) Returns the value of thetargetNodesrecord component.final StringtoString()Returns a string representation of this record class.voidwrite(FriendlyByteBuf p_299578_) 
- 
Field Details- 
openSetThe field for theopenSetrecord component.
- 
closedSetThe field for theclosedSetrecord component.
- 
targetNodesThe field for thetargetNodesrecord component.
 
- 
- 
Constructor Details- 
DebugDataCreates an instance of aDebugDatarecord class.- Parameters:
- openSet- the value for the- openSetrecord component
- closedSet- the value for the- closedSetrecord component
- targetNodes- the value for the- targetNodesrecord component
 
 
- 
- 
Method Details- 
write
- 
read
- 
toStringReturns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components.
- 
hashCodepublic final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components.
- 
equalsIndicates 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).
- 
openSetReturns the value of theopenSetrecord component.- Returns:
- the value of the openSetrecord component
 
- 
closedSetReturns the value of theclosedSetrecord component.- Returns:
- the value of the closedSetrecord component
 
- 
targetNodesReturns the value of thetargetNodesrecord component.- Returns:
- the value of the targetNodesrecord component
 
 
-