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.BasicReader<V>, MetadataType.BasicWriter<V>, MetadataType.EntityMetadataFactory<V>, MetadataType.HelperReader<V>, MetadataType.HelperWriter<V>, MetadataType.Reader<V>, MetadataType.Writer<V>BLOCK_STATE, BOOLEAN, BYTE, CAT_VARIANT, CHAT, DIRECTION, FLOAT, FROG_VARIANT, INT, ITEM, NBT_TAG, OPTIONAL_CHAT, OPTIONAL_GLOBAL_POS, OPTIONAL_POSITION, OPTIONAL_UUID, OPTIONAL_VARINT, PAINTING_VARIANT, PARTICLE, POSE, POSITION, ROTATION, STRING, VILLAGER_DATA| Modifier and Type | Method and Description |
|---|---|
EntityMetadata<Integer,IntMetadataType> |
readMetadata(MinecraftCodecHelper helper,
io.netty.buffer.ByteBuf input,
int id) |
void |
writeMetadataPrimitive(MinecraftCodecHelper helper,
io.netty.buffer.ByteBuf output,
int value) |
from, read, size, writeMetadatapublic EntityMetadata<Integer,IntMetadataType> readMetadata(MinecraftCodecHelper helper, io.netty.buffer.ByteBuf input, int id) throws IOException
readMetadata in class MetadataType<Integer>IOExceptionpublic void writeMetadataPrimitive(MinecraftCodecHelper helper, io.netty.buffer.ByteBuf output, int value) throws IOException
IOExceptionCopyright © 2022. All rights reserved.