public class SetEntityMotionPacket extends java.lang.Object implements BedrockPacket
| Constructor and Description |
|---|
SetEntityMotionPacket() |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
canEqual(java.lang.Object other) |
SetEntityMotionPacket |
clone()
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) |
org.cloudburstmc.math.vector.Vector3f |
getMotion() |
BedrockPacketType |
getPacketType() |
long |
getRuntimeEntityId() |
long |
getTick() |
org.cloudburstmc.protocol.common.PacketSignal |
handle(BedrockPacketHandler handler) |
int |
hashCode() |
void |
setMotion(org.cloudburstmc.math.vector.Vector3f motion) |
void |
setRuntimeEntityId(long runtimeEntityId) |
void |
setTick(long tick) |
java.lang.String |
toString() |
public final org.cloudburstmc.protocol.common.PacketSignal handle(BedrockPacketHandler handler)
handle in interface BedrockPacketpublic BedrockPacketType getPacketType()
getPacketType in interface BedrockPacketpublic SetEntityMotionPacket clone()
BedrockPacketUnsupportedOperationException if the packet implements ReferenceCountedclone in interface BedrockPacketclone in class java.lang.Objectpublic long getRuntimeEntityId()
public org.cloudburstmc.math.vector.Vector3f getMotion()
public long getTick()
public void setRuntimeEntityId(long runtimeEntityId)
public void setMotion(org.cloudburstmc.math.vector.Vector3f motion)
public void setTick(long tick)
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