public class PlayerActionPacket extends BedrockPacket
| Modifier and Type | Class and Description |
|---|---|
static class |
PlayerActionPacket.Action |
| Constructor and Description |
|---|
PlayerActionPacket() |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
PlayerActionPacket.Action |
getAction() |
com.flowpowered.math.vector.Vector3i |
getBlockPosition() |
int |
getFace() |
long |
getRuntimeEntityId() |
boolean |
handle(BedrockPacketHandler handler) |
int |
hashCode() |
void |
setAction(PlayerActionPacket.Action action) |
void |
setBlockPosition(com.flowpowered.math.vector.Vector3i blockPosition) |
void |
setFace(int face) |
void |
setRuntimeEntityId(long runtimeEntityId) |
String |
toString() |
getHeader, setHeaderpublic final boolean handle(BedrockPacketHandler handler)
handle in class BedrockPacketpublic long getRuntimeEntityId()
public PlayerActionPacket.Action getAction()
public com.flowpowered.math.vector.Vector3i getBlockPosition()
public int getFace()
public void setRuntimeEntityId(long runtimeEntityId)
public void setAction(PlayerActionPacket.Action action)
public void setBlockPosition(com.flowpowered.math.vector.Vector3i blockPosition)
public void setFace(int face)
protected boolean canEqual(Object other)
Copyright © 2018–2019 NukkitX. All rights reserved.