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 eaq$aintermediary net/minecraft/class_11$class_8644named net/minecraft/entity/ai/pathing/Path$DebugNodeInfoofficial aintermediary comp_1587named openSetofficial bintermediary comp_1588named closedSetofficial cintermediary comp_1589named targetNodes
-
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 official aLeaq$a;a(Lsh;)Vintermediary method_52606Lnet/minecraft/class_11$class_8644;method_52606(Lnet/minecraft/class_2540;)Vnamed writeLnet/minecraft/entity/ai/pathing/Path$DebugNodeInfo;write(Lnet/minecraft/network/PacketByteBuf;)V
-
fromBuf
- Mappings:
Namespace Name Mixin selector official bLeaq$a;b(Lsh;)Leaq$a;intermediary method_52608Lnet/minecraft/class_11$class_8644;method_52608(Lnet/minecraft/class_2540;)Lnet/minecraft/class_11$class_8644;named fromBufLnet/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 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
-