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 abl
named dimension
intermediary comp_1711
official c
named mainBB
intermediary comp_1712
official d
named pieces
intermediary comp_1713
official e
-
Nested Class Summary
Nested 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
Modifier and TypeFieldDescriptionstatic final PacketCodec
<PacketByteBuf, DebugStructuresCustomPayload> private final RegistryKey
<World> The field for thedimension
record component.static final CustomPayload.Id
<DebugStructuresCustomPayload> private final BlockBox
The field for themainBB
record component.private final List
<DebugStructuresCustomPayload.Piece> The field for thepieces
record component. -
Constructor Summary
ModifierConstructorDescriptionprivate
DebugStructuresCustomPayload
(RegistryKey<World> registryKey, BlockBox blockBox, List<DebugStructuresCustomPayload.Piece> list) -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thedimension
record component.final boolean
Indicates whether some other object is "equal to" this one.getId()
final int
hashCode()
Returns a hash code value for this object.mainBB()
Returns the value of themainBB
record component.pieces()
Returns the value of thepieces
record component.(package private) static BlockBox
readBox
(PacketByteBuf buf) final String
toString()
Returns a string representation of this record class.private void
write
(PacketByteBuf buf) (package private) static void
writeBox
(PacketByteBuf buf, BlockBox box)
-
Field Details
-
dimension
The field for thedimension
record component. -
mainBB
The field for themainBB
record component. -
pieces
The field for thepieces
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
Labl;a:Lzn;
-
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
Labl;b:Laax$b;
-
-
Constructor Details
-
DebugStructuresCustomPayload
- 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>
Labl;<init>(Lwm;)V
-
DebugStructuresCustomPayload
public DebugStructuresCustomPayload(RegistryKey<World> registryKey, BlockBox blockBox, List<DebugStructuresCustomPayload.Piece> list)
-
-
Method Details
-
write
- 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
Labl;a(Lwm;)V
-
getId
- Specified by:
getId
in interfaceCustomPayload
- 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
Laax;a()Laax$b;
-
readBox
- 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
Labl;b(Lwm;)Leid;
-
writeBox
- 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
Labl;a(Lwm;Leid;)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 thedimension
record component.- Returns:
- the value of the
dimension
record component
-
mainBB
Returns the value of themainBB
record component.- Returns:
- the value of the
mainBB
record component
-
pieces
Returns the value of thepieces
record component.- Returns:
- the value of the
pieces
record component
-