mojira.dev
MCPE-63121

Custom Blocks fail to load if register_to_creative_menu property is set

All custom blocks that are registered to the creative menu fail to load with following error.

[Blocks][error]-block_definitions | C:/Users/%USER%/AppData/Local/Packages/Microsoft.MinecraftUWP_8wekyb3d8bbwe/LocalState/games/com.mojang/minecraftWorlds/NM5DXvP4AAA=/behavior_packs/FC_B | blocks/block_acacia.json | description | register_to_creative_menu | child 'register_to_creative_menu' not valid here.

[Blocks][error]-block_definitions | C:/Users/%USER%/AppData/Local/Packages/Microsoft.MinecraftUWP_8wekyb3d8bbwe/LocalState/games/com.mojang/minecraftWorlds/NM5DXvP4AAA=/behavior_packs/FC_B | blocks/block_acacia.json | Failed to verify block

 

I have attached the block file from this add-on and i have found some what of a work around to get it to work until it is fixed.

if you remove the property "register_to_creative_menu" from the description the blocks will load and function properly. (they will not be in the creative menu but they will be available for /give commands and everything else)

I hope this gets resolved quickly as it does make it much more tedious to test custom blocks.

Thanks

 

 

Linked issues

BDS-9372 Custom Addon blocks do not appear in Inventory Resolved MCPE-63111 Custom blocks are completely broken Resolved MCPE-63172 The addon gives an error when registering blocks 1.15.0.51 Resolved MCPE-64766 Custom blocks don't appear with "register_to_creative_menu": true" Resolved MCPE-66128 No addons blocks add 1.15/1.16 Resolved

Attachments

Comments 29

Correction,

The blocks can not be crafted (recipes do not work) if the property is not set.

 

 

still a problem in 1.15.0.53

Partially resolved in 1.15.0.56

  • The error no longer occurs when loading world and world loads as expected.

  • blocks appear in world.

but

  • the blocks do not appear in the creative menu.

  • the blocks do not appear in the menu as a selection when crafting recipes

yep, the bug still is there in the game.

you cannot get the blocks by the creative inventory and only by command even tho register_to_creative_menu is true

Could you please include a copy of the .mcpack file that should be expected to work?

19 more comments

Still broken in 1.17.0.56 Beta

Broken in 1.17.30.20 - 1.17.30.21!

Zephira

(Unassigned)

309574

Community Consensus

Multiple

Windows

1.16.230.54 Beta, 1.16.220, 1.16.220.50 Beta, 1.16.210.53 Beta, 1.16.210.51 Beta, ..., 1.16.40 Hotfix, 1.16.100.59 Beta, 1.16.100, 1.16.201 Hotfix, 1.16.221 Hotfix

1.15.0.56 Beta, 1.17.30

Retrieved