跳转至

Bribeable

文档版本:1.21.0.24

Defines the way an entity can get into the 'bribed' state.

架构

bribeable:
{
  number "bribe_cooldown" : opt
  array "bribe_items" : opt
  {
    descriptor "<any array element>"
  }
}
bribe_cooldownnumber
Time in seconds before the Entity can be bribed again.
bribe_itemsarray
The list of items that can be used to bribe the entity.
bribe_items
<any array element>descriptor
An item that can be used to bribe the entity.
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