public class ByteEntityMetadata extends EntityMetadata<Byte,ByteMetadataType>
| Constructor and Description |
|---|
ByteEntityMetadata(int id,
@NonNull ByteMetadataType type,
byte value) |
| Modifier and Type | Method and Description |
|---|---|
byte |
getPrimitiveValue() |
Byte |
getValue()
Deprecated.
|
void |
write(MinecraftCodecHelper helper,
io.netty.buffer.ByteBuf out)
Overridden for primitive classes.
|
equals, hashCode, toStringpublic ByteEntityMetadata(int id,
@NonNull
@NonNull ByteMetadataType type,
byte value)
public byte getPrimitiveValue()
@Deprecated public Byte getValue()
EntityMetadatagetValue in class EntityMetadata<Byte,ByteMetadataType>public void write(MinecraftCodecHelper helper, io.netty.buffer.ByteBuf out) throws IOException
EntityMetadataObjectEntityMetadata.write in class EntityMetadata<Byte,ByteMetadataType>IOExceptionCopyright © 2022. All rights reserved.