Class LongEntityMetadata
java.lang.Object
com.github.steveice10.mc.protocol.data.game.entity.metadata.EntityMetadata<Long,LongMetadataType>
com.github.steveice10.mc.protocol.data.game.entity.metadata.type.LongEntityMetadata
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlonggetValue()Deprecated.voidwrite(MinecraftCodecHelper helper, io.netty.buffer.ByteBuf out) Overridden for primitive classes.Methods inherited from class com.github.steveice10.mc.protocol.data.game.entity.metadata.EntityMetadata
equals, hashCode, toString
-
Constructor Details
-
LongEntityMetadata
-
-
Method Details
-
getPrimitiveValue
public long getPrimitiveValue() -
getValue
Deprecated.Description copied from class:EntityMetadataMay be null depending on type- Specified by:
getValuein classEntityMetadata<Long,LongMetadataType>
-
write
Description copied from class:EntityMetadataOverridden for primitive classes. This write method still checks for these primitives in the event they are manually created usingObjectEntityMetadata.- Overrides:
writein classEntityMetadata<Long,LongMetadataType> - Throws:
IOException
-