public class MovePlayerPacket extends BedrockPacket
| Modifier and Type | Class and Description |
|---|---|
static class |
MovePlayerPacket.Mode |
static class |
MovePlayerPacket.TeleportationCause |
| Constructor and Description |
|---|
MovePlayerPacket() |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
int |
getEntityType() |
MovePlayerPacket.Mode |
getMode() |
com.flowpowered.math.vector.Vector3f |
getPosition() |
long |
getRidingRuntimeEntityId() |
com.flowpowered.math.vector.Vector3f |
getRotation() |
long |
getRuntimeEntityId() |
MovePlayerPacket.TeleportationCause |
getTeleportationCause() |
boolean |
handle(BedrockPacketHandler handler) |
int |
hashCode() |
boolean |
isOnGround() |
void |
setEntityType(int entityType) |
void |
setMode(MovePlayerPacket.Mode mode) |
void |
setOnGround(boolean onGround) |
void |
setPosition(com.flowpowered.math.vector.Vector3f position) |
void |
setRidingRuntimeEntityId(long ridingRuntimeEntityId) |
void |
setRotation(com.flowpowered.math.vector.Vector3f rotation) |
void |
setRuntimeEntityId(long runtimeEntityId) |
void |
setTeleportationCause(MovePlayerPacket.TeleportationCause teleportationCause) |
String |
toString() |
getHeader, setHeaderpublic final boolean handle(BedrockPacketHandler handler)
handle in class BedrockPacketpublic long getRuntimeEntityId()
public com.flowpowered.math.vector.Vector3f getPosition()
public com.flowpowered.math.vector.Vector3f getRotation()
public MovePlayerPacket.Mode getMode()
public boolean isOnGround()
public long getRidingRuntimeEntityId()
public MovePlayerPacket.TeleportationCause getTeleportationCause()
public int getEntityType()
public void setRuntimeEntityId(long runtimeEntityId)
public void setPosition(com.flowpowered.math.vector.Vector3f position)
public void setRotation(com.flowpowered.math.vector.Vector3f rotation)
public void setMode(MovePlayerPacket.Mode mode)
public void setOnGround(boolean onGround)
public void setRidingRuntimeEntityId(long ridingRuntimeEntityId)
public void setTeleportationCause(MovePlayerPacket.TeleportationCause teleportationCause)
public void setEntityType(int entityType)
protected boolean canEqual(Object other)
Copyright © 2018–2019 NukkitX. All rights reserved.