Started by
gustavowizard123
on
Topic category: Help with Minecraft modding (Java Edition)
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!
You can edit the elements source code and change the inventory Tab value so that it doesnt appear.
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.
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!
so where do i change it besides the part arcane mentioned? i dont see it yet lol
thanks a lot you both btw.
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
so how i make it not appear? i just set the size to 0 0 0 ?
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 ]
}
}
}
i was talking about this inventory Tab value Arcanis mentoned
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.
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!
oh btw is there a NEI version for minecraft 1.10? i download the last one and it seams bugged.
cool it works, at least the creative menu is clean now :D
Thats it ;) and sometimes it helps to keep an item visible in other editors for creative building purposes