Class BooleanEntityMetadata
java.lang.Object
com.github.steveice10.mc.protocol.data.game.entity.metadata.EntityMetadata<Boolean,BooleanMetadataType>
com.github.steveice10.mc.protocol.data.game.entity.metadata.type.BooleanEntityMetadata
-
Constructor Summary
ConstructorsConstructorDescriptionBooleanEntityMetadata(int id, @NonNull BooleanMetadataType type, boolean value) -
Method Summary
Modifier and TypeMethodDescriptionbooleangetValue()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
-
BooleanEntityMetadata
-
-
Method Details
-
getPrimitiveValue
public boolean getPrimitiveValue() -
getValue
Deprecated.Description copied from class:EntityMetadataMay be null depending on type- Specified by:
getValuein classEntityMetadata<Boolean,BooleanMetadataType>
-
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<Boolean,BooleanMetadataType> - Throws:
IOException
-