public class LongMetadataType extends MetadataType<Long>
| Modifier and Type | Class and Description |
|---|---|
static interface |
LongMetadataType.LongEntityMetadataFactory |
static interface |
LongMetadataType.LongReader |
static interface |
LongMetadataType.LongWriter |
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, LONG, NBT_TAG, OPTIONAL_BLOCK_STATE, OPTIONAL_CHAT, OPTIONAL_GLOBAL_POS, OPTIONAL_POSITION, OPTIONAL_UUID, OPTIONAL_VARINT, PAINTING_VARIANT, PARTICLE, POSE, POSITION, QUATERNION, ROTATION, SNIFFER_STATE, STRING, VECTOR3, VILLAGER_DATA| Modifier and Type | Method and Description |
|---|---|
EntityMetadata<Long,LongMetadataType> |
readMetadata(MinecraftCodecHelper helper,
io.netty.buffer.ByteBuf input,
int id) |
void |
writeMetadataPrimitive(MinecraftCodecHelper helper,
io.netty.buffer.ByteBuf output,
long value) |
from, read, size, writeMetadatapublic EntityMetadata<Long,LongMetadataType> readMetadata(MinecraftCodecHelper helper, io.netty.buffer.ByteBuf input, int id) throws IOException
readMetadata in class MetadataType<Long>IOExceptionpublic void writeMetadataPrimitive(MinecraftCodecHelper helper, io.netty.buffer.ByteBuf output, long value) throws IOException
IOExceptionCopyright © 2023. All rights reserved.