public class EntityStatus extends DefinedPacket
| Modifier and Type | Field and Description |
|---|---|
static byte |
DEBUG_INFO_NORMAL |
static byte |
DEBUG_INFO_REDUCED |
| Constructor and Description |
|---|
EntityStatus() |
EntityStatus(int entityId,
byte status) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
int |
getEntityId() |
byte |
getStatus() |
void |
handle(AbstractPacketHandler handler) |
int |
hashCode() |
void |
read(io.netty.buffer.ByteBuf buf) |
void |
setEntityId(int entityId) |
void |
setStatus(byte status) |
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 byte DEBUG_INFO_REDUCED
public static final byte DEBUG_INFO_NORMAL
public EntityStatus()
public EntityStatus(int entityId,
byte status)
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 int getEntityId()
public byte getStatus()
public void setEntityId(int entityId)
public void setStatus(byte status)
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.