I'm trying to make a custom resource pack with armor and tools, and my issue is I've heard to make a custom armor texture that is bound by Custom Model Data you need a datapack, but I also want to make it trimable but I don't know exactly where to start and I don't exactly have the money to comission anyone to help me fulltime on this I wondering if someone could lead me in the right direction on this.
#Custom Resource Pack
46 messages · Page 1 of 1 (latest)
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.
Iirc it being trimable is automatically supported. (or maybe it's its own item component now, not too sure with all the new component changes in the snapshots).
Either way, texture wise it shouldn't change much.
but my question is how can I import it in? I made the texture pack, I applied a custom model data to it, and when i give myself the item i just get this
https://i.imgur.com/0IhTBBE.png
but i try to wear it i still shows as netherite
which version of Minecraft are you using?
1.21
1.21.0? or a specific version of 1.21?
custom armor textures were only added in 1.21.2 though unfortunately (without changing existing armor textures or using shader workarounds)
i can go to 1.21.2
dunno if paper is available for 1.21.2
but i can
but how can I do this for 1.21.2 and does it work for 1.21.3? because paper is available for 1.21.3
You'd need to specify a "custom equipment model" in your resource pack (the name is a red herring cause it only lets you choose existing armor models (horse, player etc.)).
Haven't done it myself either to be fair.
Here is a tutorial though (timestamped to the relevant part)
https://youtu.be/vdQ7W-kDooQ?t=857
Link to check the changelog
https://www.minecraft.net/de-de/article/minecraft-java-edition-1-21-2
Link to edit the armor texture
https://minecraft.novaskin.me/resourcepacks#default/assets/minecraft/textures/models/armor
TimeStamps
00:00 Introduction
00:30 Fast look up to change log
01:59 Structure of the video
02:21 Item model with 2d model
08...
(only difference is that he uses the new "item_model" component instead of "custom_model_data"
might be a good idea to swap to that though cause I feel like they might phase out custom_model_data slowly (in favor of that item_model component)
also makes the model independent of any specific item
but can I still use the custom model data?
you can still use it, but in 1.21.4 they changed the whole "overrides" part of item models, so you'd need to update it there (if you plan to update to 1.21.4 or newer in the future)
item_model basically is a component that lets you directly put any model on an item (with the command) without needingto make that whole custom-model_data overrides stuff
Ok
so I could give myself a diamond that looks like an emerald (works the same for custom models)
/give @s diamond[minecraft:item_model="emerald"]
(this basically gives you a diamond with the model item/emerald.json)
well my code for papermc gives items with custom model data so i need to attach it with it in the resourcepack
so until it's removed i'll continue to use it
Thank you so much this helps!!
@rancid mountain
still showing as netherite I've tried the video and it's still nothing
don't know exactly what's wrong
can you show what files you created and what you put in them?
and what comand you used to give yourself the items
it was the command....
/give @a netherite_helmet[minecraft:custom_model_data=79421,minecraft:equippable={slot:'head',model:'satanic_armor'}]
i needed this
but i did /give @p netherite_helmet[custom_model_data=79421]
this
wtf is the difference
that the first one specifies that your item should use that armor model when equipped on the head slot
that makes 0 sense... lmao
no? it makes 100% sense
i'm dense excuse me lol
if you never tell the item to use your custom armor textures it will just fall back to the default one (or show the normal item model in the case of none-armor items)
custom_model_data only affects the actual item model, not the armor model
ah ok