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 |
int |
x |
int |
y |
int |
z |
Constructor and Description |
---|
NPacketPlayInBlockDig() |
NPacketPlayInBlockDig(int x,
int y,
int z,
NPacketPlayInBlockDig.DigAction action,
BlockFace face) |
Modifier and Type | Method and Description |
---|---|
PacketType |
getPacketType() |
double |
getX() |
double |
getY() |
double |
getZ() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getBlock, getBlockX, getBlockY, getBlockZ, getLocation, hasLocation
public int x
public int y
public int z
public BlockFace face
public NPacketPlayInBlockDig.DigAction action
public NPacketPlayInBlockDig()
public NPacketPlayInBlockDig(int x, int y, int z, NPacketPlayInBlockDig.DigAction action, BlockFace face)
public double getX()
getX
in interface LocatedPacket
public double getY()
getY
in interface LocatedPacket
public double getZ()
getZ
in interface LocatedPacket
public PacketType getPacketType()
getPacketType
in interface NPacket