public class AnimatePacket extends java.lang.Object implements BedrockPacket
| Modifier and Type | Class and Description |
|---|---|
static class |
AnimatePacket.Action |
static class |
AnimatePacket.SwingSource |
| Constructor and Description |
|---|
AnimatePacket() |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
canEqual(java.lang.Object other) |
AnimatePacket |
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) |
AnimatePacket.Action |
getAction() |
float |
getData() |
BedrockPacketType |
getPacketType() |
float |
getRowingTime()
Deprecated.
since v897
|
long |
getRuntimeEntityId() |
AnimatePacket.SwingSource |
getSwingSource() |
org.cloudburstmc.protocol.common.PacketSignal |
handle(BedrockPacketHandler handler) |
int |
hashCode() |
void |
setAction(AnimatePacket.Action action) |
void |
setData(float data) |
void |
setRowingTime(float rowingTime)
Deprecated.
since v897
|
void |
setRuntimeEntityId(long runtimeEntityId) |
void |
setSwingSource(AnimatePacket.SwingSource swingSource) |
java.lang.String |
toString() |
public final org.cloudburstmc.protocol.common.PacketSignal handle(BedrockPacketHandler handler)
handle in interface BedrockPacketpublic BedrockPacketType getPacketType()
getPacketType in interface BedrockPacketpublic AnimatePacket clone()
BedrockPacketUnsupportedOperationException if the packet implements ReferenceCountedclone in interface BedrockPacketclone in class java.lang.Object@Deprecated public float getRowingTime()
public AnimatePacket.Action getAction()
public long getRuntimeEntityId()
public float getData()
public AnimatePacket.SwingSource getSwingSource()
@Deprecated public void setRowingTime(float rowingTime)
public void setAction(AnimatePacket.Action action)
public void setRuntimeEntityId(long runtimeEntityId)
public void setData(float data)
public void setSwingSource(AnimatePacket.SwingSource swingSource)
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