Check if player broke block, give smelted item in return

Started by SHB_YT on Sun, 04/26/2020 - 15:36

Topic category: Help with modding (Java Edition)

Last seen on 16:54, 29. May 2020
Joined May 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Check if player broke block, give smelted item in return
Sun, 04/26/2020 - 15:36

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.