Record Class DebugStructuresCustomPayload.Piece

java.lang.Object
java.lang.Record
net.minecraft.network.packet.s2c.custom.DebugStructuresCustomPayload.Piece
Record Components:
boundingBox -
isStart -
Enclosing class:
DebugStructuresCustomPayload

public static record DebugStructuresCustomPayload.Piece(BlockBox boundingBox, boolean isStart) extends Record
Mappings:
Namespace Name
named net/minecraft/network/packet/s2c/custom/DebugStructuresCustomPayload$Piece
intermediary net/minecraft/class_8726$class_8727
official aax$a
named boundingBox
intermediary comp_1714
official a
named isStart
intermediary comp_1715
official b
  • Field Details

    • boundingBox

      private final BlockBox boundingBox
      The field for the boundingBox record component.
    • isStart

      private final boolean isStart
      The field for the isStart record component.
  • Constructor Details

    • Piece

      public Piece(PacketByteBuf buf)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/network/packet/s2c/custom/DebugStructuresCustomPayload$Piece;<init>(Lnet/minecraft/network/PacketByteBuf;)V
      intermediary <init> Lnet/minecraft/class_8726$class_8727;<init>(Lnet/minecraft/class_2540;)V
      official <init> Laax$a;<init>(Lvw;)V
    • Piece

      public Piece(BlockBox blockBox, boolean bool)
  • Method Details

    • write

      public void write(PacketByteBuf buf)
      Mappings:
      Namespace Name Mixin selector
      named write Lnet/minecraft/network/packet/s2c/custom/DebugStructuresCustomPayload$Piece;write(Lnet/minecraft/network/PacketByteBuf;)V
      intermediary method_53040 Lnet/minecraft/class_8726$class_8727;method_53040(Lnet/minecraft/class_2540;)V
      official a Laax$a;a(Lvw;)V
    • 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.
    • boundingBox

      public BlockBox boundingBox()
      Returns the value of the boundingBox record component.
      Returns:
      the value of the boundingBox record component
    • isStart

      public boolean isStart()
      Returns the value of the isStart record component.
      Returns:
      the value of the isStart record component