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 vfintermediary net/minecraft/class_8212named net/minecraft/network/packet/s2c/play/ChunkBiomeDataS2CPacketofficial aintermediary comp_1313named chunkBiomeData
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final List<ChunkBiomeDataS2CPacket.Serialized>The field for thechunkBiomeDatarecord component.private static final int -
Constructor Summary
ConstructorsConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptionvoidapply(ClientPlayPacketListener clientPlayPacketListener) Returns the value of thechunkBiomeDatarecord component.static ChunkBiomeDataS2CPacketcreate(List<WorldChunk> chunks) final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.voidwrite(PacketByteBuf buf) Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface net.minecraft.network.packet.Packet
isWritingErrorSkippable
-
Field Details
-
chunkBiomeData
The field for thechunkBiomeDatarecord component. -
MAX_SIZE
private static final int MAX_SIZE- See Also:
- Mappings:
Namespace Name Mixin selector official bLvf;b:Iintermediary field_43094Lnet/minecraft/class_8212;field_43094:Inamed MAX_SIZELnet/minecraft/network/packet/s2c/play/ChunkBiomeDataS2CPacket;MAX_SIZE:I
-
-
Constructor Details
-
ChunkBiomeDataS2CPacket
- Mappings:
Namespace Name Mixin selector official <init>Lvf;<init>(Lsf;)Vintermediary <init>Lnet/minecraft/class_8212;<init>(Lnet/minecraft/class_2540;)Vnamed <init>Lnet/minecraft/network/packet/s2c/play/ChunkBiomeDataS2CPacket;<init>(Lnet/minecraft/network/PacketByteBuf;)V
-
ChunkBiomeDataS2CPacket
-
-
Method Details
-
create
- Mappings:
Namespace Name Mixin selector official aLvf;a(Ljava/util/List;)Lvf;intermediary method_49685Lnet/minecraft/class_8212;method_49685(Ljava/util/List;)Lnet/minecraft/class_8212;named createLnet/minecraft/network/packet/s2c/play/ChunkBiomeDataS2CPacket;create(Ljava/util/List;)Lnet/minecraft/network/packet/s2c/play/ChunkBiomeDataS2CPacket;
-
write
- Specified by:
writein interfacePacket<ClientPlayPacketListener>- Mappings:
Namespace Name Mixin selector official aLuo;a(Lsf;)Vintermediary method_11052Lnet/minecraft/class_2596;method_11052(Lnet/minecraft/class_2540;)Vnamed writeLnet/minecraft/network/packet/Packet;write(Lnet/minecraft/network/PacketByteBuf;)V
-
apply
- Specified by:
applyin interfacePacket<ClientPlayPacketListener>- Mappings:
Namespace Name Mixin selector official aLvf;a(Lur;)Vintermediary method_49687Lnet/minecraft/class_8212;method_49687(Lnet/minecraft/class_2602;)Vnamed applyLnet/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 thechunkBiomeDatarecord component.- Returns:
- the value of the
chunkBiomeDatarecord component
-