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 euk$a
named openSet
intermediary comp_1587
official a
named closedSet
intermediary comp_1588
official b
named targetNodes
intermediary comp_1589
official c
-
Field Summary
Modifier and TypeFieldDescriptionprivate final PathNode[]
The field for theclosedSet
record component.private final PathNode[]
The field for theopenSet
record component.private final Set
<TargetPathNode> The field for thetargetNodes
record component. -
Constructor Summary
ConstructorDescriptionDebugNodeInfo
(PathNode[] pathNode, PathNode[] pathNode2, Set<TargetPathNode> set) -
Method Summary
Modifier and TypeMethodDescriptionPathNode[]
Returns the value of theclosedSet
record component.final boolean
Indicates whether some other object is "equal to" this one.static Path.DebugNodeInfo
fromBuf
(PacketByteBuf buf) final int
hashCode()
Returns a hash code value for this object.PathNode[]
openSet()
Returns the value of theopenSet
record component.Returns the value of thetargetNodes
record component.final String
toString()
Returns a string representation of this record class.void
write
(PacketByteBuf buf)
-
Field Details
-
openSet
The field for theopenSet
record component. -
closedSet
The field for theclosedSet
record component. -
targetNodes
The field for thetargetNodes
record 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
Leuk$a;a(Lws;)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
Leuk$a;b(Lws;)Leuk$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 theopenSet
record component.- Returns:
- the value of the
openSet
record component
-
closedSet
Returns the value of theclosedSet
record component.- Returns:
- the value of the
closedSet
record component
-
targetNodes
Returns the value of thetargetNodes
record component.- Returns:
- the value of the
targetNodes
record component
-