public class SPacketMultiBlockChange extends java.lang.Object implements Packet<INetHandlerPlayClient>
Modifier and Type | Class and Description |
---|---|
class |
SPacketMultiBlockChange.BlockUpdateData |
Modifier and Type | Field and Description |
---|---|
private SPacketMultiBlockChange.BlockUpdateData[] |
changedBlocks |
private ChunkPos |
chunkPos |
Constructor and Description |
---|
SPacketMultiBlockChange() |
SPacketMultiBlockChange(int p_i46959_1_,
short[] p_i46959_2_,
Chunk p_i46959_3_) |
Modifier and Type | Method and Description |
---|---|
SPacketMultiBlockChange.BlockUpdateData[] |
getChangedBlocks() |
void |
processPacket(INetHandlerPlayClient handler) |
void |
readPacketData(PacketBuffer buf) |
void |
writePacketData(PacketBuffer buf) |
private ChunkPos chunkPos
private SPacketMultiBlockChange.BlockUpdateData[] changedBlocks
public SPacketMultiBlockChange()
public SPacketMultiBlockChange(int p_i46959_1_, short[] p_i46959_2_, Chunk p_i46959_3_)
public void readPacketData(PacketBuffer buf) throws java.io.IOException
readPacketData
in interface Packet<INetHandlerPlayClient>
java.io.IOException
public void writePacketData(PacketBuffer buf) throws java.io.IOException
writePacketData
in interface Packet<INetHandlerPlayClient>
java.io.IOException
public void processPacket(INetHandlerPlayClient handler)
processPacket
in interface Packet<INetHandlerPlayClient>
public SPacketMultiBlockChange.BlockUpdateData[] getChangedBlocks()