Record Class ChunkBiomeDataS2CPacket.Serialized
java.lang.Object
java.lang.Record
net.minecraft.network.packet.s2c.play.ChunkBiomeDataS2CPacket.Serialized
- Record Components:
pos-buffer-
- Enclosing class:
ChunkBiomeDataS2CPacket
- Mappings:
Namespace Name official vf$aintermediary net/minecraft/class_8212$class_8213named net/minecraft/network/packet/s2c/play/ChunkBiomeDataS2CPacket$Serializedofficial aintermediary comp_1314named posofficial bintermediary comp_1315named buffer
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionSerialized(PacketByteBuf buf) Serialized(ChunkPos chunkPos, byte[] byte2) Serialized(WorldChunk chunk) -
Method Summary
Modifier and TypeMethodDescriptionbyte[]buffer()Returns the value of thebufferrecord component.final booleanIndicates whether some other object is "equal to" this one.private static intgetTotalPacketSize(WorldChunk chunk) final inthashCode()Returns a hash code value for this object.pos()Returns the value of theposrecord component.final StringtoString()Returns a string representation of this record class.private ByteBufvoidwrite(PacketByteBuf buf) static voidwrite(PacketByteBuf buf, WorldChunk chunk)
-
Field Details
-
Constructor Details
-
Serialized
- Mappings:
Namespace Name Mixin selector official <init>Lvf$a;<init>(Ldef;)Vintermediary <init>Lnet/minecraft/class_8212$class_8213;<init>(Lnet/minecraft/class_2818;)Vnamed <init>Lnet/minecraft/network/packet/s2c/play/ChunkBiomeDataS2CPacket$Serialized;<init>(Lnet/minecraft/world/chunk/WorldChunk;)V
-
Serialized
- Mappings:
Namespace Name Mixin selector official <init>Lvf$a;<init>(Lsf;)Vintermediary <init>Lnet/minecraft/class_8212$class_8213;<init>(Lnet/minecraft/class_2540;)Vnamed <init>Lnet/minecraft/network/packet/s2c/play/ChunkBiomeDataS2CPacket$Serialized;<init>(Lnet/minecraft/network/PacketByteBuf;)V
-
Serialized
-
-
Method Details
-
getTotalPacketSize
- Mappings:
Namespace Name Mixin selector official aLvf$a;a(Ldef;)Iintermediary method_49689Lnet/minecraft/class_8212$class_8213;method_49689(Lnet/minecraft/class_2818;)Inamed getTotalPacketSizeLnet/minecraft/network/packet/s2c/play/ChunkBiomeDataS2CPacket$Serialized;getTotalPacketSize(Lnet/minecraft/world/chunk/WorldChunk;)I
-
toReadingBuf
- Mappings:
Namespace Name Mixin selector official aLvf$a;a()Lsf;intermediary method_49688Lnet/minecraft/class_8212$class_8213;method_49688()Lnet/minecraft/class_2540;named toReadingBufLnet/minecraft/network/packet/s2c/play/ChunkBiomeDataS2CPacket$Serialized;toReadingBuf()Lnet/minecraft/network/PacketByteBuf;
-
toWritingBuf
- Mappings:
Namespace Name Mixin selector official dLvf$a;d()Lio/netty/buffer/ByteBuf;intermediary method_49692Lnet/minecraft/class_8212$class_8213;method_49692()Lio/netty/buffer/ByteBuf;named toWritingBufLnet/minecraft/network/packet/s2c/play/ChunkBiomeDataS2CPacket$Serialized;toWritingBuf()Lio/netty/buffer/ByteBuf;
-
write
- Mappings:
Namespace Name Mixin selector official aLvf$a;a(Lsf;Ldef;)Vintermediary method_49691Lnet/minecraft/class_8212$class_8213;method_49691(Lnet/minecraft/class_2540;Lnet/minecraft/class_2818;)Vnamed writeLnet/minecraft/network/packet/s2c/play/ChunkBiomeDataS2CPacket$Serialized;write(Lnet/minecraft/network/PacketByteBuf;Lnet/minecraft/world/chunk/WorldChunk;)V
-
write
- Mappings:
Namespace Name Mixin selector official aLvf$a;a(Lsf;)Vintermediary method_49690Lnet/minecraft/class_8212$class_8213;method_49690(Lnet/minecraft/class_2540;)Vnamed writeLnet/minecraft/network/packet/s2c/play/ChunkBiomeDataS2CPacket$Serialized;write(Lnet/minecraft/network/PacketByteBuf;)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). -
pos
Returns the value of theposrecord component.- Returns:
- the value of the
posrecord component
-
buffer
public byte[] buffer()Returns the value of thebufferrecord component.- Returns:
- the value of the
bufferrecord component
-