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