public class ClientPlayerPlaceBlockPacket extends MinecraftPacket
| Constructor and Description |
|---|
ClientPlayerPlaceBlockPacket(Position position,
BlockFace face,
Hand hand,
float cursorX,
float cursorY,
float cursorZ) |
| Modifier and Type | Method and Description |
|---|---|
float |
getCursorX() |
float |
getCursorY() |
float |
getCursorZ() |
BlockFace |
getFace() |
Hand |
getHand() |
Position |
getPosition() |
void |
read(com.github.steveice10.packetlib.io.NetInput in) |
void |
write(com.github.steveice10.packetlib.io.NetOutput out) |
isPriority, toStringpublic Position getPosition()
public BlockFace getFace()
public Hand getHand()
public float getCursorX()
public float getCursorY()
public float getCursorZ()
public void read(com.github.steveice10.packetlib.io.NetInput in)
throws IOException
IOExceptionpublic void write(com.github.steveice10.packetlib.io.NetOutput out)
throws IOException
IOExceptionCopyright © 2020. All rights reserved.