Private
constructorReadonly
entityThe entity that owns this component. The entity will be undefined if it has been removed.
Readonly
itemItem stack represented by this entity in the world.
This property can throw when used.
Readonly
typeIdentifier of the component.
Static
Readonly
component
If added onto the entity, this indicates that the entity represents a free-floating item in the world. Lets you retrieve the actual item stack contents via the itemStack property.
Example
checkFeatherNearby.ts
Example
setLoreOnItemEntity.js