public class ProfileKeyType extends Type<ProfileKey>
Modifier and Type | Class and Description |
---|---|
static class |
ProfileKeyType.OptionalProfileKeyType |
BLOCK_CHANGE_RECORD, BLOCK_CHANGE_RECORD_ARRAY, BOOLEAN, BOOLEAN_ARRAY, BYTE, BYTE_ARRAY, BYTE_ARRAY_PRIMITIVE, CHUNK_POSITION, COMPONENT, DOUBLE, DOUBLE_ARRAY, FLAT_ITEM, FLAT_ITEM_ARRAY, FLAT_ITEM_ARRAY_VAR_INT, FLAT_VAR_INT_ITEM, FLAT_VAR_INT_ITEM_ARRAY, FLAT_VAR_INT_ITEM_ARRAY_VAR_INT, FLOAT, FLOAT_ARRAY, GLOBAL_POSITION, INT, INT_ARRAY, ITEM, ITEM_ARRAY, ITEM1_20_2, ITEM1_20_2_VAR_INT_ARRAY, LONG, LONG_ARRAY, LONG_ARRAY_PRIMITIVE, NAMELESS_NBT, NBT, NBT_ARRAY, NOTHING, OPTIONAL_BYTE_ARRAY_PRIMITIVE, OPTIONAL_COMPONENT, OPTIONAL_FLOAT, OPTIONAL_GLOBAL_POSITION, OPTIONAL_PLAYER_MESSAGE_SIGNATURE, OPTIONAL_POSITION, OPTIONAL_POSITION_1_14, OPTIONAL_PROFILE_KEY, OPTIONAL_STRING, OPTIONAL_UUID, OPTIONAL_VAR_INT, PLAYER_MESSAGE_SIGNATURE, PLAYER_MESSAGE_SIGNATURE_ARRAY, POSITION, POSITION1_14, PROFILE_KEY, QUATERNION, REMAINING_BYTES, ROTATION, SHORT, SHORT_ARRAY, SHORT_BYTE_ARRAY, STRING, STRING_ARRAY, UNSIGNED_BYTE, UNSIGNED_BYTE_ARRAY, UNSIGNED_SHORT, UNSIGNED_SHORT_ARRAY, UUID, UUID_ARRAY, UUID_INT_ARRAY, VAR_INT, VAR_INT_ARRAY, VAR_INT_ARRAY_PRIMITIVE, VAR_LONG, VAR_LONG_ARRAY, VAR_LONG_BLOCK_CHANGE_RECORD, VAR_LONG_BLOCK_CHANGE_RECORD_ARRAY, VECTOR, VECTOR3F, VILLAGER_DATA
Constructor and Description |
---|
ProfileKeyType() |
Modifier and Type | Method and Description |
---|---|
ProfileKey |
read(io.netty.buffer.ByteBuf buffer)
Reads a value from a ByteBuf.
|
void |
write(io.netty.buffer.ByteBuf buffer,
ProfileKey object)
Writes an object to a type to a ByteBuf.
|
getBaseClass, getOutputClass, getTypeName, toString
public ProfileKey read(io.netty.buffer.ByteBuf buffer) throws java.lang.Exception
ByteBufReader
buffer
- buffer to read fromjava.lang.Exception
- if it failed readingpublic void write(io.netty.buffer.ByteBuf buffer, ProfileKey object) throws java.lang.Exception
ByteBufWriter
buffer
- buffer to write toobject
- value to writejava.lang.Exception
- if it failed to write