Custom Enchantment help

Started by Shminecrafter on

Topic category: Help with modding (Java Edition)

Last seen on 14:30, 14. Jul 2022
Joined Jul 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Custom Enchantment help

So in my mod I want to make some enchantments, but can’t figure out how. These are some of the ones I want:

 

Smithing- Edits loot tables for specific blocks when broken with a tool that has this enchantment (Ex. Breaking Iron Ore gives you an Iron Ingot instead)

Bludgeoning- Sharpness, but for hammers.

Cleaving- Zombies, Skeletons, Creepers, and Players have a 2.5% per level of dropping their head when killed. Wither Skeletons have an additional 2.5% per level. Players will drop a head based on their skin. (/give @p minecraft:player_head{SkullOwner:PlayerNameHere} ) Looting increases chance by 1% for every level

Lightweight- Increases attack speed by 25% per level

Last seen on 20:39, 27. May 2021
Joined May 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
you need to make a enchant…
Tue, 05/25/2021 - 22:47

you need to make a enchant then make a procedure to check for enchantment on the held item and can call on procedure on as example on block break for smithing