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