#How to have a customized texture if the item has no NBTs and a basic texture if it is modified

1 messages · Page 1 of 1 (latest)

maiden idol
#

How to have a customized texture if the item has no NBTs and a basic texture if it is modified

wispy wigeonBOT
#

<@&1201956957406109788>

Someone will come and help soon!

💬 While you wait, take this time to provide more context and details.

                        🙇 After a while, hit the Summon Helpers button to ping the helper team. They'll be happy to help you


                        
                        ✅ Once your question has been resolved (or you no longer need it), please click Resolve Question or run /resolve
#
⚠️ You already have a question open!

Don't forget to close or resolve your old questions once you're done with them. It makes our lives much easier! :D

Open question: #1205561718701297694

maiden idol
# wispy wolf wdym?

I want to apply my texture only on default item. I have edited the arrow but the arrow appear in many servers menu so I want to see the original texture of Minecraft in this case (in all case except when a player get it normally). I think we can see if the item has NBT and if it doesnt have I would my custom texture on it.

jolly dawn
#

So, just a regular resource pack?

#

I’m confused

#

Ah

#

I see

maiden idol
#

no... my english make me cry

jolly dawn
#

No, no

#

I understand now

#

I’m not sure of the best way to do that.

#

Do you own or operate the server?

maiden idol
#

no the pack is for "client" so its not for my/one server, the pack must be used on all world and servers

wispy wigeonBOT
# wispy wigeon <@&1201956957406109788>

<@&935561184806060073> <@&1202694677766348840>

**🙇 Helpers Arise!**

Please note that you still might not immediately get a response since all helpers are human beings and volunteers (and also might be sleeping right now)

jolly dawn
#

I honestly have no idea if this is even possible

maiden idol
#

I have think of something like this (with models) but I dont know how to complete this code

{
    "parent": "item/generated",
    "textures": {
        "layer0": "item/arrow"
    },

    "overrides": [
    {"predicate": {<has_nbt = False>}, "model": "item/<my_texture>"}
    ]
}
marble pecan
#

Not without mods, yeah

#

You'd just need to do CustomModelData

maiden idol
#

okay sad