How to add a random enchantment for an item

Started by Ante19 on

Topic category: Help with Minecraft modding (Java Edition)

Joined Sep 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How to add a random enchantment for an item
Sun, 09/29/2024 - 07:49 (edited)

Is that possible to add random enchantment to item that's find in chest(with loot table) or dropped after killing mob?

Sorry from all my writing mistakes but I am not an English speaker. 

Edited by Ante19 on Sun, 09/29/2024 - 07:49
Joined Dec 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
There’s an “enchant randomly…
Sun, 09/29/2024 - 07:56

There’s an “enchant randomly” function you can add. Don’t remember off the top of my head how so use a loot table generator or find documentation

Joined Sep 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Thank you very much! I will…
Sun, 09/29/2024 - 08:41

Thank you very much! I will try this.