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
official yo
intermediary net/minecraft/class_8726
named net/minecraft/network/packet/s2c/custom/DebugStructuresCustomPayload
official b
intermediary comp_1711
named dimension
official c
intermediary comp_1712
named mainBB
official d
intermediary comp_1713
named pieces
  • 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.
    • ID

      public static final Identifier ID
      Mappings:
      Namespace Name Mixin selector
      official a Lyo;a:Lahg;
      intermediary field_45710 Lnet/minecraft/class_8726;field_45710:Lnet/minecraft/class_2960;
      named ID Lnet/minecraft/network/packet/s2c/custom/DebugStructuresCustomPayload;ID:Lnet/minecraft/util/Identifier;
  • Constructor Details

    • DebugStructuresCustomPayload

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

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

    • write

      public void write(PacketByteBuf buf)
      Specified by:
      write in interface CustomPayload
      Mappings:
      Namespace Name Mixin selector
      official a Lya;a(Lui;)V
      intermediary method_53028 Lnet/minecraft/class_8710;method_53028(Lnet/minecraft/class_2540;)V
      named write Lnet/minecraft/network/packet/CustomPayload;write(Lnet/minecraft/network/PacketByteBuf;)V
    • id

      public Identifier id()
      Specified by:
      id in interface CustomPayload
      Mappings:
      Namespace Name Mixin selector
      official a Lya;a()Lahg;
      intermediary comp_1678 Lnet/minecraft/class_8710;comp_1678()Lnet/minecraft/class_2960;
      named id Lnet/minecraft/network/packet/CustomPayload;id()Lnet/minecraft/util/Identifier;
    • readBox

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

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