gnembon / scarpet

Public Repository of scarpet programs for Minecraft
Creative Commons Zero v1.0 Universal
351 stars 157 forks source link

Adding block_broken event #307

Open Ghoulboy78 opened 2 years ago

Ghoulboy78 commented 2 years ago

This will allow block breaking apps to signal to other apps that blocks have been broken, as well as allow apps to receive this information. Fixes #298 Todo;

ch-yx commented 2 years ago

i m thinking, should there be a flag about what the game is currently doing. for example, it can tell me the item entity s spawning is because of a players mining (including torches on the mined block) or schedule ticks (such as cactus drops or summoned by command blocks).

GaelCLuna commented 1 year ago

auto_pickup and instamine_deepslate are incompatible. Instamine_deepslate works but the items don't get put into ur inventory

altrisi commented 1 year ago

Is this ready for review? Wondering given there's stuff in the TODO but the PR isn't a draft.

I'll mark it as a draft because of that, but unmark if it's ready.

Ghoulboy78 commented 1 year ago

yeah, this is still WIP. I've just not had time do tackle it.