Block not Appear on Menu

Started by gustavowizard123 on

Topic category: Help with Minecraft modding (Java Edition)

Active 1 week ago
Joined Sep 2016
Points:
1215

User statistics:

  • Modifications: 0
  • Forum topics: 59
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 425
Block not Appear on Menu

Hey guys!

So i got these models of my mod here, but some of my custom blocks are 2Y tall so they 'appear' on 2 squares on the Creative in-game menu, kinda 'blocking' other blocks..

Now since those blocks dont have recipes (their Items do) they wont show on NEI (at least i hope) or the player wont have acess to them, still i would apreciate a nice and clean Creative Menu for people on my mod.

So how could i 'occult' those blocks from my Creative Menu?

 

Thanks! 

Active 6 years ago
Joined Aug 2015
Points:
776

User statistics:

  • Modifications: 0
  • Forum topics: 2
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 101
You can edit the elements
Tue, 10/04/2016 - 14:06

You can edit the elements source code and change the inventory Tab value so that it doesnt appear.

Active 1 year ago
Joined Aug 2013
Points:
1161

User statistics:

  • Modifications: 4
  • Forum topics: 6
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 730
I recommend more change the
Tue, 10/04/2016 - 14:15

I recommend more change the .json file because the block will be still obtainable using /give command and also it will be still in mods like TMI or NEI , because these mods show every block/item ,except the one that are using specific peace of code that checks for the mod and then for the block and prevent it from being showed.

Active 6 years ago
Joined Aug 2015
Points:
776

User statistics:

  • Modifications: 0
  • Forum topics: 2
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 101
What Nuparu said xD I was
Tue, 10/04/2016 - 15:08

What Nuparu said xD I was trying to find the thread where he had given the instructions on how to do just that haha he beat me to it! Thanks Nuparu!

Active 1 week ago
Joined Sep 2016
Points:
1215

User statistics:

  • Modifications: 0
  • Forum topics: 59
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 425
so where do i change it
Wed, 10/05/2016 - 05:42

so where do i change it besides the part arcane mentioned? i dont see it yet lol

thanks a lot you both btw.

Active 1 year ago
Joined Aug 2013
Points:
1161

User statistics:

  • Modifications: 4
  • Forum topics: 6
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 730
The .json file is in MCreator
Wed, 10/05/2016 - 12:04

The .json file is in MCreator\user\json\models\item . There you can simply change the size or even make it just a 2d texture

Active 1 week ago
Joined Sep 2016
Points:
1215

User statistics:

  • Modifications: 0
  • Forum topics: 59
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 425
so how i make it not appear?
Thu, 10/06/2016 - 05:17

so how i make it not appear? i just set the size to 0 0 0 ?

Active 1 week ago
Joined Sep 2016
Points:
1215

User statistics:

  • Modifications: 0
  • Forum topics: 59
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 425
i mean scale.. i just dont
Thu, 10/06/2016 - 05:20

i mean scale.. i just dont see it lol

 

{
    "parent": "TestEnvironmentMod:block/ButterBucketButter",
    "display": {
        "thirdperson": {
            "rotation": [ 10, -45, 170 ],
            "translation": [ 0, 1.5, -2.75 ],
            "scale": [ 0.375, 0.375, 0.375 ]
        }
    }
}

 

Active 1 week ago
Joined Sep 2016
Points:
1215

User statistics:

  • Modifications: 0
  • Forum topics: 59
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 425
i was talking about this
Thu, 10/06/2016 - 05:29

i was talking about this inventory Tab value Arcanis mentoned

Active 6 years ago
Joined Aug 2015
Points:
776

User statistics:

  • Modifications: 0
  • Forum topics: 2
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 101
Highlight the element you
Thu, 10/06/2016 - 05:41

Highlight the element you want to hide in mCreators GUI and select the button on the left to edit the elements code. Search through the code until you find

setCreativeTab(CreativeTabs.tabBlock);

and delete that bad boy, then recompile.

This will prevent it from appearing in the creative inventory, but as Nuparu said, it will still be visible in other inventory GUI enhancement mods such as NEI. I'm not exactly sure how to go about preventing that, but I'll get back to ya when I figure it out.

Active 1 week ago
Joined Sep 2016
Points:
1215

User statistics:

  • Modifications: 0
  • Forum topics: 59
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 425
thats it? well i dont think i
Thu, 10/06/2016 - 17:22

thats it? well i dont think i care if it shows on NEI (it wont have a recipe anyway).. i think im gonna try this thanks!

Active 1 week ago
Joined Sep 2016
Points:
1215

User statistics:

  • Modifications: 0
  • Forum topics: 59
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 425
oh btw is there a NEI version
Thu, 10/06/2016 - 17:23

oh btw is there a NEI version for minecraft 1.10? i download the last one and it seams bugged.

Active 1 week ago
Joined Sep 2016
Points:
1215

User statistics:

  • Modifications: 0
  • Forum topics: 59
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 425
cool it works, at least the
Thu, 10/06/2016 - 18:14

cool it works, at least the creative menu is clean now :D

Active 6 years ago
Joined Aug 2015
Points:
776

User statistics:

  • Modifications: 0
  • Forum topics: 2
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 101
Thats it ;) and sometimes it
Thu, 10/06/2016 - 18:27

Thats it ;) and sometimes it helps to keep an item visible in other editors for creative building purposes