mojira.dev
MCPE-126423

set_block_property triggers minecraft:on_placed in custom blocks

In a block event, if set_block_property is used to change a block's property and executed in-game, then the minecraft:on_placed component is triggered and its set event will run. The minecraft:on_placed component is only triggered when the block property is changed.

Linked issues

Attachments

Comments 5

The bug is still present on the latest versions

Is this still an issue in the latest version? If so, can you add it to the affected versions?

Added a example block and pack for testing. This is still a bug in the Beta 1.19.20.20 and release 1.19.10.

Affects 1.19.30.22 Preview

Thank you for your report!
However, this issue has been closed as Won't Fix.

If you'd like to post a suggestion or give further feedback, please visit the Minecraft Feedback Site or choose a link below.

Quick Links:
📓 Issue Guidelines – 💬 Mojang Support – 📧 Suggestions – 📖 Minecraft Wiki

Chikorita Lover

(Unassigned)

890294

Confirmed

Windows

Windows 10

add-on, addon, block-event

1.19.30.22 Preview, 1.17.10.23 Beta, 1.17.0.50 Beta, 1.17.2 Hotfix

Retrieved