Package cn.nukkit.network.protocol
Class UpdateSubChunkBlocksPacket
java.lang.Object
cn.nukkit.utils.BinaryStream
cn.nukkit.network.protocol.DataPacket
cn.nukkit.network.protocol.UpdateSubChunkBlocksPacket
- All Implemented Interfaces:
Cloneable
@PowerNukkitXOnly
@Since("1.6.0.0-PNX")
public final class UpdateSubChunkBlocksPacket
extends DataPacket
-
Field Summary
Modifier and TypeFieldDescriptionfinal int
final int
final int
final List<BlockChangeEntry>
final List<BlockChangeEntry>
Fields inherited from class cn.nukkit.network.protocol.DataPacket
EMPTY_ARRAY, isEncoded, reliability
Fields inherited from class cn.nukkit.utils.BinaryStream
offset
-
Constructor Summary
-
Method Summary
Methods inherited from class cn.nukkit.network.protocol.DataPacket
clean, clone, compress, compress, getChannel, reset, setChannel, tryEncode
Methods inherited from class cn.nukkit.utils.BinaryStream
feof, get, get, getArray, getAttributeList, getBlockFace, getBlockVector3, getBoolean, getBuffer, getByte, getByteArray, getCount, getEntityLink, getEntityRuntimeId, getEntityUniqueId, getFloat, getFloat, getImage, getInt, getLFloat, getLFloat, getLInt, getLLong, getLong, getLShort, getLTriad, getOffset, getRecipeIngredient, getShort, getSignedBlockPosition, getSkin, getSlot, getString, getTag, getTriad, getUnsignedVarInt, getUnsignedVarLong, getUUID, getVarInt, getVarLong, getVector3f, put, putArray, putArray, putAttributeList, putBlockFace, putBlockVector3, putBlockVector3, putBoolean, putByte, putByteArray, putEntityLink, putEntityRuntimeId, putEntityUniqueId, putFloat, putGameRules, putImage, putInt, putLFloat, putLInt, putLLong, putLong, putLShort, putLTriad, putRecipeIngredient, putShort, putSignedBlockPosition, putSkin, putSlot, putSlot, putString, putTag, putTriad, putUnsignedVarInt, putUnsignedVarLong, putUUID, putVarInt, putVarLong, putVector3f, putVector3f, setBuffer, setBuffer, setOffset
-
Field Details
-
chunkX
public final int chunkX -
chunkY
public final int chunkY -
chunkZ
public final int chunkZ -
standardBlocks
-
extraBlocks
-
-
Constructor Details
-
UpdateSubChunkBlocksPacket
public UpdateSubChunkBlocksPacket(int chunkX, int chunkY, int chunkZ)
-
-
Method Details
-
pid
public byte pid()- Specified by:
pid
in classDataPacket
-
decode
public void decode()- Specified by:
decode
in classDataPacket
-
encode
public void encode()- Specified by:
encode
in classDataPacket
-
getChunkX
public int getChunkX() -
getChunkY
public int getChunkY() -
getChunkZ
public int getChunkZ() -
getStandardBlocks
-
getExtraBlocks
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-