Class ChunkDataS2CPacket
java.lang.Object
net.minecraft.network.packet.s2c.play.ChunkDataS2CPacket
- All Implemented Interfaces:
Packet<ClientPlayPacketListener>
public class ChunkDataS2CPacket extends Object implements Packet<ClientPlayPacketListener>
- Mappings:
Namespace Name official ql
intermediary net/minecraft/class_2672
named net/minecraft/network/packet/s2c/play/ChunkDataS2CPacket
-
Field Summary
Fields Modifier and Type Field Description private int[]
biomeArray
private List<CompoundTag>
blockEntities
private int
chunkX
private int
chunkZ
private byte[]
data
private CompoundTag
heightmaps
private BitSet
verticalStripBitmask
-
Constructor Summary
Constructors Constructor Description ChunkDataS2CPacket()
ChunkDataS2CPacket(WorldChunk chunk)
-
Method Summary
Modifier and Type Method Description void
apply(ClientPlayPacketListener clientPlayPacketListener)
int[]
getBiomeArray()
List<CompoundTag>
getBlockEntityTagList()
protected int
getDataSize(WorldChunk chunk)
CompoundTag
getHeightmaps()
PacketByteBuf
getReadBuffer()
BitSet
getVerticalStripBitmask()
private ByteBuf
getWriteBuffer()
int
getX()
int
getZ()
void
read(PacketByteBuf buf)
void
write(PacketByteBuf buf)
BitSet
writeData(PacketByteBuf packetByteBuf, WorldChunk chunk)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.network.Packet
isWritingErrorSkippable
-
Field Details
-
chunkX
private int chunkX- Mappings:
Namespace Name Mixin selector official a
Lql;a:I
intermediary field_12236
Lnet/minecraft/class_2672;field_12236:I
named chunkX
Lnet/minecraft/network/packet/s2c/play/ChunkDataS2CPacket;chunkX:I
-
chunkZ
private int chunkZ- Mappings:
Namespace Name Mixin selector official b
Lql;b:I
intermediary field_12235
Lnet/minecraft/class_2672;field_12235:I
named chunkZ
Lnet/minecraft/network/packet/s2c/play/ChunkDataS2CPacket;chunkZ:I
-
verticalStripBitmask
- Mappings:
Namespace Name Mixin selector official c
Lql;c:Ljava/util/BitSet;
intermediary field_12234
Lnet/minecraft/class_2672;field_12234:Ljava/util/BitSet;
named verticalStripBitmask
Lnet/minecraft/network/packet/s2c/play/ChunkDataS2CPacket;verticalStripBitmask:Ljava/util/BitSet;
-
heightmaps
- Mappings:
Namespace Name Mixin selector official d
Lql;d:Lmq;
intermediary field_16416
Lnet/minecraft/class_2672;field_16416:Lnet/minecraft/class_2487;
named heightmaps
Lnet/minecraft/network/packet/s2c/play/ChunkDataS2CPacket;heightmaps:Lnet/minecraft/nbt/CompoundTag;
-
biomeArray
- Mappings:
Namespace Name Mixin selector official e
Lql;e:[I
intermediary field_20664
Lnet/minecraft/class_2672;field_20664:[I
named biomeArray
Lnet/minecraft/network/packet/s2c/play/ChunkDataS2CPacket;biomeArray:[I
-
data
private byte[] data- Mappings:
Namespace Name Mixin selector official f
Lql;f:[B
intermediary field_12237
Lnet/minecraft/class_2672;field_12237:[B
named data
Lnet/minecraft/network/packet/s2c/play/ChunkDataS2CPacket;data:[B
-
blockEntities
- Mappings:
Namespace Name Mixin selector official g
Lql;g:Ljava/util/List;
intermediary field_12238
Lnet/minecraft/class_2672;field_12238:Ljava/util/List;
named blockEntities
Lnet/minecraft/network/packet/s2c/play/ChunkDataS2CPacket;blockEntities:Ljava/util/List;
-
-
Constructor Details
-
ChunkDataS2CPacket
public ChunkDataS2CPacket() -
ChunkDataS2CPacket
- Mappings:
Namespace Name Mixin selector official <init>
Lql;<init>(Lcjw;)V
intermediary <init>
Lnet/minecraft/class_2672;<init>(Lnet/minecraft/class_2818;)V
named <init>
Lnet/minecraft/network/packet/s2c/play/ChunkDataS2CPacket;<init>(Lnet/minecraft/world/chunk/WorldChunk;)V
-
-
Method Details
-
read
- Specified by:
read
in interfacePacket<ClientPlayPacketListener>
- Throws:
IOException
- Mappings:
Namespace Name Mixin selector official a
Lpa;a(Lnw;)V
intermediary method_11053
Lnet/minecraft/class_2596;method_11053(Lnet/minecraft/class_2540;)V
named read
Lnet/minecraft/network/Packet;read(Lnet/minecraft/network/PacketByteBuf;)V
-
write
- Specified by:
write
in interfacePacket<ClientPlayPacketListener>
- Throws:
IOException
- Mappings:
Namespace Name Mixin selector official b
Lpa;b(Lnw;)V
intermediary method_11052
Lnet/minecraft/class_2596;method_11052(Lnet/minecraft/class_2540;)V
named write
Lnet/minecraft/network/Packet;write(Lnet/minecraft/network/PacketByteBuf;)V
-
apply
- Specified by:
apply
in interfacePacket<ClientPlayPacketListener>
- Mappings:
Namespace Name Mixin selector official a
Lql;a(Lpd;)V
intermediary method_11528
Lnet/minecraft/class_2672;method_11528(Lnet/minecraft/class_2602;)V
named apply
Lnet/minecraft/network/packet/s2c/play/ChunkDataS2CPacket;apply(Lnet/minecraft/network/listener/ClientPlayPacketListener;)V
-
getReadBuffer
- Mappings:
Namespace Name Mixin selector official b
Lql;b()Lnw;
intermediary method_11521
Lnet/minecraft/class_2672;method_11521()Lnet/minecraft/class_2540;
named getReadBuffer
Lnet/minecraft/network/packet/s2c/play/ChunkDataS2CPacket;getReadBuffer()Lnet/minecraft/network/PacketByteBuf;
-
getWriteBuffer
- Mappings:
Namespace Name Mixin selector official i
Lql;i()Lio/netty/buffer/ByteBuf;
intermediary method_11527
Lnet/minecraft/class_2672;method_11527()Lio/netty/buffer/ByteBuf;
named getWriteBuffer
Lnet/minecraft/network/packet/s2c/play/ChunkDataS2CPacket;getWriteBuffer()Lio/netty/buffer/ByteBuf;
-
writeData
- Mappings:
Namespace Name Mixin selector official a
Lql;a(Lnw;Lcjw;)Ljava/util/BitSet;
intermediary method_11529
Lnet/minecraft/class_2672;method_11529(Lnet/minecraft/class_2540;Lnet/minecraft/class_2818;)Ljava/util/BitSet;
named writeData
Lnet/minecraft/network/packet/s2c/play/ChunkDataS2CPacket;writeData(Lnet/minecraft/network/PacketByteBuf;Lnet/minecraft/world/chunk/WorldChunk;)Ljava/util/BitSet;
-
getDataSize
- Mappings:
Namespace Name Mixin selector official a
Lql;a(Lcjw;)I
intermediary method_11522
Lnet/minecraft/class_2672;method_11522(Lnet/minecraft/class_2818;)I
named getDataSize
Lnet/minecraft/network/packet/s2c/play/ChunkDataS2CPacket;getDataSize(Lnet/minecraft/world/chunk/WorldChunk;)I
-
getX
- Mappings:
Namespace Name Mixin selector official c
Lql;c()I
intermediary method_11523
Lnet/minecraft/class_2672;method_11523()I
named getX
Lnet/minecraft/network/packet/s2c/play/ChunkDataS2CPacket;getX()I
-
getZ
- Mappings:
Namespace Name Mixin selector official d
Lql;d()I
intermediary method_11524
Lnet/minecraft/class_2672;method_11524()I
named getZ
Lnet/minecraft/network/packet/s2c/play/ChunkDataS2CPacket;getZ()I
-
getVerticalStripBitmask
- Mappings:
Namespace Name Mixin selector official e
Lql;e()Ljava/util/BitSet;
intermediary method_11526
Lnet/minecraft/class_2672;method_11526()Ljava/util/BitSet;
named getVerticalStripBitmask
Lnet/minecraft/network/packet/s2c/play/ChunkDataS2CPacket;getVerticalStripBitmask()Ljava/util/BitSet;
-
getHeightmaps
- Mappings:
Namespace Name Mixin selector official f
Lql;f()Lmq;
intermediary method_16123
Lnet/minecraft/class_2672;method_16123()Lnet/minecraft/class_2487;
named getHeightmaps
Lnet/minecraft/network/packet/s2c/play/ChunkDataS2CPacket;getHeightmaps()Lnet/minecraft/nbt/CompoundTag;
-
getBlockEntityTagList
- Mappings:
Namespace Name Mixin selector official g
Lql;g()Ljava/util/List;
intermediary method_11525
Lnet/minecraft/class_2672;method_11525()Ljava/util/List;
named getBlockEntityTagList
Lnet/minecraft/network/packet/s2c/play/ChunkDataS2CPacket;getBlockEntityTagList()Ljava/util/List;
-
getBiomeArray
- Mappings:
Namespace Name Mixin selector official h
Lql;h()[I
intermediary method_22422
Lnet/minecraft/class_2672;method_22422()[I
named getBiomeArray
Lnet/minecraft/network/packet/s2c/play/ChunkDataS2CPacket;getBiomeArray()[I
-