Cubyz icon indicating copy to clipboard operation
Cubyz copied to clipboard

Decay does drop items

Open tillpp opened this issue 2 months ago • 4 comments

When decaying, block drop items. It is really satisfying to watch:

decayDrop.webm

tillpp avatar Dec 07 '25 02:12 tillpp

In that sense I think it would be reasonable for now to just say that blocks drop the same items on decay and when broken by hand.

I added shouldDrop because the replacementBlock is customizable image someone would make leaf decay into stone (for some reason). Then each decay would drop a leaf block, but that is usually not what we want.

tillpp avatar Dec 07 '25 11:12 tillpp

Ok, now the drops for decay are customizeable. Except you can't use .auto since the init function of callbacks have no access to their block

tillpp avatar Dec 07 '25 12:12 tillpp

I made it random now, at least in x and y, but i kept the push upwards cause i thought i looked good.

tillpp avatar Dec 07 '25 13:12 tillpp

done, looks less satisfying now

tillpp avatar Dec 09 '25 16:12 tillpp

yeah sry, was busy this week

tillpp avatar Dec 13 '25 15:12 tillpp