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