Create Big Cannons

Create Big Cannons

8M Downloads

CBC is Thanos snapping my Blocks out of existence.

Chase22 opened this issue ยท 1 comments

commented

I'm working on a small mod that adds a single block. All it does is keep track of the block and announcing it to the server in case it gets destroyed for an upcoming event.

When when i give the block a faceful of solid shot it gets destroyed. To be exact it gets deleted so cleanly that not even the "block_destroyed" event is triggered on the BlockEntity.

So i'm not quite sure if i'm doing something wrong with my implementation or if the mod is too eager in destroying blocks. All i could find is the place where it calls Level.destroyBlock. But i'm stuck there

commented

"Events" through Forge/Fabric events usually only captures player destroying.

Try the following for removal detection:

  • Block#onRemove