The identifier of the component, e.g., "minecraft:position", or "minecraft:nameable"
The type of the object
Add the component to an entity.
If false an error will be thrown if the component already exists on the entity.
Get or set the data of an entity.
The identifier of the entity.
The data to change provided as an object or as a Function that takes and returns a value.
Check if an entity has a component.
The identifier of the entity.
Reload the component.
The identifier of the entity.
Remove the component from an entity.
The identifier of the entity.
Generated using TypeDoc
Component object.