Record Class DebugStructuresCustomPayload

java.lang.Object
java.lang.Record
net.minecraft.network.packet.s2c.custom.DebugStructuresCustomPayload
Record Components:
dimension -
mainBB -
pieces -
All Implemented Interfaces:
CustomPayload

public record DebugStructuresCustomPayload(RegistryKey<World> dimension, BlockBox mainBB, List<DebugStructuresCustomPayload.Piece> pieces) extends Record implements CustomPayload
Mappings:
Namespace Name
named net/minecraft/network/packet/s2c/custom/DebugStructuresCustomPayload
intermediary net/minecraft/class_8726
official aax
named dimension
intermediary comp_1711
official c
named mainBB
intermediary comp_1712
official d
named pieces
intermediary comp_1713
official e
  • Field Details

    • dimension

      private final RegistryKey<World> dimension
      The field for the dimension record component.
    • mainBB

      private final BlockBox mainBB
      The field for the mainBB record component.
    • pieces

      The field for the pieces record component.
    • CODEC

      Mappings:
      Namespace Name Mixin selector
      named CODEC Lnet/minecraft/network/packet/s2c/custom/DebugStructuresCustomPayload;CODEC:Lnet/minecraft/network/codec/PacketCodec;
      intermediary field_48684 Lnet/minecraft/class_8726;field_48684:Lnet/minecraft/class_9139;
      official a Laax;a:Lyx;
    • ID

      Mappings:
      Namespace Name Mixin selector
      named ID Lnet/minecraft/network/packet/s2c/custom/DebugStructuresCustomPayload;ID:Lnet/minecraft/network/packet/CustomPayload$Id;
      intermediary field_48685 Lnet/minecraft/class_8726;field_48685:Lnet/minecraft/class_8710$class_9154;
      official b Laax;b:Laaj$b;
  • Constructor Details

    • DebugStructuresCustomPayload

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

      public DebugStructuresCustomPayload(RegistryKey<World> registryKey, BlockBox blockBox, List<DebugStructuresCustomPayload.Piece> list)
  • Method Details

    • write

      private void write(PacketByteBuf buf)
      Mappings:
      Namespace Name Mixin selector
      named write Lnet/minecraft/network/packet/s2c/custom/DebugStructuresCustomPayload;write(Lnet/minecraft/network/PacketByteBuf;)V
      intermediary method_56505 Lnet/minecraft/class_8726;method_56505(Lnet/minecraft/class_2540;)V
      official a Laax;a(Lvw;)V
    • getId

      Specified by:
      getId in interface CustomPayload
      Mappings:
      Namespace Name Mixin selector
      named getId Lnet/minecraft/network/packet/CustomPayload;getId()Lnet/minecraft/network/packet/CustomPayload$Id;
      intermediary method_56479 Lnet/minecraft/class_8710;method_56479()Lnet/minecraft/class_8710$class_9154;
      official a Laaj;a()Laaj$b;
    • readBox

      static BlockBox readBox(PacketByteBuf buf)
      Mappings:
      Namespace Name Mixin selector
      named readBox Lnet/minecraft/network/packet/s2c/custom/DebugStructuresCustomPayload;readBox(Lnet/minecraft/network/PacketByteBuf;)Lnet/minecraft/util/math/BlockBox;
      intermediary method_53039 Lnet/minecraft/class_8726;method_53039(Lnet/minecraft/class_2540;)Lnet/minecraft/class_3341;
      official b Laax;b(Lvw;)Lejj;
    • writeBox

      static void writeBox(PacketByteBuf buf, BlockBox box)
      Mappings:
      Namespace Name Mixin selector
      named writeBox Lnet/minecraft/network/packet/s2c/custom/DebugStructuresCustomPayload;writeBox(Lnet/minecraft/network/PacketByteBuf;Lnet/minecraft/util/math/BlockBox;)V
      intermediary method_53037 Lnet/minecraft/class_8726;method_53037(Lnet/minecraft/class_2540;Lnet/minecraft/class_3341;)V
      official a Laax;a(Lvw;Lejj;)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. 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.
    • dimension

      public RegistryKey<World> dimension()
      Returns the value of the dimension record component.
      Returns:
      the value of the dimension record component
    • mainBB

      public BlockBox mainBB()
      Returns the value of the mainBB record component.
      Returns:
      the value of the mainBB record component
    • pieces

      Returns the value of the pieces record component.
      Returns:
      the value of the pieces record component