mojira.dev
MCPE-182453

"is_hidden_in_commands" parameter not working as intended

Custom blocks and items count with a parameter called: 

"is_hidden_in_commands"

This parameter should allow for usage within commands like;

/setblock 
/fill
/give
/replaceitem

Here is the documentation:

How it works on items
How it works on blocks

 

After this being said, that means that when this parameter is set to false, it should be usable in all of these commands. However, it seems like this parameter is linked to the category parameter for items, which makes it impossible for creators to create items like command block minecarts, which cannot be obtained in the creative inventory, but can be accessed through commands.

The following code should mimic the behavior mentioned above for both, items and blocks:

"menu_category": {
      "category": "none",
      "is_hidden_in_commands": false
}

However, for some reason this only works on blocks.

I have attached a pack to help showing this, here are the steps to follow with it:
1. Download the attached pack
2. Create a new world and upload the given pack
3. Open the chat and type /give @s kai:test

Expected results:
Both, kai:test_item and kai:test_block should show up

Obtained results:
Only kai:test_block shows up

[media]

 

 

Linked issues

Attachments

Comments 3

Thank you for your report!
We're tracking this issue in MCPE-177866, 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 (Technical Issues) – 📧 Microsoft Support (Account Issues)
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki
-- I am a bot. This action was performed automatically! The ticket was resolved by one of our moderators, and I left this message to give more information to you.

Thank you for your report!
We're tracking this issue in MCPE-177866, 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 (Technical Issues) – 📧 Microsoft Support (Account Issues)
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki
-- I am a bot. This action was performed automatically! The ticket was resolved by one of our moderators, and I left this message to give more information to you.

Kaioga

(Unassigned)

Unconfirmed

Multiple

Windows 11

1.21.10.22 Preview, 1.20.81 Hotfix

Retrieved