How do I have my Treasure Enchant generate on looted items?

Started by tazzan on Wed, 07/06/2022 - 06:18

Topic category: Help with MCreator software

Last seen on 03:22, 16. Jul 2022
Joined Oct 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
How do I have my Treasure Enchant generate on looted items?
Wed, 07/06/2022 - 06:18

I've recently made a curse and I'd like it to be generated on treasure loot such as from End Cities. The only thing is it's not generating.

Could it be that it's not included in this filter present in all loot tables with enchanted gear?

"function": "minecraft:enchant_with_levels",
              "levels": {
                "min": 20.0,
                "max": 39.0,
                "type": "minecraft:uniform"
              },
              "treasure": true