Tameable¶
文档版本:1.21.50.25
Defines the rules for a mob to be tamed by the player.
架构¶
tameable:
{
number "probability" : opt
event_object "tame_event"
array "tame_items" : opt
{
identifier "<any array element>"
}
identifier "tame_items"
}
probability
:number- The chance of taming the entity with each item use between 0.0 and 1.0, where 1.0 is 100%
tame_event
:event_object- Event to run when this entity becomes tamed.
tame_items
:array- The list of items that can be used to tame this entity.
tame_items
tame_items
:identifier- The list of items that can be used to tame this entity.