Should be protection-sensitive now. Examples of when an action is not permitted:
- Extending a lone piston into a protected area
- Moving protected nodes
- Pushing nodes into a protected…
IIRC regular TNT was ok. Didn't try it hundreds of times, in different orientations and distances, but nothing strange happened. 'Entity'-based explosions were consistently affected.
and the group should have propagated
They were all manually set after shallow copying (table.copy
) the table, just some were missing the dig_by_piston
. There is a recursive 'deep copy'…
Yep, can confirm this is permitted, and also pretty sure that you can't in Minecraft (without sneak).
A no-op on_rightclick
seems to do the trick perfectly (considers sneak too).
on…
If this thing is working now, as it seems to be, it hopefully also fixes #3547, and I have no idea how to work with protected areas so the consequences for #1598 are still unknown.
I found what is likely the cause of 'random' nodes not dropping. From minetest's API docs, at https://minetest.gitlab.io/minetest/minetest-namespace-reference/#environment-access:
-…
Found issues:
Sifting through all nodes in the dig_by_piston
group, I discovered some nodes drop double, but only when in direct contact with the piston pushing them:
[ ] Cactus…