跳转至

Tamemount

文档版本:1.21.0.24

Allows the Entity to be tamed by mounting it.

架构

tamemount:
{
  integer "attempt_temper_mod" : opt
  object "auto_reject_items" : opt
  {
    descriptor "item"
  }
  array "auto_reject_items" : opt
  {
    object "<any array element>" : opt
    {
    }
  }
  string "feed_text" : opt
  object "feed_items" : opt
  {
    descriptor "item"
    number "temper_mod" : opt
  }
  array "feed_items" : opt
  {
    object "<any array element>" : opt
    {
    }
  }
  integer "max_temper" : opt
  integer "min_temper" : opt
  string "ride_text" : opt
  event_object "tame_event"
}
attempt_temper_modinteger
The amount the entity's temper will increase when mounted.
auto_reject_itemsobject
The list of items that this entity dislikes and will cause it to get angry if used while untamed.
auto_reject_items
itemdescriptor
Name of the item this entity dislikes and will cause it to get angry if used while untamed.
identifier:
string
descriptor:
{
  identifier "item"
  object "item" : opt
  {
  }
  0 "tags"
  string "item_tag" : opt
}
itemidentifier
itemobject
An object that describes an item.
item
tags0
[UNDOCUMENTED] A Molang expression ran against item or block to match.
0:
string
item_tagstring
[UNDOCUMENTED] A tag to lookup item or block by.
descriptor:
{
  identifier "item"
  object "item" : opt
  {
    identifier "item"
    object "item" : opt
    {
    }
    0 "tags"
    string "item_tag" : opt
  }
}
itemidentifier
itemobject
An object that describes an item.
item
auto_reject_itemsarray
The list of items that, if carried while interacting with the entity, will anger it.
auto_reject_items
<any array element>object
The list of items that this entity dislikes and will cause it to get angry if used while untamed.
<any array element>
feed_textstring
The text that shows in the feeding interact button.
feed_itemsobject
The list of items that can be used to increase the entity's temper and speed up the taming process.
feed_items
itemdescriptor
Name of the item this entity likes and can be used to increase this entity's temper.
temper_modnumber
The amount of temper this entity gains when fed this item.
feed_itemsarray
The list of items that can be used to increase the entity's temper and speed up the taming process.
feed_items
<any array element>object
The list of items that can be used to increase the entity's temper and speed up the taming process.
<any array element>
max_temperinteger
The maximum value for the entity's random starting temper.
min_temperinteger
The minimum value for the entity's random starting temper.
ride_textstring
The text that shows in the riding interact button.
tame_eventevent_object
Event that triggers when the entity becomes tamed.
event_object:
{
  filters "filters"
  string "event" : opt
  string "target" : opt
}
filtersfilters
一个过滤器组
eventstring
The event to fire.
targetstring
The target of the event.