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