Class FloatMetadataType
java.lang.Object
org.geysermc.mcprotocollib.protocol.data.game.entity.metadata.MetadataType<Float>
org.geysermc.mcprotocollib.protocol.data.game.entity.metadata.FloatMetadataType
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfacestatic interfacestatic interfaceNested classes/interfaces inherited from class org.geysermc.mcprotocollib.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 org.geysermc.mcprotocollib.protocol.data.game.entity.metadata.MetadataType
ARMADILLO_STATE, BLOCK_STATE, BOOLEAN, BYTE, CAT_VARIANT, CHAT, DIRECTION, FLOAT, FROG_VARIANT, id, INT, ITEM, LONG, metadataFactory, NBT_TAG, OPTIONAL_BLOCK_STATE, OPTIONAL_CHAT, OPTIONAL_GLOBAL_POS, OPTIONAL_POSITION, OPTIONAL_UUID, OPTIONAL_VARINT, PAINTING_VARIANT, PARTICLE, PARTICLES, POSE, POSITION, QUATERNION, reader, ROTATION, SNIFFER_STATE, STRING, VECTOR3, VILLAGER_DATA, WOLF_VARIANT, writer -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedFloatMetadataType(FloatMetadataType.FloatReader reader, FloatMetadataType.FloatWriter writer, FloatMetadataType.FloatEntityMetadataFactory metadataFactory) -
Method Summary
Modifier and TypeMethodDescriptionreadMetadata(io.netty.buffer.ByteBuf input, int id) voidwriteMetadataPrimitive(io.netty.buffer.ByteBuf output, float value) Methods inherited from class org.geysermc.mcprotocollib.protocol.data.game.entity.metadata.MetadataType
from, getId, getMetadataFactory, getReader, getWriter, read, size, writeMetadata
-
Constructor Details
-
FloatMetadataType
protected FloatMetadataType(FloatMetadataType.FloatReader reader, FloatMetadataType.FloatWriter writer, FloatMetadataType.FloatEntityMetadataFactory metadataFactory)
-
-
Method Details
-
readMetadata
- Overrides:
readMetadatain classMetadataType<Float>
-
writeMetadataPrimitive
public void writeMetadataPrimitive(io.netty.buffer.ByteBuf output, float value)
-