22.214.171.124 Preview, 126.96.36.199 Preview, 188.8.131.52 Beta, 184.108.40.206 Preview, 220.127.116.11 Beta, 18.104.22.168 Preview, 22.214.171.124 Beta, 126.96.36.199 Preview, 188.8.131.52 Beta, 184.108.40.206 Beta, 220.127.116.11 Beta, 1.17.11 Hotfix, 18.104.22.168 Beta, 22.214.171.124 Beta, 126.96.36.199 Beta, 1.17.10, 188.8.131.52 Beta, 184.108.40.206 Beta, 220.127.116.11 Beta, 18.104.22.168 Beta, 22.214.171.124 Beta, 126.96.36.199 Beta, 188.8.131.52 Beta, 184.108.40.206 Beta, 220.127.116.11 Beta, 18.104.22.168 Beta, 1.16.210, 1.16.221 Hotfix, 1.17.0, 1.17.2 Hotfix, 1.17.30, 1.18.2 Hotfix, 1.18.10, 1.18.12 Hotfix, 1.18.30, 1.18.31, 1.19.10
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
Sets the block with the property given to it
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.
- is duplicated by
MCPE-115388 SetBlock and SetBlockAtPos don't work with custom block states