Package net.md_5.bungee.protocol.packet
Class EntityStatus
java.lang.Object
net.md_5.bungee.protocol.DefinedPacket
net.md_5.bungee.protocol.packet.EntityStatus
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final bytestatic final byte -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanintbytevoidhandle(AbstractPacketHandler handler) inthashCode()voidread(io.netty.buffer.ByteBuf buf) voidsetEntityId(int entityId) voidsetStatus(byte status) toString()voidwrite(io.netty.buffer.ByteBuf buf) Methods inherited from class net.md_5.bungee.protocol.DefinedPacket
nextProtocol, read, read, readArray, readArray, readBaseComponent, readBaseComponent, readComponentStyle, readEitherBaseComponent, readEnumSet, readFixedBitSet, readLengthPrefixed, readNullable, readNumberFormat, readProperties, readPublicKey, readString, readString, readStringArray, readStringMapKey, readTag, readTag, readUUID, readVarInt, readVarInt, readVarIntArray, readVarShort, setVarInt, toArray, write, write, writeArray, writeBaseComponent, writeComponentStyle, writeEitherBaseComponent, writeEnumSet, writeFixedBitSet, writeLengthPrefixed, writeNullable, writeNumberFormat, writeProperties, writePublicKey, writeString, writeString, writeStringArray, writeTag, writeUUID, writeVarInt, writeVarShort
-
Field Details
-
DEBUG_INFO_REDUCED
public static final byte DEBUG_INFO_REDUCED- See Also:
-
DEBUG_INFO_NORMAL
public static final byte DEBUG_INFO_NORMAL- See Also:
-
-
Constructor Details
-
EntityStatus
public EntityStatus() -
EntityStatus
public EntityStatus(int entityId, byte status)
-
-
Method Details
-
read
public void read(io.netty.buffer.ByteBuf buf) - Overrides:
readin classDefinedPacket
-
write
public void write(io.netty.buffer.ByteBuf buf) - Overrides:
writein classDefinedPacket
-
handle
- Specified by:
handlein classDefinedPacket- Throws:
Exception
-
getEntityId
public int getEntityId() -
getStatus
public byte getStatus() -
setEntityId
public void setEntityId(int entityId) -
setStatus
public void setStatus(byte status) -
toString
- Specified by:
toStringin classDefinedPacket
-
equals
- Specified by:
equalsin classDefinedPacket
-
canEqual
-
hashCode
public int hashCode()- Specified by:
hashCodein classDefinedPacket
-