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 official ebb$a
intermediary net/minecraft/class_11$class_8644
named net/minecraft/entity/ai/pathing/Path$DebugNodeInfo
official a
intermediary comp_1587
named openSet
official b
intermediary comp_1588
named closedSet
official c
intermediary comp_1589
named targetNodes
-
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 official a
Lebb$a;a(Lso;)V
intermediary method_52606
Lnet/minecraft/class_11$class_8644;method_52606(Lnet/minecraft/class_2540;)V
named write
Lnet/minecraft/entity/ai/pathing/Path$DebugNodeInfo;write(Lnet/minecraft/network/PacketByteBuf;)V
-
fromBuf
- Mappings:
Namespace Name Mixin selector official b
Lebb$a;b(Lso;)Lebb$a;
intermediary method_52608
Lnet/minecraft/class_11$class_8644;method_52608(Lnet/minecraft/class_2540;)Lnet/minecraft/class_11$class_8644;
named fromBuf
Lnet/minecraft/entity/ai/pathing/Path$DebugNodeInfo;fromBuf(Lnet/minecraft/network/PacketByteBuf;)Lnet/minecraft/entity/ai/pathing/Path$DebugNodeInfo;
-
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
-