public class GameState extends DefinedPacket
| Modifier and Type | Field and Description |
|---|---|
static short |
IMMEDIATE_RESPAWN |
| Constructor and Description |
|---|
GameState() |
GameState(short state,
float value) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
short |
getState() |
float |
getValue() |
void |
handle(AbstractPacketHandler handler) |
int |
hashCode() |
void |
read(io.netty.buffer.ByteBuf buf) |
void |
setState(short state) |
void |
setValue(float value) |
String |
toString() |
void |
write(io.netty.buffer.ByteBuf buf) |
read, readArray, readArray, readNBT, readString, readString, readStringArray, readUUID, readUUIDIntArray, readVarInt, readVarInt, readVarIntArray, readVarShort, toArray, write, writeArray, writeNBT, writeString, writeString, writeStringArray, writeUUID, writeUUIDIntArray, writeVarInt, writeVarShortpublic static final short IMMEDIATE_RESPAWN
public GameState()
public GameState(short state,
float value)
public void read(io.netty.buffer.ByteBuf buf)
read in class DefinedPacketpublic void write(io.netty.buffer.ByteBuf buf)
write in class DefinedPacketpublic void handle(AbstractPacketHandler handler) throws Exception
handle in class DefinedPacketExceptionpublic short getState()
public float getValue()
public void setState(short state)
public void setValue(float value)
public String toString()
toString in class DefinedPacketpublic boolean equals(Object o)
equals in class DefinedPacketprotected boolean canEqual(Object other)
public int hashCode()
hashCode in class DefinedPacketCopyright © 2015–2020 WaterfallMC. All rights reserved.