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
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionprivate final RegistryKey<World>
The field for thedimension
record component.static final Identifier
private final BlockBox
The field for themainBB
record component.private final List<DebugStructuresCustomPayload.Piece>
The field for thepieces
record component. -
Constructor Summary
ConstructorDescriptionDebugStructuresCustomPayload
(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.final int
hashCode()
Returns a hash code value for this object.id()
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.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. -
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
- 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
- Specified by:
write
in interfaceCustomPayload
- 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
- Specified by:
id
in interfaceCustomPayload
- 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
- 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
- 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
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
-