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.class_8727> pieces)
extends Record
implements CustomPayload
- Mappings:
Namespace Name official wcintermediary net/minecraft/class_8726named net/minecraft/network/packet/s2c/custom/DebugStructuresCustomPayloadofficial bintermediary comp_1711named dimensionofficial cintermediary comp_1712named mainBBofficial dintermediary comp_1713named pieces
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final RegistryKey<World>The field for thedimensionrecord component.static final Identifierprivate final BlockBoxThe field for themainBBrecord component.private final List<DebugStructuresCustomPayload.class_8727>The field for thepiecesrecord component. -
Constructor Summary
ConstructorsConstructorDescriptionDebugStructuresCustomPayload(PacketByteBuf packetByteBuf) DebugStructuresCustomPayload(RegistryKey<World> registryKey, BlockBox blockBox, List<DebugStructuresCustomPayload.class_8727> list) -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thedimensionrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.id()mainBB()Returns the value of themainBBrecord component.(package private) static voidmethod_53037(PacketByteBuf packetByteBuf, BlockBox blockBox) (package private) static BlockBoxmethod_53039(PacketByteBuf packetByteBuf) pieces()Returns the value of thepiecesrecord component.final StringtoString()Returns a string representation of this record class.voidwrite(PacketByteBuf buf)
-
Field Details
-
dimension
The field for thedimensionrecord component. -
mainBB
The field for themainBBrecord component. -
pieces
The field for thepiecesrecord component. -
ID
- Mappings:
Namespace Name Mixin selector official aLwc;a:Laep;intermediary field_45710Lnet/minecraft/class_8726;field_45710:Lnet/minecraft/class_2960;named IDLnet/minecraft/network/packet/s2c/custom/DebugStructuresCustomPayload;ID:Lnet/minecraft/util/Identifier;
-
-
Constructor Details
-
DebugStructuresCustomPayload
-
DebugStructuresCustomPayload
public DebugStructuresCustomPayload(RegistryKey<World> registryKey, BlockBox blockBox, List<DebugStructuresCustomPayload.class_8727> list)
-
-
Method Details
-
write
- Specified by:
writein interfaceCustomPayload- Mappings:
Namespace Name Mixin selector official aLvo;a(Lsh;)Vintermediary method_53028Lnet/minecraft/class_8710;method_53028(Lnet/minecraft/class_2540;)Vnamed writeLnet/minecraft/network/packet/CustomPayload;write(Lnet/minecraft/network/PacketByteBuf;)V
-
id
- Specified by:
idin interfaceCustomPayload- Mappings:
Namespace Name Mixin selector official aLvo;a()Laep;intermediary comp_1678Lnet/minecraft/class_8710;comp_1678()Lnet/minecraft/class_2960;named idLnet/minecraft/network/packet/CustomPayload;id()Lnet/minecraft/util/Identifier;
-
method_53039
- Mappings:
Namespace Name Mixin selector official bLwc;b(Lsh;)Ldup;intermediary method_53039Lnet/minecraft/class_8726;method_53039(Lnet/minecraft/class_2540;)Lnet/minecraft/class_3341;named method_53039Lnet/minecraft/network/packet/s2c/custom/DebugStructuresCustomPayload;method_53039(Lnet/minecraft/network/PacketByteBuf;)Lnet/minecraft/util/math/BlockBox;
-
method_53037
- Mappings:
Namespace Name Mixin selector official aLwc;a(Lsh;Ldup;)Vintermediary method_53037Lnet/minecraft/class_8726;method_53037(Lnet/minecraft/class_2540;Lnet/minecraft/class_3341;)Vnamed method_53037Lnet/minecraft/network/packet/s2c/custom/DebugStructuresCustomPayload;method_53037(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
-