Player cannot place blocks on custom blocks using beforeOnPlayerPlace custom component
Partner Rank: 3 (Normal)
Partner Team Reporting: Oreville Studios
Verification builds: 1.21.0.21_RC1 (Windows 10)
Regression Builds: N/A, issue with new feature
Summary:
The player is unable to place any blocks on custom blocks that have custom components with beforeOnPlayerPlace defined in the script custom component.
Impact:
There is no large impact as block custom components are still behind the beta APIs toggle in the game, meaning no content uses custom components yet. If block custom components releases as is, any block that uses beforeOnPlayerPlace cannot have other blocks placed on them, which may cause player confusion as players expect to be able to place any block on most blocks.
Repro Steps:
- Download the attached world with the repro behavior pack and resource pack applied.
- Enter the world.
- Place down a test block (it looks like a furnace, do /give @s test:test).
- Try placing any block on test block in front of you.
Observed Results:
The block in your hand is not placed on the test block.
Expected Results:
The block in your hand is placed on the test block.
Screenshots/Videos attached: Yes