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 epm$a
named openSet
intermediary comp_1587
official a
named closedSet
intermediary comp_1588
official b
named targetNodes
intermediary comp_1589
official c
  • Field Details

  • Constructor Details

  • Method Details

    • write

      public void write(PacketByteBuf buf)
      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 Lepm$a;a(Lvv;)V
    • fromBuf

      public static Path.DebugNodeInfo fromBuf(PacketByteBuf buf)
      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 Lepm$a;b(Lvv;)Lepm$a;
    • 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