#Is there a way for models to show beyond the inventory slot boundary?
53 messages · Page 1 of 1 (latest)
Please make sure to read #1029373817119838218 as it may answer your question!
Once your question has been resolved, please mark the post as closed by using the </close:1163944441741049897> command.
I don't remember the specific, but I think they don't get cut off if they don't have an assigned texture yet 🤔
-# might be misremembering things though
actually, nvm, even a textured cube shows fine for me 🤔
just checked, yeah if the model doesnt have a texture it doesnt get cut in blockbench
thing is i want it to not get cut ingame though
huh
wait whats the format version of the model here
1.9-1.21.5 doesnt get cut no matter what i think
1.21.11+
huh thats weird
thing is i want it to not get cut ingame though
That's something you need to specify in the item definition file of that specific item.
Has (unfortunately) nothing to do with the model
item definition file = the files in assets/<namespace>/items/
-# not to be confused with the model files in assets/<namespace>/models/item
basically you need to add "oversized_in_gui": true in the root of the relevant item definition file
that tells the game that all models that use that item definition file (either natively or via the item_model component) can render oversized in the gui
well, "model": "" would need a valid value, but otherwise like that, yeah
yeah
Depending on the item the part before that would be more complex, but for a simple item (like a stick or a sword) that would be all.
wait what do i need to put in there actually
sorry im really new to these things lol
the path to your item model (starting after the models folder)
so something like "minecraft:item/feather"
-# if you'd want assets/minecraft/models/item/feather.json
rn the resourcepack applies models onto items with the base item of potions and diamond shovels, and theres also a cit mod being used
holdon lemme try rq
ah, no idea how CIT handles item definition files
item definition files can already handle most CIT cases without mods (besides the regex parts)
i mean the cit part i already have working
only issue now is just the models being cut off
so for assets/minecraft/models/item/<path>/model.json it would be like minecraft:item/<path>/model or something?
yes
with CIT though all you might need is:
assets/minecraft/items/diamond_shovel.json
{
"model": {
"type": "minecraft:model",
"model": "minecraft:item/diamond_shovel"
},
"oversized_in_gui": true
}```
and
assets/minecraft/items/potion.json
{
"model": {
"type": "minecraft:model",
"model": "minecraft:item/potion",
"tints": [
{
"type": "minecraft:potion",
"default": -13083194
}
]
},
"oversized_in_gui": true
}```
(so not one per custom model, but just per base-item)
hold on
im not sure whats going on exactly
i think the file is working but its just turning all models of other resourcepacks i have on right now (that has a lower priority than mine) to use the potion model
to use the potion model
If the lower packs also tried to modify that file that would be the case, yeah
if the lower packs are all CIT based then that's an issue with the mod 🤷♂️
i dont think the lower packs need the cit mod to work so
had a looksie through the lower packs and they mess with the potion model quite a lot actually
but just putting a value in "model":"" doesnt work for me either
rn this is for a model nirvana.json in assets/minecraft/models/item/mythos/nirvana.json
item definition files do not go in the models folder
oh wait, nvm
you meant that differently
anyways, unless the item has "item_model=nirvana" as item copmonent that won't do anything
(or "item_model=your_folders/nirvana" if you have more folders inside the "items" folder)
does this mean it acts on (or detect stuff from) the ingame item rather than the model itself?
actually this probably explains it
yes
i should close this for now