public class PacketPlayInBlockDig extends WrappedPacket
| Modifier and Type | Class and Description |
|---|---|
static class |
PacketPlayInBlockDig.DigType |
| Modifier and Type | Field and Description |
|---|---|
BlockLocation |
block |
PacketPlayInBlockDig.DigType |
digType |
Direction |
direction |
| Constructor and Description |
|---|
PacketPlayInBlockDig() |
| 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 BlockLocation block
public PacketPlayInBlockDig.DigType digType
public Direction direction
public java.lang.Object getVanillaPacket()
WrappedPacketgetVanillaPacket in class WrappedPacketpublic void loadVanillaPacket(java.lang.Object packet)
WrappedPacketloadVanillaPacket in class WrappedPacketpacket - - The loadable packet