Record Class CommandTreeS2CPacket.CommandNodeData

java.lang.Object
java.lang.Record
net.minecraft.network.packet.s2c.play.CommandTreeS2CPacket.CommandNodeData
Record Components:
suggestableNode -
flags -
redirectNodeIndex -
childNodeIndices -
Enclosing class:
CommandTreeS2CPacket

private static record CommandTreeS2CPacket.CommandNodeData(@Nullable CommandTreeS2CPacket.SuggestableNode suggestableNode, int flags, int redirectNodeIndex, int[] childNodeIndices) extends Record
Mappings:
Namespace Name
named net/minecraft/network/packet/s2c/play/CommandTreeS2CPacket$CommandNodeData
intermediary net/minecraft/class_2641$class_2642
official adi$b
named suggestableNode
intermediary comp_4287
official a
named flags
intermediary comp_4288
official b
named redirectNodeIndex
intermediary comp_4289
official c
named childNodeIndices
intermediary comp_4290
official d
  • Field Details

  • Constructor Details

  • Method Details

    • write

      public void write(PacketByteBuf buf)
      Mappings:
      Namespace Name Mixin selector
      named write Lnet/minecraft/network/packet/s2c/play/CommandTreeS2CPacket$CommandNodeData;write(Lnet/minecraft/network/PacketByteBuf;)V
      intermediary method_42075 Lnet/minecraft/class_2641$class_2642;method_42075(Lnet/minecraft/class_2540;)V
      official a Ladi$b;a(Lwg;)V
    • validateRedirectNodeIndex

      public boolean validateRedirectNodeIndex(IntSet indices)
      Mappings:
      Namespace Name Mixin selector
      named validateRedirectNodeIndex Lnet/minecraft/network/packet/s2c/play/CommandTreeS2CPacket$CommandNodeData;validateRedirectNodeIndex(Lit/unimi/dsi/fastutil/ints/IntSet;)Z
      intermediary method_42074 Lnet/minecraft/class_2641$class_2642;method_42074(Lit/unimi/dsi/fastutil/ints/IntSet;)Z
      official a Ladi$b;a(Lit/unimi/dsi/fastutil/ints/IntSet;)Z
    • validateChildNodeIndices

      public boolean validateChildNodeIndices(IntSet indices)
      Mappings:
      Namespace Name Mixin selector
      named validateChildNodeIndices Lnet/minecraft/network/packet/s2c/play/CommandTreeS2CPacket$CommandNodeData;validateChildNodeIndices(Lit/unimi/dsi/fastutil/ints/IntSet;)Z
      intermediary method_42076 Lnet/minecraft/class_2641$class_2642;method_42076(Lit/unimi/dsi/fastutil/ints/IntSet;)Z
      official b Ladi$b;b(Lit/unimi/dsi/fastutil/ints/IntSet;)Z
    • 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. Reference components are compared with Objects::equals(Object,Object); primitive components are compared with '=='.
      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.
    • suggestableNode

      Returns the value of the suggestableNode record component.
      Returns:
      the value of the suggestableNode record component
    • flags

      public int flags()
      Returns the value of the flags record component.
      Returns:
      the value of the flags record component
    • redirectNodeIndex

      public int redirectNodeIndex()
      Returns the value of the redirectNodeIndex record component.
      Returns:
      the value of the redirectNodeIndex record component
    • childNodeIndices

      public int[] childNodeIndices()
      Returns the value of the childNodeIndices record component.
      Returns:
      the value of the childNodeIndices record component