Package net.minecraft.entity.ai.pathing
Record Class Path.DebugNodeInfo
java.lang.Object
java.lang.Record
net.minecraft.entity.ai.pathing.Path.DebugNodeInfo
- Record Components:
- openSet-
- closedSet-
- targetNodes-
- Enclosing class:
- Path
public static record Path.DebugNodeInfo(PathNode[] openSet, PathNode[] closedSet, Set<TargetPathNode> targetNodes)
extends Record
- Mappings:
- Namespace - Name - named - net/minecraft/entity/ai/pathing/Path$DebugNodeInfo- intermediary - net/minecraft/class_11$class_8644- official - eyo$a- named - openSet- intermediary - comp_1587- official - a- named - closedSet- intermediary - comp_1588- official - b- named - targetNodes- intermediary - comp_1589- official - c
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprivate final PathNode[]The field for theclosedSetrecord component.private final PathNode[]The field for theopenSetrecord component.private final Set<TargetPathNode> The field for thetargetNodesrecord component.
- 
Constructor SummaryConstructorsConstructorDescriptionDebugNodeInfo(PathNode[] pathNode, PathNode[] pathNode2, Set<TargetPathNode> set) 
- 
Method SummaryModifier and TypeMethodDescriptionPathNode[]Returns the value of theclosedSetrecord component.final booleanIndicates whether some other object is "equal to" this one.static Path.DebugNodeInfofromBuf(PacketByteBuf buf) final inthashCode()Returns a hash code value for this object.PathNode[]openSet()Returns the value of theopenSetrecord component.Returns the value of thetargetNodesrecord component.final StringtoString()Returns a string representation of this record class.voidwrite(PacketByteBuf buf) 
- 
Field Details- 
openSetThe field for theopenSetrecord component.
- 
closedSetThe field for theclosedSetrecord component.
- 
targetNodesThe field for thetargetNodesrecord component.
 
- 
- 
Constructor Details- 
DebugNodeInfo
 
- 
- 
Method Details- 
write- Mappings:
- Namespace - Name - Mixin selector - named - write- Lnet/minecraft/entity/ai/pathing/Path$DebugNodeInfo;write(Lnet/minecraft/network/PacketByteBuf;)V- intermediary - method_52606- Lnet/minecraft/class_11$class_8644;method_52606(Lnet/minecraft/class_2540;)V- official - a- Leyo$a;a(Lvy;)V
 
- 
fromBuf- Mappings:
- Namespace - Name - Mixin selector - named - fromBuf- Lnet/minecraft/entity/ai/pathing/Path$DebugNodeInfo;fromBuf(Lnet/minecraft/network/PacketByteBuf;)Lnet/minecraft/entity/ai/pathing/Path$DebugNodeInfo;- intermediary - method_52608- Lnet/minecraft/class_11$class_8644;method_52608(Lnet/minecraft/class_2540;)Lnet/minecraft/class_11$class_8644;- official - b- Leyo$a;b(Lvy;)Leyo$a;
 
- 
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
 
 
-