Modding an enchantement

Started by mako20 on

Topic category: Help with modding (Java Edition)

Last seen on 17:39, 23. Jun 2024
Joined Jun 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Modding an enchantement

I am creating a Minecraft mod with MCreator and I need your help to make an enchantment named "Strong Miner". This enchantment applies to a pickaxe and allows it to automatically break the block located below the initially broken block, unless it is bedrock. Can you explain to me how to create this enchantment in MCreator? (Java)

Last seen on 18:43, 27. Sep 2024
Joined Mar 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Create a procedure with…
Sun, 06/23/2024 - 16:36

Create a procedure with Global trigger "A block is broken".
Then check with an if that if the item in the player's hand has that enchantment and the block is removed with y -1, it is not bedrock.
Then, inside if, remove the y-1 block that was removed