Needing some tips on enchantments

Started by 30___ on

Topic category: Help with modding (Java Edition)

Last seen on 18:50, 30. Dec 2021
Joined Dec 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Needing some tips on enchantments

I am trying to figure out how to make an enchantment that replaces a block of stone in front of you when mining.

 

The enchantment depending on the level would have a slight chance to spawn coal, iron or diamond ore in front of the player with the enchantment on their pickaxe. (any and all pickaxes should be able to use this enchantment.)

 

my brain cannot currently comprehend how to do this so I need some help! 

 

Thank you,

        30.