Help with stackable block drop

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:
Help with stackable block drop
Sat, 10/11/2025 - 13:53 (edited)

So.. I have a block that works similar to candles or pink petals, stackable using blockstates. But I can't quite get the drops. What I want to do is get the same amount of items as layers of block (place one, break, get one),(place two, break, get two..etc). The block drops only make it possible to drop 1 item. How can I do it? 

Edited by Warwickslave on Sat, 10/11/2025 - 13:53
Joined Oct 2025
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Nvm I got it... What I tried…
Sat, 10/11/2025 - 13:56

Nvm I got it... What I tried to do is check for blockstate value and repeat the "drop" procedure that amount of time. The only thing, I forgot that the block can have a "0" value blockstate so it was causing the error.