-
Bug
-
Resolution: Unresolved
-
None
-
1.21.60.21 Preview, 1.21.50.30 Preview, 1.21.50.26 Preview, 1.21.41 Hotfix, 1.21.43 Hotfix, 1.21.50.29 Preview, 1.21.44 Hotfix
-
Unconfirmed
-
Windows
The new stable release brings the "replace_block_item" option to "minecraft:block_placer" but it still doens't fix the following bug:
-When "replace_block_item" is set to true and the block has "beforeOnPlayerPlace" as a custom component event, it doesn't fire the event.
Steps to Reproduce:
Install the addon attached in this report. The addon has 2 blocks and 2 items, one item ("working_double_block") has "replace_block_item" set to true and the other one ("not_working_double_block") has "replace_block_item" set to false. Both blocks also have the same custom component that has "beforeOnPlayerPlace".
Observed Results:
When the "not_working_double_block" custom block is placed, the "beforeOnPlayerPlace" event is not fired unlike the other custom block "working_double_block".
Expected Results:
Both custom blocks should fire the "beforeOnPlayerPlace" event.