Block not Appear on Menu

Started by gustavowizard123 on

Topic category: Help with Minecraft modding (Java Edition)

Joined Sep 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
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! 

Joined Aug 2015
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
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.

Joined Aug 2013
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
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.

Joined Aug 2015
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
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!

Joined Sep 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
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.

Joined Aug 2013
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
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

Joined Sep 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
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 ?

Joined Sep 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
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 ]
        }
    }
}

 

Joined Sep 2016
Points:

User statistics:

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

i was talking about this inventory Tab value Arcanis mentoned

Joined Aug 2015
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
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.

Joined Sep 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
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!

Joined Sep 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
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.

Joined Sep 2016
Points:

User statistics:

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

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

Joined Aug 2015
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
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