public class NPacketPlayInBlockDig extends Object implements NPacketPlayIn, LocatedPacket
Modifier and Type | Class and Description |
---|---|
static class |
NPacketPlayInBlockDig.DigAction |
Modifier and Type | Field and Description |
---|---|
NPacketPlayInBlockDig.DigAction |
action |
BlockFace |
face |
BlockPosition |
pos |
Constructor and Description |
---|
NPacketPlayInBlockDig() |
Modifier and Type | Method and Description |
---|---|
PacketType |
getPacketType()
Get type of packet
|
double |
getX() |
double |
getY() |
double |
getZ() |
void |
read(PacketSerializer serializer,
Version version)
Read packet from given serializer.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
create, getPacketName, write
getBlock, getBlockX, getBlockY, getBlockZ, getLocation, hasLocation
public NPacketPlayInBlockDig.DigAction action
public BlockPosition pos
public BlockFace face
public void read(PacketSerializer serializer, Version version)
NPacket
public double getX()
getX
in interface LocatedPacket
public double getY()
getY
in interface LocatedPacket
public double getZ()
getZ
in interface LocatedPacket
public PacketType getPacketType()
NPacket
getPacketType
in interface NPacket