public class BooleanMetadataType extends MetadataType<Boolean>
| Modifier and Type | Class and Description |
|---|---|
static interface |
BooleanMetadataType.BooleanEntityMetadataFactory |
static interface |
BooleanMetadataType.BooleanReader |
static interface |
BooleanMetadataType.BooleanWriter |
MetadataType.EntityMetadataFactory<V>, MetadataType.Reader<V>, MetadataType.Writer<V>BLOCK_STATE, BOOLEAN, BYTE, CHAT, DIRECTION, FLOAT, INT, ITEM, NBT_TAG, OPTIONAL_CHAT, OPTIONAL_POSITION, OPTIONAL_UUID, OPTIONAL_VARINT, PARTICLE, POSE, POSITION, ROTATION, STRING, VILLAGER_DATA| Modifier and Type | Method and Description |
|---|---|
EntityMetadata<Boolean,BooleanMetadataType> |
readMetadata(com.github.steveice10.packetlib.io.NetInput input,
int id) |
void |
writeMetadataPrimitive(com.github.steveice10.packetlib.io.NetOutput output,
boolean value) |
read, write, writeMetadatapublic EntityMetadata<Boolean,BooleanMetadataType> readMetadata(com.github.steveice10.packetlib.io.NetInput input, int id) throws IOException
readMetadata in class MetadataType<Boolean>IOExceptionpublic void writeMetadataPrimitive(com.github.steveice10.packetlib.io.NetOutput output,
boolean value)
throws IOException
IOExceptionCopyright © 2021. All rights reserved.