public class PacketPlayOutBlockAction extends WrappedPacket
| Modifier and Type | Field and Description |
|---|---|
int |
actionData |
int |
actionId |
int |
blockId |
BlockLocation |
loc |
| Constructor and Description |
|---|
PacketPlayOutBlockAction() |
PacketPlayOutBlockAction(BlockLocation loc,
int actionId,
int actionData,
int blockId) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
getVanillaPacket()
Converts this wrapped packet to a Vanilla/NMS packet
|
void |
loadVanillaPacket(java.lang.Object packet)
Loads a Vanilla/NMS packet to this wrapper
|
toNMSpublic int actionId
public int actionData
public int blockId
public BlockLocation loc
public PacketPlayOutBlockAction()
public PacketPlayOutBlockAction(BlockLocation loc, int actionId, int actionData, int blockId)
public java.lang.Object getVanillaPacket()
WrappedPacketgetVanillaPacket in class WrappedPacketpublic void loadVanillaPacket(java.lang.Object packet)
WrappedPacketloadVanillaPacket in class WrappedPacketpacket - - The loadable packet