How do I make such a loot block?

Started by MisterSmeet on

Topic category: Help with Minecraft modding (Java Edition)

Joined Mar 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How do I make such a loot block?
Sat, 04/12/2025 - 12:20 (edited)

If you get a block with a pickaxe, the block itself falls out, if an object falls out with your hand,  spawn item how do I do this?

Edited by MisterSmeet on Sat, 04/12/2025 - 12:20
Joined Oct 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
check when the player breaks…
Sat, 04/12/2025 - 17:32

check when the player breaks the block if the player is holding nothing

than use the drop item procedure to drop an item