Class: EntityColorComponent
Defines the entity's color. Only works on certain entities that have predefined color values (e.g., sheep, llama, shulker).
Extends
Constructors
new EntityColorComponent()
private
new EntityColorComponent():EntityColorComponent
Returns
Overrides
Properties
entity
Beta
readonly
entity:Entity
Remarks
The entity that owns this component. The entity will be undefined if it has been removed.
Inherited from
typeId
readonly
typeId:string
Remarks
Identifier of the component.
Inherited from
value
value:
number