Mojira Archive
MCPE-186030

OnPlace custom component doesn't seem to work with blocks placed by scripts

When a block that has an OnPlace event is placed by a script, the OnPlace event is not executed, this affects any chain placement that a block has, or any slightly complicated placement, OnPlace does seem to work correctly if commands are used.

When I mean placed by script, I mean when you use: block.above().setPermutation(block.above().permutation.withState(state, stateValue));

Any block placed this way will not correctly execute its OnPlace event.

Here I leave a Onedrive link with some videos of how it worked in 1.21.10, and another in 1.21.21 (now): Minecraft Bug Showcase

Awaiting Response

N3arb3ar

2024-08-25, 06:22 AM

2024-08-25, 06:28 PM

2024-08-25, 06:28 PM

1

0

Unconfirmed

Script-API, block, components

1.21.21 Hotfix

-