#Make block immovable, but it didn't work in all blocks.

1 messages · Page 1 of 1 (latest)

gray dust
#

Naturally, If block is moved by piston some can able to move, some will drop instead. Those blocks that will drop when moved, cannot cancel pistonActivate event.

Like for example a shulker box, if shulker box is moved it'll drop instead. Using beforeEvent.pistonActivate to cancel piston activation will not work and will still drop, it can't cancel the event. How should I make to these kinds of blocks be immovable or wouldn't drop if moved?

gray dust
#

It still work tho.

#

If I tried dirt it work, the piston will not moved it. But the block like shulker, it will still activate nonetheless.

strong yacht
rare kindle
gray dust
#

Aww that's sad

rare kindle
#

so you can use it like few days before new stable releases

gray dust
gray dust
supple goblet
#

I mean you might be able to reverse what's done using the after event

#

But other than that, you're out of luck

gray dust
#

Huh?

rare kindle
#

they are cleaning some APIs what they are not happy with

#

we can expect some implementation in the future but doesn't expect it soon

gray dust
#

Ohh, maybe one example it isn't stable is my problem like this shulker box😅

rare kindle
#

i think you should cancel placement of shulker boxes, or pistons, or shulkers nexto the pistons or pistons next to the shulker box

gray dust
#

But the problem is if piston pushing other blocks and those blocks pushing shulker box.

#

Immovable block is no longer possible, sad.

supple goblet
#

Quick question, but why would you want to cancel the pushing and breaking of Shulker boxes

#

I mean there are a few reason I personally could think of

gray dust