public class IntMetadataType extends MetadataType<Integer>
| Modifier and Type | Class and Description |
|---|---|
static interface |
IntMetadataType.IntEntityMetadataFactory |
static interface |
IntMetadataType.IntReader |
static interface |
IntMetadataType.IntWriter |
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<Integer,IntMetadataType> |
readMetadata(com.github.steveice10.packetlib.io.NetInput input,
int id) |
void |
writeMetadataPrimitive(com.github.steveice10.packetlib.io.NetOutput output,
int value) |
read, write, writeMetadatapublic EntityMetadata<Integer,IntMetadataType> readMetadata(com.github.steveice10.packetlib.io.NetInput input, int id) throws IOException
readMetadata in class MetadataType<Integer>IOExceptionpublic void writeMetadataPrimitive(com.github.steveice10.packetlib.io.NetOutput output,
int value)
throws IOException
IOExceptionCopyright © 2022. All rights reserved.