
Odd texture placement for the jetpack model, making their replacement via Forge CIT impossible
Blackalf14 opened this issue ยท 3 comments
Describe the bug
Iron Jetpacks stores its textures for the jetpack model (jetpack's look on players) in /textures/armor instead of /textures/models/armor like Minecraft normally does. While this looks unharmful at first, I'm trying to make custom textures for my Jetpacks using Forge CIT, while I have no issue for the item textures I couldn't succeed when it comes to the jetpack model textures, I believe that this weird texture placement might be the issue.
I am quite unsure if I can consider that as a bug or if those textures are placed here for a special reason, but it's definitely a disturbing oddity in my case.
(I am aware that you can set a color for the jetpacks inside the configs but I find making my own custom textures better)
Versions:
- Minecraft: 1.20.1
- Forge: 47.3.7
- Cucumber: 7.0.13
- Iron Jetpacks: 7.0.8
- Singleplayer or Multiplayer: Singleplayer
If any more info is required I'll try to answer as best as I can!
The purpose of Forge CIT is to be able to change textures based on certain conditions like NBTs, which comes really useful with Jetpacks, as we can't give each jetpack their own texture with a simple datapack to my knowledge due to them being the same item.
I'm quite unsure on how the mod works coding wise but based on my testing and this doc page: https://citresewn.shcm.io/cit/cit_armor/ (Forge CIT is a Forge port of Cit Resewn so they share the same doc)
"The replacement is a png texture, formatted like the vanilla armor textures (assets/minecraft/textures/models/armor/)"
It doesn't seem like you can change the folder in which textures are overrided within the .properties file options we are given.
Could make a suggestion to add this option but considering that Forge CIT's Github has been inactive for the last 11 months, I doubt any change will come.
I'm not sure how that mod works but is it really not possible to override the textures in a different folder? Normally you can just place textures in the same directories with the same file names and they'll work.
I did notice that the old textures are in /models/armor which should be cleaned up for sure. I'm slightly hesitant to change where the model is looking for the textures in current releases because that would technically be a breaking change for texture packs.
Based on those docs I think it would be something like:
ironjetpacks:jetpack_layer_1=ironjetpacks:textures/armor/jetpack.png
ironjetpacks:jetpack_layer_1_overlay=ironjetpacks:textures/armor/jetpack_overlay.png
I'm not really sure if the layer names are correct but I would assume that's what they are. The docs give examples for setting different texture paths so I would assume that works, unless that was changed in a more recent version.
As a side note the textures were put in the expected location during the 1.21 update so this shouldn't be an issue from that point on.