how do i make custom items not appear in creative inventory?

Started by nvallorplays on

Topic category: Help with modding (Bedrock Edition)

Last seen on 03:52, 4. Sep 2022
Joined Sep 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
how do i make custom items not appear in creative inventory?
Sat, 09/03/2022 - 22:01 (edited)

I am making an addon for my friend and made items that I use to test the item but don't it to appear in creative inventory in case he uses it with creative and I need the item so i can experiment with new ways to make it better and to check with each new update that it'll still work and am too lazy to make a completely new addon. please help.

I want it to be like barrier or structure block where you can only get it with /give.

Edited by nvallorplays on Sat, 09/03/2022 - 22:01
Last seen on 06:34, 27. Sep 2022
Joined Sep 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Hello,   On editor code on…
Mon, 09/26/2022 - 08:53

Hello,

 

On editor code on block, you add "category": "myCategory" and "minecraft:creative_category": {
        "category": "items"
      },

 

exemple :

{
  "format_version": "1.17.3",
  "minecraft:block": {
    "description": {
      "identifier": "myMod:MyBlock",
      "is_experimental": false,
      "register_to_creative_menu ": true,
      "category": "MyCategory"
    },
    "components": {
      "minecraft:creative_category": {
        "category": "items"
      },
      "minecraft:block_light_emission": 0,
      "minecraft:destroy_time": 1,
      "minecraft:explosion_resistance": 10,
      "minecraft:friction": 0.6,
      "minecraft:flammable": {
        "flame_odds": 0,
        "burn_odds": 0
      }
    }
  }
}