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