public class RequestAbilityPacket extends java.lang.Object implements BedrockPacket
| Constructor and Description |
|---|
RequestAbilityPacket() |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
canEqual(java.lang.Object other) |
RequestAbilityPacket |
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) |
Ability |
getAbility() |
float |
getFloatValue() |
BedrockPacketType |
getPacketType() |
Ability.Type |
getType() |
org.cloudburstmc.protocol.common.PacketSignal |
handle(BedrockPacketHandler handler) |
int |
hashCode() |
boolean |
isBoolValue() |
void |
setAbility(Ability ability) |
void |
setBoolValue(boolean boolValue) |
void |
setFloatValue(float floatValue) |
void |
setType(Ability.Type type) |
java.lang.String |
toString() |
public org.cloudburstmc.protocol.common.PacketSignal handle(BedrockPacketHandler handler)
handle in interface BedrockPacketpublic BedrockPacketType getPacketType()
getPacketType in interface BedrockPacketpublic RequestAbilityPacket clone()
BedrockPacketUnsupportedOperationException if the packet implements ReferenceCountedclone in interface BedrockPacketclone in class java.lang.Objectpublic Ability getAbility()
public Ability.Type getType()
public boolean isBoolValue()
public float getFloatValue()
public void setAbility(Ability ability)
public void setType(Ability.Type type)
public void setBoolValue(boolean boolValue)
public void setFloatValue(float floatValue)
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