Modding an enchantement

Started by mako20 on

Topic category: Help with Minecraft modding (Java Edition)

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)

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