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 Details

  • Constructor Details

  • Method Details

    • write

      public void write(PacketByteBuf buf)
      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

      public static Path.DebugNodeInfo fromBuf(PacketByteBuf buf)
      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

      public final String 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.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • 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.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object object)
      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 with Objects::equals(Object,Object).
      Specified by:
      equals in class Record
      Parameters:
      object - the object with which to compare
      Returns:
      true if this object is the same as the object argument; false otherwise.
    • openSet

      public PathNode[] openSet()
      Returns the value of the openSet record component.
      Returns:
      the value of the openSet record component
    • closedSet

      public PathNode[] closedSet()
      Returns the value of the closedSet record component.
      Returns:
      the value of the closedSet record component
    • targetNodes

      public Set<TargetPathNode> targetNodes()
      Returns the value of the targetNodes record component.
      Returns:
      the value of the targetNodes record component