跳转至

Enchantable

文档版本:1.21.0.24

The enchantable component determines what enchantments can be applied to the item.

架构

minecraft:enchantable:
{
  string "slot" : opt
  number "value" : opt
}
slotstring
If true you can always eat this item (even when not hungry), defaults to false.
valuenumber
The value of the enchantment.