Enchantment level reverting and enchanted book recipe broken

Started by nasdsd on

Topic category: Troubleshooting, bugs, and solutions

Last seen on 06:58, 12. Jun 2024
Joined May 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Enchantment level reverting and enchanted book recipe broken

I made a recipe that is supposed to upgrade your enchanted book by one level when crafted, but every time I put in the ingredients it just gives me only one specific upgraded enchantment no matter what I try to upgrade it from. I've tried deleting the recipe for the specific enchantment but it just switches the result to another random enchantment. Even when I try to use the random enchantment it gives me and put it on armor or a tool it reverts the enchantment book back a level. Here is the code for one of the recipes {
  "type": "minecraft:crafting_shapeless",
  "category": "equipment",
  "ingredients": [
    {
      "item": "minecraft:enchanted_book",
      "nbt": "{StoredEnchantments:[{id:\"minecraft:looting\",lvl:3s}]}"
    },
    {
      "item": "new_places:enchantment_upgrade"
    }
  ],
  "result": {
    "item": "minecraft:enchanted_book",
    "nbt": "{StoredEnchantments:[{id:\"minecraft:looting\",lvl:4s}]}",
    "count": 1
  }
}