All registered custom blocks in the creative menu fail to load with the following issue.
[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
We've attached the block file from this add-on, and I've found a workaround to keep it running till it's fixed.
The blocks will load and work properly if the property "register_to_creative_menu" is removed from the description. (They will not be available in the creative menu, but they will be available for /give commands and everything else.)
We hope this is rectified fast because it makes testing custom blocks much more difficult.
Linked issues
duplicates 1
Attachments
Comments 2
Thank you for your report!
We're tracking this issue in MCPE-63121, so this ticket is being resolved and linked as a duplicate.
If you would like to add a vote and any extra information to the main ticket it would be appreciated.
If you haven't already, you might like to make use of the search feature to see if the issue has already been mentioned.
Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki
-- I am a bot. This action was performed automatically! If you think it was incorrect, please notify us on Discord or Reddit
You can "workaround" this by doing it as follows:
Create an Item (which registers to inventory as expected ) and take care, that the format_version is >= 1.16.100
and name it in a way, that there is a relation to the block you want to create.
In the item, use the minecraft:block_placer compontent to place the corresponding block.
That's the way, all the "good working" addons are written, as from version 1.16.0 on, the custom blocks do not work anymore...
"format_version": "1.17.0",
"minecraft:item": {
"description": {
"category": "nature",
.....
"components": {
"minecraft:block_placer": {
"block": "....."
.....