I am making a texture pack that adds a unique item texture for every single painting type in the creative inventory. I got this idea from DiamondGamerAsh's Axolotl Bucket CIT and Nametag CIT. I have used both their code for reference, but it just won't work.
Here is my code in .../assets/minecraft/items/painting.json:
I am having the same issue as well, except with swords. I figured out that it needs to have a model folder file that refers to the texture. I still can't figure it out though. Here's my code if it helps at all.
Update: I figured it out. I didn't put the emerald_sword file in the correct folder which is "assets/minecraft/models/item" This allowed the model to update. *facepalm* So you need 2 files, one in "minecraft/items" and one in "minecraft/models/items"
I believe you merely forgot to specify the minecraft namespace in "when". (it's been happening lately that not specifying should default to the minecraft namespace, but fails to do so)
Hello, people of the Minecraft Forums.
I am making a texture pack that adds a unique item texture for every single painting type in the creative inventory. I got this idea from DiamondGamerAsh's Axolotl Bucket CIT and Nametag CIT. I have used both their code for reference, but it just won't work.
Here is my code in .../assets/minecraft/items/painting.json:
I don't see why this wouldn't work. The "minecraft:item/painting_alban" references the file at .../assets/minecraft/models/item/painting_alban.json.
Please help me understand this.
Edit: When I reload the texture pack, all paintings turn into Missing Texture blocks.
I am having the same issue as well, except with swords. I figured out that it needs to have a model folder file that refers to the texture. I still can't figure it out though. Here's my code if it helps at all.
Update: I figured it out. I didn't put the emerald_sword file in the correct folder which is "assets/minecraft/models/item" This allowed the model to update. *facepalm* So you need 2 files, one in "minecraft/items" and one in "minecraft/models/items"
Then the model folder file:
That's the thing: I have both files. I'll try your code to see if it works.
Oh, I see. I guess I didn't read your post thoroughly enough. Apologies.
Using the following when clause i get it to show the fallback value and not giving me an error in console, but it still doesn't show what is expect.
I suspect something is weird with the "namespaced id" ones ( https://www.minecraft.net/en-us/article/minecraft-snapshot-25w03a )
Calling this a "Texture Pack" is so 2014, it's 2025, it's "Resource Pack" for at least 10 years already.
I rebuilt your code on Misode and got this:
I believe you merely forgot to specify the minecraft namespace in "when". (it's been happening lately that not specifying should default to the minecraft namespace, but fails to do so)
Meow~
#F5F8FB
KittenKatja ♥
Got it working in 25w04a.
Sprites borrowed from https://modrinth.com/resourcepack/visual-paintings
For some reason, it just started working in 25w04a.
I know. You don't have to correct me.
Thank you for the code and sprites! I probably won't be releasing this, though, because most of the work is by others.
You can call this an add-on, which is dependent on that other pack, but the other pack's dependence on Optifine is removed through your pack then.
Meow~
#F5F8FB
KittenKatja ♥