Add a custom boolean property and set the block to replace itself with any block (or others) that has this same property (or other) does not work and causes a error
Expected Behavior:
Sets the block with the property given to it
Actual Behavior:
Not set the block and gives the following errors:
[Json][error]-block_definitions | C:/Users/Hp/AppData/Local/Packages/Microsoft.MinecraftUWP_8wekyb3d8bbwe/LocalState/games/com.mojang/development_behavior_packs/Custom Block State | blocks/custom_block.json | cbs:custom_block | events | setBlockEvent | set_block_at_pos | block_type | Invalid state during block parsing: block name cbs:custom_block, state name cbs:texture_property, state type 1.
[Blocks][error]-block_definitions | C:/Users/Hp/AppData/Local/Packages/Microsoft.MinecraftUWP_8wekyb3d8bbwe/LocalState/games/com.mojang/development_behavior_packs/Custom Block State | blocks/custom_block.json | cbs:custom_block | events | setBlockEvent | set_block_at_pos | block_type | SetBlockAtPos cannot accept custom block states.
cbs:custom_block has a custom block state cbs:texture_property which is not allowed.
[Blocks][error]-No block corresponding to string input
Steps to recreate:
-Enable the content log GUI option.
-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 cbs:custom_block and place it into the world.
-Right click interact with the custom block.
-It does not put the block and gives an error.
Linked issues
is duplicated by 1
Attachments
Comments 0
No comments.