public class UpdatePlayerGameTypePacket extends java.lang.Object implements BedrockPacket
| Constructor and Description |
|---|
UpdatePlayerGameTypePacket() |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
canEqual(java.lang.Object other) |
boolean |
equals(java.lang.Object o) |
long |
getEntityId() |
GameType |
getGameType() |
BedrockPacketType |
getPacketType() |
org.cloudburstmc.protocol.common.PacketSignal |
handle(BedrockPacketHandler handler) |
int |
hashCode() |
void |
setEntityId(long entityId) |
void |
setGameType(GameType gameType) |
java.lang.String |
toString() |
public org.cloudburstmc.protocol.common.PacketSignal handle(BedrockPacketHandler handler)
handle in interface BedrockPacketpublic BedrockPacketType getPacketType()
getPacketType in interface BedrockPacketpublic GameType getGameType()
public long getEntityId()
public void setGameType(GameType gameType)
public void setEntityId(long entityId)
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