Record Class ChunkBiomeDataS2CPacket
java.lang.Object
java.lang.Record
net.minecraft.network.packet.s2c.play.ChunkBiomeDataS2CPacket
- Record Components:
chunkBiomeData
-
- All Implemented Interfaces:
Packet<ClientPlayPacketListener>
public record ChunkBiomeDataS2CPacket(List<ChunkBiomeDataS2CPacket.Serialized> chunkBiomeData)
extends Record
implements Packet<ClientPlayPacketListener>
- Mappings:
Namespace Name official vf
intermediary net/minecraft/class_8212
named net/minecraft/network/packet/s2c/play/ChunkBiomeDataS2CPacket
official a
intermediary comp_1313
named chunkBiomeData
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionprivate final List<ChunkBiomeDataS2CPacket.Serialized>
The field for thechunkBiomeData
record component.private static final int
-
Constructor Summary
ConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptionvoid
apply
(ClientPlayPacketListener clientPlayPacketListener) Returns the value of thechunkBiomeData
record component.static ChunkBiomeDataS2CPacket
create
(List<WorldChunk> chunks) final boolean
Indicates whether some other object is "equal to" this one.final int
hashCode()
Returns a hash code value for this object.final String
toString()
Returns a string representation of this record class.void
write
(PacketByteBuf buf) Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface net.minecraft.network.packet.Packet
isWritingErrorSkippable
-
Field Details
-
chunkBiomeData
The field for thechunkBiomeData
record component. -
MAX_SIZE
private static final int MAX_SIZE- See Also:
- Mappings:
Namespace Name Mixin selector official b
Lvf;b:I
intermediary field_43094
Lnet/minecraft/class_8212;field_43094:I
named MAX_SIZE
Lnet/minecraft/network/packet/s2c/play/ChunkBiomeDataS2CPacket;MAX_SIZE:I
-
-
Constructor Details
-
ChunkBiomeDataS2CPacket
- Mappings:
Namespace Name Mixin selector official <init>
Lvf;<init>(Lsf;)V
intermediary <init>
Lnet/minecraft/class_8212;<init>(Lnet/minecraft/class_2540;)V
named <init>
Lnet/minecraft/network/packet/s2c/play/ChunkBiomeDataS2CPacket;<init>(Lnet/minecraft/network/PacketByteBuf;)V
-
ChunkBiomeDataS2CPacket
-
-
Method Details
-
create
- Mappings:
Namespace Name Mixin selector official a
Lvf;a(Ljava/util/List;)Lvf;
intermediary method_49685
Lnet/minecraft/class_8212;method_49685(Ljava/util/List;)Lnet/minecraft/class_8212;
named create
Lnet/minecraft/network/packet/s2c/play/ChunkBiomeDataS2CPacket;create(Ljava/util/List;)Lnet/minecraft/network/packet/s2c/play/ChunkBiomeDataS2CPacket;
-
write
- Specified by:
write
in interfacePacket<ClientPlayPacketListener>
- Mappings:
Namespace Name Mixin selector official a
Luo;a(Lsf;)V
intermediary method_11052
Lnet/minecraft/class_2596;method_11052(Lnet/minecraft/class_2540;)V
named write
Lnet/minecraft/network/packet/Packet;write(Lnet/minecraft/network/PacketByteBuf;)V
-
apply
- Specified by:
apply
in interfacePacket<ClientPlayPacketListener>
- Mappings:
Namespace Name Mixin selector official a
Lvf;a(Lur;)V
intermediary method_49687
Lnet/minecraft/class_8212;method_49687(Lnet/minecraft/class_2602;)V
named apply
Lnet/minecraft/network/packet/s2c/play/ChunkBiomeDataS2CPacket;apply(Lnet/minecraft/network/listener/ClientPlayPacketListener;)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)
. -
chunkBiomeData
Returns the value of thechunkBiomeData
record component.- Returns:
- the value of the
chunkBiomeData
record component
-