@minecraft
    正在准备搜索索引...

    类 EnchantWithLevelsFunction实验性

    Loot item function that applies a random enchant to the dropped item.

    层级 (查看层级一览)

    索引

    属性

    conditions: LootItemCondition[]
    levels: NumberRange

    The value range from which the function randomly chooses the level of enchantment to apply. Contains minimum and maximum values.

    treasure: boolean

    Value that determines whether or not treasure enchants should be included in the random enchant selection.