Layerable block drops when destroyed by piston

Started by Warwickslave on

Topic category: Help with Minecraft modding (Java Edition)

Joined Oct 2025
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Layerable block drops when destroyed by piston
Thu, 10/16/2025 - 12:20 (edited)

I have a layerable block working similar to candles or pink petals, so I made it stackable using blockstates and its piston interaction is set to "destroy". Is there a way to make it drop items depending on blockstate when pushed by a piston, or should I make them as independent blocks with drops?

Tried to make a procedure with global trigger "when block is destroyed". Works with player destroying the block but with piston still nothing.

Edited by Warwickslave on Thu, 10/16/2025 - 12:20