Class BooleanEntityMetadata
java.lang.Object
org.geysermc.mcprotocollib.protocol.data.game.entity.metadata.EntityMetadata<Boolean,BooleanMetadataType>
org.geysermc.mcprotocollib.protocol.data.game.entity.metadata.type.BooleanEntityMetadata
-
Field Summary
Fields inherited from class org.geysermc.mcprotocollib.protocol.data.game.entity.metadata.EntityMetadata
id, type -
Constructor Summary
ConstructorsConstructorDescriptionBooleanEntityMetadata(int id, @NonNull BooleanMetadataType type, boolean value) -
Method Summary
-
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
public void write(io.netty.buffer.ByteBuf out) 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>
-