Class: EntityTameableComponent
Defines the rules for an entity to be tamed by the player.
Extends
Constructors
new EntityTameableComponent()
private
new EntityTameableComponent():EntityTameableComponent
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
getTameItems
readonly
getTameItems:ItemStack
[]
Remarks
Returns a set of items that can be used to tame this entity.
Throws
This property can throw when used.
isTamed
readonly
isTamed:boolean
Throws
This property can throw when used.