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$DebugNodeInfointermediary net/minecraft/class_11$class_8644official eps$anamed openSetintermediary comp_1587official anamed closedSetintermediary comp_1588official bnamed targetNodesintermediary comp_1589official c
-
Field Summary
FieldsModifier 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 Summary
ConstructorsConstructorDescriptionDebugNodeInfo(PathNode[] pathNode, PathNode[] pathNode2, Set<TargetPathNode> set) -
Method Summary
Modifier 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
-
openSet
The field for theopenSetrecord component. -
closedSet
The field for theclosedSetrecord component. -
targetNodes
The field for thetargetNodesrecord component.
-
-
Constructor Details
-
DebugNodeInfo
-
-
Method Details
-
write
- Mappings:
Namespace Name Mixin selector named writeLnet/minecraft/entity/ai/pathing/Path$DebugNodeInfo;write(Lnet/minecraft/network/PacketByteBuf;)Vintermediary method_52606Lnet/minecraft/class_11$class_8644;method_52606(Lnet/minecraft/class_2540;)Vofficial aLeps$a;a(Lvw;)V
-
fromBuf
- Mappings:
Namespace Name Mixin selector named fromBufLnet/minecraft/entity/ai/pathing/Path$DebugNodeInfo;fromBuf(Lnet/minecraft/network/PacketByteBuf;)Lnet/minecraft/entity/ai/pathing/Path$DebugNodeInfo;intermediary method_52608Lnet/minecraft/class_11$class_8644;method_52608(Lnet/minecraft/class_2540;)Lnet/minecraft/class_11$class_8644;official bLeps$a;b(Lvw;)Leps$a;
-
toString
Returns 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. -
hashCode
public 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. -
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
Returns the value of thetargetNodesrecord component.- Returns:
- the value of the
targetNodesrecord component
-