public class ByteMetadataType extends MetadataType<Byte>
| Modifier and Type | Class and Description |
|---|---|
static interface |
ByteMetadataType.ByteEntityMetadataFactory |
static interface |
ByteMetadataType.ByteReader |
static interface |
ByteMetadataType.ByteWriter |
MetadataType.EntityMetadataFactory<V>, MetadataType.Reader<V>, MetadataType.Writer<V>BLOCK_STATE, BOOLEAN, BYTE, CHAT, DIRECTION, FLOAT, INT, ITEM, NBT_TAG, OPTIONAL_CHAT, OPTIONAL_POSITION, OPTIONAL_UUID, OPTIONAL_VARINT, PARTICLE, POSE, POSITION, ROTATION, STRING, VILLAGER_DATA| Modifier and Type | Method and Description |
|---|---|
EntityMetadata<Byte,ByteMetadataType> |
readMetadata(com.github.steveice10.packetlib.io.NetInput input,
int id) |
void |
writeMetadataPrimitive(com.github.steveice10.packetlib.io.NetOutput output,
byte value) |
read, write, writeMetadatapublic EntityMetadata<Byte,ByteMetadataType> readMetadata(com.github.steveice10.packetlib.io.NetInput input, int id) throws IOException
readMetadata in class MetadataType<Byte>IOExceptionpublic void writeMetadataPrimitive(com.github.steveice10.packetlib.io.NetOutput output,
byte value)
throws IOException
IOExceptionCopyright © 2022. All rights reserved.