Class BooleanMetadataType
java.lang.Object
com.github.steveice10.mc.protocol.data.game.entity.metadata.MetadataType<Boolean>
com.github.steveice10.mc.protocol.data.game.entity.metadata.BooleanMetadataType
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfacestatic interfacestatic interfaceNested classes/interfaces inherited from class com.github.steveice10.mc.protocol.data.game.entity.metadata.MetadataType
MetadataType.BasicReader<V>, MetadataType.BasicWriter<V>, MetadataType.EntityMetadataFactory<V>, MetadataType.Reader<V>, MetadataType.Writer<V> -
Field Summary
Fields inherited from class com.github.steveice10.mc.protocol.data.game.entity.metadata.MetadataType
BLOCK_STATE, BOOLEAN, BYTE, CAT_VARIANT, CHAT, DIRECTION, FLOAT, FROG_VARIANT, INT, ITEM, LONG, NBT_TAG, OPTIONAL_BLOCK_STATE, OPTIONAL_CHAT, OPTIONAL_GLOBAL_POS, OPTIONAL_POSITION, OPTIONAL_UUID, OPTIONAL_VARINT, PAINTING_VARIANT, PARTICLE, POSE, POSITION, QUATERNION, ROTATION, SNIFFER_STATE, STRING, VECTOR3, VILLAGER_DATA -
Method Summary
Modifier and TypeMethodDescriptionreadMetadata(MinecraftCodecHelper helper, io.netty.buffer.ByteBuf input, int id) voidwriteMetadataPrimitive(io.netty.buffer.ByteBuf output, boolean value) Methods inherited from class com.github.steveice10.mc.protocol.data.game.entity.metadata.MetadataType
from, read, size, writeMetadata
-
Method Details
-
readMetadata
public EntityMetadata<Boolean,BooleanMetadataType> readMetadata(MinecraftCodecHelper helper, io.netty.buffer.ByteBuf input, int id) throws IOException - Overrides:
readMetadatain classMetadataType<Boolean>- Throws:
IOException
-
writeMetadataPrimitive
public void writeMetadataPrimitive(io.netty.buffer.ByteBuf output, boolean value) throws IOException - Throws:
IOException
-