public class NPacketPlayInBlockPlace extends Object implements NPacketPlayIn, LocatedPacket
| Modifier and Type | Field and Description |
|---|---|
float |
cursorX |
float |
cursorY |
float |
cursorZ |
BlockFace |
face |
Hand |
hand |
boolean |
insideBlock |
BlockPosition |
pos |
| Constructor and Description |
|---|
NPacketPlayInBlockPlace() |
| 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, waitcreate, getPacketName, writegetBlock, getBlockX, getBlockY, getBlockZ, getLocation, hasLocationpublic Hand hand
public BlockFace face
public BlockPosition pos
public boolean insideBlock
public float cursorX
public float cursorY
public float cursorZ
public void read(PacketSerializer serializer, Version version)
NPacketpublic double getX()
getX in interface LocatedPacketpublic double getY()
getY in interface LocatedPacketpublic double getZ()
getZ in interface LocatedPacketpublic PacketType getPacketType()
NPacketgetPacketType in interface NPacket