18.104.22.168 Beta, 22.214.171.124 Beta
Add a custom boolean property and configure the block to replace itself with any block (itself or others) that have this same property and set this property via the states node in the block_type definition of an event.
The property is updated the same as any other blockstate property.
the following error is received on loading any world with this add-on installed:
and attempting to interact with the block crashes Minecraft.
Steps to recreate:
Install the attached add-on.
Load a world with the behavior and resource packs applied and receive the above error.
Give yourself the block using /give @s test:custom_block_1 and place it into the world.
Right click interact with the custom block.