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
|
toNMS
public 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()
WrappedPacket
getVanillaPacket
in class WrappedPacket
public void loadVanillaPacket(java.lang.Object packet)
WrappedPacket
loadVanillaPacket
in class WrappedPacket
packet
- - The loadable packet