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/DebugStructuresCustomPayloadintermediary net/minecraft/class_8726official aaxnamed dimensionintermediary comp_1711official cnamed mainBBintermediary comp_1712official dnamed piecesintermediary comp_1713official e
-
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 named CODECLnet/minecraft/network/packet/s2c/custom/DebugStructuresCustomPayload;CODEC:Lnet/minecraft/network/codec/PacketCodec;intermediary field_48684Lnet/minecraft/class_8726;field_48684:Lnet/minecraft/class_9139;official aLaax;a:Lyx;
-
ID
- Mappings:
Namespace Name Mixin selector named IDLnet/minecraft/network/packet/s2c/custom/DebugStructuresCustomPayload;ID:Lnet/minecraft/network/packet/CustomPayload$Id;intermediary field_48685Lnet/minecraft/class_8726;field_48685:Lnet/minecraft/class_8710$class_9154;official bLaax;b:Laaj$b;
-
-
Constructor Details
-
DebugStructuresCustomPayload
- Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/network/packet/s2c/custom/DebugStructuresCustomPayload;<init>(Lnet/minecraft/network/PacketByteBuf;)Vintermediary <init>Lnet/minecraft/class_8726;<init>(Lnet/minecraft/class_2540;)Vofficial <init>Laax;<init>(Lvw;)V
-
DebugStructuresCustomPayload
public DebugStructuresCustomPayload(RegistryKey<World> registryKey, BlockBox blockBox, List<DebugStructuresCustomPayload.Piece> list)
-
-
Method Details
-
write
- Mappings:
Namespace Name Mixin selector named writeLnet/minecraft/network/packet/s2c/custom/DebugStructuresCustomPayload;write(Lnet/minecraft/network/PacketByteBuf;)Vintermediary method_56505Lnet/minecraft/class_8726;method_56505(Lnet/minecraft/class_2540;)Vofficial aLaax;a(Lvw;)V
-
getId
- Specified by:
getIdin interfaceCustomPayload- Mappings:
Namespace Name Mixin selector named getIdLnet/minecraft/network/packet/CustomPayload;getId()Lnet/minecraft/network/packet/CustomPayload$Id;intermediary method_56479Lnet/minecraft/class_8710;method_56479()Lnet/minecraft/class_8710$class_9154;official aLaaj;a()Laaj$b;
-
readBox
- Mappings:
Namespace Name Mixin selector named readBoxLnet/minecraft/network/packet/s2c/custom/DebugStructuresCustomPayload;readBox(Lnet/minecraft/network/PacketByteBuf;)Lnet/minecraft/util/math/BlockBox;intermediary method_53039Lnet/minecraft/class_8726;method_53039(Lnet/minecraft/class_2540;)Lnet/minecraft/class_3341;official bLaax;b(Lvw;)Lejj;
-
writeBox
- Mappings:
Namespace Name Mixin selector named writeBoxLnet/minecraft/network/packet/s2c/custom/DebugStructuresCustomPayload;writeBox(Lnet/minecraft/network/PacketByteBuf;Lnet/minecraft/util/math/BlockBox;)Vintermediary method_53037Lnet/minecraft/class_8726;method_53037(Lnet/minecraft/class_2540;Lnet/minecraft/class_3341;)Vofficial aLaax;a(Lvw;Lejj;)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
-