#how do i separate the gui item model from the held item model with a resource pack

63 messages · Page 1 of 1 (latest)

runic prawn
autumn ferryBOT
#
Welcome to the help forum!

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.

runic prawn
#

I have added the following to my BB model's json

"loader": "neoforge:composite",
"children": {
    "gui" {
        "parent": "trackChibbi.json"
    }
},```
#

File architecture:
3D Track n Rails/assets/create/models/item

track.json
trackChibbi.json
3D Track n Rails/assets/create/textures/item/standard_track
standard_track.png
standard_trackChibbi.png

#

I am attempting to replace only the displayed GUI model of track.json with trackChibbi.json

#

currently track.json is working and is being rendered properly in game (see image 1)
however im trying to replace (image 2) with (image 3)'s model

runic prawn
runic prawn
wooden star
runic prawn
wooden star
#

did you change the model references in the files themselves too?

#

also, shouldn't it be create:item/track_chibbi and create:item/track?

runic prawn
wooden star
#

parents are other model files, not textures

runic prawn
#

oh then yes i did change them

#

now do i need to make the chibbi model the primary and then use a parent to override all but the gui display's or am i on the right path with trying to overwrite the gui display on the standered track model with the chibbi model

#

the neoForge doc page im reading seems to be refrenceing changeing a part of the model it self with another model rather nthan changeing display settings

wooden star
runic prawn
#

different models

wooden star
runic prawn
wooden star
#

"no change" as in it's an error cube or as in it's the default track model?

runic prawn
#

still have the error cube

runic prawn
wooden star
#

Then I'm not quite sure either tbh.
What errors does the output log throw when reloading the pack?

wooden star
#

for example, though preferably it would be a real-time updating one

#

!faq output-log

autumn ferryBOT
# wooden star !faq output-log
FAQ
Java: Output Log

The output log will show you errors related to resource packs in Minecraft: Java Edition. Here is how you can enable it.
(PS: Optifine likes to hide vanilla errors/warnings for some weird reason, so always load the game up without it if you don't need it for your pack to work!)
If you don't understand the errors/warnings feel free to show and ask about them (in a help channel).

wooden star
#

basically like the default one

runic prawn
#

ok then no

#

i sent a chat message before and after reloading the pack and nothing was between them in the log

#

isnt line 7 "perspectives" what used to be used before "display"

wooden star
#

display has existed since forever
"perspectives" is for swapping models (according to what you linked and what I have seen online)

runic prawn
#

so

#

i reverted the file back to when it was working with the original model with working textures
then i tried adding your edit and i got the cube
tried doing this edit #1129320551178055760 message and i got the cube
only adding the loader line gives the cube as well

wooden star
#

weird, error model should always put some kind of message in the log when reloading the pack ingame 🤔

runic prawn
#

ah i found it

#
com.google.gson.JsonParseException: Model loader 'neoforge:separate_transforms' not found. Registered loaders: immersiveengineering:conf_sides, structurize:overlaid, immersiveengineering:ie_obj, sophisticatedbackpacks:backpack, framedblocks:overlay, immersiveengineering:basic_split, forge:elements, forge:obj, athena:athena, immersiveengineering:models/coresample, sophisticatedstorage:barrel, sophisticatedstorage:limited_barrel, immersiveengineering:potion_bucket, sophisticatedstorage:chest, forge:empty, immersiveengineering:feedthrough, domum_ornamentum:materially_textured, sophisticatedstorage:shulker_box, forge:fluid_container, forge:composite, forge:separate_transforms, immersiveengineering:mirror, sophisticatedstorage:simple_composite, forge:item_layers, framework:open_model, immersiveengineering:models/conveyor```
#
com.google.gson.JsonParseException: Model loader 'neoforge:composite' not found. Registered loaders: immersiveengineering:conf_sides, structurize:overlaid, immersiveengineering:ie_obj, sophisticatedbackpacks:backpack, framedblocks:overlay, immersiveengineering:basic_split, forge:elements, forge:obj, athena:athena, immersiveengineering:models/coresample, sophisticatedstorage:barrel, sophisticatedstorage:limited_barrel, immersiveengineering:potion_bucket, sophisticatedstorage:chest, forge:empty, immersiveengineering:feedthrough, domum_ornamentum:materially_textured, sophisticatedstorage:shulker_box, forge:fluid_container, forge:composite, forge:separate_transforms, immersiveengineering:mirror, sophisticatedstorage:simple_composite, forge:item_layers, framework:open_model, immersiveengineering:models/conveyor```
wooden star
#

oh, try "forge:separate_transform"

runic prawn
#

well we've got a change

#

missing hand and the correct model for the item but the texutes are broken

#

"forge:separate_transform" is the closest so far

#

can confirm that the second model is being used for the gui

wooden star
#

so there is just a texture reference wrong in the gui model?

#

oh wait, you said it's using the wrong model

runic prawn
runic prawn
#

and the gui is the right model but the second texture isnt loading

wooden star
#

because you told it that the base model is this

    "textures": {
            "0": "create:item/standard_track/standard_track",
            "particle": "create:item/standard_track/standard_track"
        }
runic prawn
#

i got the texture working

#

the second assigned texture on the chibbi file was spelled wrong

#

lol

runic prawn
#

how did I ever convince myself that small changes would be quick and easy

proven lily
#

Mind if I post this here as the answer to this problem? Given that this is an issue with specifically transforms, the linked post goes over exactly how to use them.
Anyways, Good luck with the pack creation. Hopefully this was the worst of the problems you will run into.

Guide on how to use separate_transforms for Forge/Neo: https://canary.discord.com/channels/314078526104141834/1387623540856979536

runic prawn
#

yep no worries im gonna link it in the original post as well