#Custom Resource Pack

46 messages · Page 1 of 1 (latest)

ornate iris
#

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.

unreal wraithBOT
#
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.

rancid mountain
ornate iris
rancid mountain
ornate iris
#

1.21

rancid mountain
#

1.21.0? or a specific version of 1.21?

ornate iris
#

1.21.1

#

that's my server version

rancid mountain
#

custom armor textures were only added in 1.21.2 though unfortunately (without changing existing armor textures or using shader workarounds)

ornate iris
#

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

rancid mountain
#

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...

▶ Play video
#

(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

ornate iris
#

but can I still use the custom model data?

rancid mountain
#

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)

ornate iris
#

i'll be on 1.21.3 for a while so i'll be fine

#

a year or 2

rancid mountain
#

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

ornate iris
#

Ok

rancid mountain
#

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)

ornate iris
#

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!!

ornate iris
#

@rancid mountain

#

still showing as netherite I've tried the video and it's still nothing

#

don't know exactly what's wrong

rancid mountain
#

and what comand you used to give yourself the items

ornate iris
#

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

rancid mountain
#

that the first one specifies that your item should use that armor model when equipped on the head slot

ornate iris
#

that makes 0 sense... lmao

rancid mountain
#

no? it makes 100% sense

ornate iris
#

i'm dense excuse me lol

rancid mountain
#

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

ornate iris
#

ah ok