-
Bug
-
Resolution: Duplicate
-
None
-
1.20.60.23 Preview, 1.20.51 Hotfix
-
None
-
Unconfirmed
-
Multiple
In a custom block, when block states are updated using the "set_block_state" event response, the block trigger component "minecraft:on_place" is activted, triggering the attached event.
How To Reproduce:
1. Install the addon attached to this issue.
2. Create a new creative world, being sure to apply the addon to the world and to turn on Holiday Creator Features (Required).
3. Open the creative inventory and grab bone meal and the test sapling (Last item in the items category with no icon) You could also use /give @s test:saplingtest
4. Place down the sapling (You should see in chat that on_place was triggered.)
5. Bone meal the sapling. (You'll see that on_place is triggered yet again when the block state 'test:growth_state' is updated.)
This is incorrect behavior as the block was not placed down again, yet on_place was still triggered.
Tested on both minecraft preview 1.60.23 and minecraft 1.20.51.
- duplicates
-
MCPE-126423 set_block_property triggers minecraft:on_placed in custom blocks
- Resolved