PlayerAuthInputPacketpublic class PlayerInputPacket extends java.lang.Object implements BedrockPacket
| Constructor and Description |
|---|
PlayerInputPacket()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
canEqual(java.lang.Object other)
Deprecated.
|
PlayerInputPacket |
clone()
Deprecated.
Creates a new instance of this packet using Object.clone()
Will throw a
UnsupportedOperationException if the packet implements ReferenceCounted |
boolean |
equals(java.lang.Object o)
Deprecated.
|
org.cloudburstmc.math.vector.Vector2f |
getInputMotion()
Deprecated.
|
BedrockPacketType |
getPacketType()
Deprecated.
|
org.cloudburstmc.protocol.common.PacketSignal |
handle(BedrockPacketHandler handler)
Deprecated.
|
int |
hashCode()
Deprecated.
|
boolean |
isJumping()
Deprecated.
|
boolean |
isSneaking()
Deprecated.
|
void |
setInputMotion(org.cloudburstmc.math.vector.Vector2f inputMotion)
Deprecated.
|
void |
setJumping(boolean jumping)
Deprecated.
|
void |
setSneaking(boolean sneaking)
Deprecated.
|
java.lang.String |
toString()
Deprecated.
|
public final org.cloudburstmc.protocol.common.PacketSignal handle(BedrockPacketHandler handler)
handle in interface BedrockPacketpublic BedrockPacketType getPacketType()
getPacketType in interface BedrockPacketpublic PlayerInputPacket clone()
BedrockPacketUnsupportedOperationException if the packet implements ReferenceCountedclone in interface BedrockPacketclone in class java.lang.Objectpublic org.cloudburstmc.math.vector.Vector2f getInputMotion()
public boolean isJumping()
public boolean isSneaking()
public void setInputMotion(org.cloudburstmc.math.vector.Vector2f inputMotion)
public void setJumping(boolean jumping)
public void setSneaking(boolean sneaking)
public boolean equals(java.lang.Object o)
equals in class java.lang.Objectprotected boolean canEqual(java.lang.Object other)
public int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object