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.
Expected Behavior:
The property is updated the same as any other blockstate property.
Actual Behavior:
the following error is received on loading any world with this add-on installed:
invalid state during block parsing. block name test:custom_block_1 state "test:testprop" state type 5
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.
Minecraft crashes.
Attachments
Comments 10
This is not yet fixed, although written in latest changelog it was fixed, but actually it's not yet. Here's the log after I use set_block_at_pos event with custom states:
SetBlockAtPos cannot accept custom block states.
block:block_test has a custom block state property:sample which is not allowed.
Please reopen this issue!
I test also the fille attached in this ticket same error it says in content log. Hey Mojang, reopen it and do something.
Hey still not working in 1.16.210 and in latest beta 1.16.230.50 why set as resolved? It's not yet resolved
Still no response from dev? Developers nowadays are too lazy to fixed bugs, but rather always go for implementing new features in which they will gain more money and attention.
This why having no competition is worst. This site is useless if most bugs reported are completely ignored.
please note I also attempted to use:
"test:testprop": true
and got the same error but with a different state type.