User Tools

Site Tools


trades:trade_modifiers:enchant_with_levels

minecraft:enchant_with_levels

Enchants the given item stack with a given level. It also increments the wanted item stack at the specified index with the level used to enchant.

Fields

Name Description Type Default Value
index The index of the wanted item stacks to target. An integer ranging from 0 to 1 inclusive.
level The level to enchant the target item stack at. An integer range
treasure Whether to include treasure enchantments or not. An optional boolean. false

Example

{
  "type": "minecraft:enchant_with_levels",
  "index": 0,
  "level": {
    "min": 5,
    "max": 19
  }
}
trades/trade_modifiers/enchant_with_levels.txt · Last modified: 2024/05/14 16:59 by errorcraft