public class NPacketPlayInBlockPlace extends Object implements NPacketPlayIn, LocatedPacket
Modifier and Type | Field and Description |
---|---|
BlockFace |
direction |
Hand |
hand |
int |
x |
int |
y |
int |
z |
Constructor and Description |
---|
NPacketPlayInBlockPlace() |
NPacketPlayInBlockPlace(Hand hand,
int x,
int y,
int z,
BlockFace dir) |
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 Hand hand
public BlockFace direction
public int x
public int y
public int z
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