Check if player broke block, give smelted item in return

Started by SHB_YT on

Topic category: Help with Minecraft modding (Java Edition)

Joined May 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Check if player broke block, give smelted item in return

Whilst under a potion effect, if the player breaks a block I want to check if that block is smeltable (and if so) give the player the smelted result.

I can't however figure out how to get this to work as it requires dependencies that are not available.