public class PlayerInputPacket extends BedrockPacket
| Constructor and Description |
|---|
PlayerInputPacket() |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
com.nukkitx.math.vector.Vector2f |
getInputMotion() |
boolean |
handle(BedrockPacketHandler handler) |
int |
hashCode() |
boolean |
isJumping() |
boolean |
isSneaking() |
void |
setInputMotion(com.nukkitx.math.vector.Vector2f inputMotion) |
void |
setJumping(boolean jumping) |
void |
setSneaking(boolean sneaking) |
String |
toString() |
getHeader, setHeaderpublic final boolean handle(BedrockPacketHandler handler)
handle in class BedrockPacketpublic com.nukkitx.math.vector.Vector2f getInputMotion()
public boolean isJumping()
public boolean isSneaking()
public void setInputMotion(com.nukkitx.math.vector.Vector2f inputMotion)
public void setJumping(boolean jumping)
public void setSneaking(boolean sneaking)
protected boolean canEqual(Object other)
Copyright © 2018–2019 NukkitX. All rights reserved.