Started by
salmon
on
Topic category: Help with MCreator software
So, I got this json for my item, and I can't seem to get it working, I've been sitting here finding out how for an hour now and I seem to not understand how it works, What I want is for my item to have 2 separate textures, both 2D, 1 for the GUI icon, and another for when it is hand held, no it is not a 3D item but just another 2D texture, pls help
{
"loader": "forge:separate_transforms",
"parent": "item/handheld",
"textures": {
"layer0": "calamityremake:item/batbat"
},
"display": {
"ground": {
"rotation": [ 0, 0, 0 ],
"translation": [ 0, 3, 0],
"scale":[ 1, 1, 1 ]
},
"fixed": {
"rotation": [ 0, 0, 0 ],
"translation": [ 0, 0, 0],
"scale":[ 1, 1, 1 ]
},
"thirdperson_righthand": {
"rotation": [ 0, 90, 40 ],
"translation": [ 0, 15, 2 ],
"scale": [ 2.0, 2.0, 2.0 ]
},
"firstperson_righthand": {
"rotation": [ 0, 90, 40 ],
"translation": [ 0, 15, 2 ],
"scale": [ 2.0, 2.0, 2.0 ]
},
"firstperson_lefthand": {
"rotation": [ 0, 90, 40 ],
"translation": [ 0, 15, 2 ],
"scale": [ 2.0, 2.0, 2.0 ]
}
},
"perspectives": {
"gui": {
"parent": "item/generated",
"textures": {
"layer0": "calamityremake:item/batbathud"
},
"gui_light": "front"
}
}
}
I dont know why you have so many display settings. You shouldnt really have any of the display data as it should be in the model itself, no? Maybe its because im using neoforge but my code for this would look like this:
It should work the exact same in forge if you remove neo- from neoforge.
Ahhhh, As for the display settings, it's to make the item larger
And I am also using neoforge so that's really useful, thanks again
I get it you have a 32x32 texture but don't want the game to scale the pixels down.
For some reason it doesn't work, I might be doing something wrong and I'm probably not trying at all but here:
batbat is the main item, the 32x and batbathud is the 15x texture
I dont know why it doesnt work. I tried it too and the handheld item was just invisible. Just make a custom model of your 32x32 texture in blockbench and it will work.
Using [ "parent": "calamityremake:custom/32x32_model" ] instead of item/handheld.