public class NPacketPlayInBlockDig extends Object implements NPacketPlayIn, LocatedPacket
| Modifier and Type | Class and Description |
|---|---|
static class |
NPacketPlayInBlockDig.DigAction |
static class |
NPacketPlayInBlockDig.DigFace |
| Modifier and Type | Field and Description |
|---|---|
NPacketPlayInBlockDig.DigAction |
action |
NPacketPlayInBlockDig.DigFace |
face |
int |
x |
int |
y |
int |
z |
| Constructor and Description |
|---|
NPacketPlayInBlockDig() |
NPacketPlayInBlockDig(int x,
int y,
int z,
NPacketPlayInBlockDig.DigAction action,
NPacketPlayInBlockDig.DigFace face) |
| Modifier and Type | Method and Description |
|---|---|
PacketType |
getPacketType() |
double |
getX() |
double |
getY() |
double |
getZ() |
boolean |
hasLocation()
Check if this packet has valid location
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetBlock, getBlockX, getBlockY, getBlockZ, getLocationpublic int x
public int y
public int z
public NPacketPlayInBlockDig.DigFace face
public NPacketPlayInBlockDig.DigAction action
public NPacketPlayInBlockDig()
public NPacketPlayInBlockDig(int x,
int y,
int z,
NPacketPlayInBlockDig.DigAction action,
NPacketPlayInBlockDig.DigFace face)
public boolean hasLocation()
LocatedPackethasLocation in interface LocatedPacketpublic double getX()
getX in interface LocatedPacketpublic double getY()
getY in interface LocatedPacketpublic double getZ()
getZ in interface LocatedPacketpublic PacketType getPacketType()
getPacketType in interface NPacket