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 zqintermediary net/minecraft/class_8726named net/minecraft/network/packet/s2c/custom/DebugStructuresCustomPayloadofficial cintermediary comp_1711named dimensionofficial dintermediary comp_1712named mainBBofficial eintermediary comp_1713named pieces
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from interface net.minecraft.network.packet.CustomPayload
CustomPayload.CodecFactory<B extends PacketByteBuf>, CustomPayload.Id<T extends CustomPayload>, CustomPayload.Type<B extends PacketByteBuf,T extends CustomPayload> -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final PacketCodec<PacketByteBuf, DebugStructuresCustomPayload> private final RegistryKey<World> The field for thedimensionrecord component.static final CustomPayload.Id<DebugStructuresCustomPayload> private final BlockBoxThe field for themainBBrecord component.private final List<DebugStructuresCustomPayload.Piece> The field for thepiecesrecord component. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateDebugStructuresCustomPayload(RegistryKey<World> registryKey, BlockBox blockBox, List<DebugStructuresCustomPayload.Piece> list) -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thedimensionrecord component.final booleanIndicates whether some other object is "equal to" this one.getId()final inthashCode()Returns a hash code value for this object.mainBB()Returns the value of themainBBrecord component.pieces()Returns the value of thepiecesrecord component.(package private) static BlockBoxreadBox(PacketByteBuf buf) final StringtoString()Returns a string representation of this record class.private voidwrite(PacketByteBuf buf) (package private) static voidwriteBox(PacketByteBuf buf, BlockBox box)
-
Field Details
-
dimension
The field for thedimensionrecord component. -
mainBB
The field for themainBBrecord component. -
pieces
The field for thepiecesrecord component. -
CODEC
- Mappings:
Namespace Name Mixin selector official aLzq;a:Lxs;intermediary field_48684Lnet/minecraft/class_8726;field_48684:Lnet/minecraft/class_9139;named CODECLnet/minecraft/network/packet/s2c/custom/DebugStructuresCustomPayload;CODEC:Lnet/minecraft/network/codec/PacketCodec;
-
ID
- Mappings:
Namespace Name Mixin selector official bLzq;b:Lzc$b;intermediary field_48685Lnet/minecraft/class_8726;field_48685:Lnet/minecraft/class_8710$class_9154;named IDLnet/minecraft/network/packet/s2c/custom/DebugStructuresCustomPayload;ID:Lnet/minecraft/network/packet/CustomPayload$Id;
-
-
Constructor Details
-
DebugStructuresCustomPayload
- Mappings:
Namespace Name Mixin selector official <init>Lzq;<init>(Luu;)Vintermediary <init>Lnet/minecraft/class_8726;<init>(Lnet/minecraft/class_2540;)Vnamed <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
- Mappings:
Namespace Name Mixin selector official aLzq;a(Luu;)Vintermediary method_56505Lnet/minecraft/class_8726;method_56505(Lnet/minecraft/class_2540;)Vnamed writeLnet/minecraft/network/packet/s2c/custom/DebugStructuresCustomPayload;write(Lnet/minecraft/network/PacketByteBuf;)V
-
getId
- Specified by:
getIdin interfaceCustomPayload- Mappings:
Namespace Name Mixin selector official aLzc;a()Lzc$b;intermediary method_56479Lnet/minecraft/class_8710;method_56479()Lnet/minecraft/class_8710$class_9154;named getIdLnet/minecraft/network/packet/CustomPayload;getId()Lnet/minecraft/network/packet/CustomPayload$Id;
-
readBox
- Mappings:
Namespace Name Mixin selector official bLzq;b(Luu;)Lecw;intermediary method_53039Lnet/minecraft/class_8726;method_53039(Lnet/minecraft/class_2540;)Lnet/minecraft/class_3341;named readBoxLnet/minecraft/network/packet/s2c/custom/DebugStructuresCustomPayload;readBox(Lnet/minecraft/network/PacketByteBuf;)Lnet/minecraft/util/math/BlockBox;
-
writeBox
- Mappings:
Namespace Name Mixin selector official aLzq;a(Luu;Lecw;)Vintermediary method_53037Lnet/minecraft/class_8726;method_53037(Lnet/minecraft/class_2540;Lnet/minecraft/class_3341;)Vnamed writeBoxLnet/minecraft/network/packet/s2c/custom/DebugStructuresCustomPayload;writeBox(Lnet/minecraft/network/PacketByteBuf;Lnet/minecraft/util/math/BlockBox;)V
-
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. -
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. -
equals
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 withObjects::equals(Object,Object). -
dimension
Returns the value of thedimensionrecord component.- Returns:
- the value of the
dimensionrecord component
-
mainBB
Returns the value of themainBBrecord component.- Returns:
- the value of the
mainBBrecord component
-
pieces
Returns the value of thepiecesrecord component.- Returns:
- the value of the
piecesrecord component
-