#Display Name changes Texture 1.19

1 messages Β· Page 1 of 1 (latest)

unkempt charm
#

{
"textures": {
"layer0": "item/custom/tripwire_hook"
},
"parent": "item/custom/tripwire_hook",
"overrides": [
{
"predicate": {"custom_model_data": 1},"model": "item/custom/tripwire_hook"}
]
}

So far the .json.. now I need in it to make it just the tripwire hook with name "noob" does get this texture

dreamy tide
#

Also, your textures and parent section are wrong, at least assuming you want normal tripwire hooks to look like normal tripwire hooks, else ignore what I'm saying.
Check the default tripwire_hook.json (in models/item). That's the information you should have before your override section (and nothing else).

unkempt charm
dreamy tide
#

same way as it did in 1.12 afaik

unkempt charm
#

doesn't work for me πŸ˜•

dreamy tide
#

which 1.19 version are you using?

unkempt charm
#

1.19.3

dreamy tide
#

make sure you have the latest 1.19.3 Optifine version (afaik CIT was broken for a few Optifine versions for 1.19.3)

unkempt charm
dreamy tide
unkempt charm
#

I think I just wrote the nbt.display.name line false that it didn't do anything πŸ€·β€β™‚οΈ

unkempt charm
dreamy tide
unkempt charm
#

properties is just needed for OptiFine or? because for vanilla I don't use a properties and it works fine

so how does the structure of folders look like for OptiFine?

dreamy tide
#

properties is just needed for OptiFine or? because for vanilla I don't use a properties and it works fine
Yes, but you need Optifine if you want it to be name based.
Cause vanilla "only" has CustomModelData and Damage (and some very item specific) predicates.

#

so how does the structure of folders look like for OptiFine?
same as it has in 1.12

unkempt charm
#

weird because I got everything like I did in 1.12 and it doesn't work.. I am in 1.19.2 OptiFine now

#

.properties file

type=item
matchItems=minecraft:glowstone_dust
texture=glowstone_dust.png
model=./glowstone_dust
nbt.display.Name=ipattern:glowstone

#

File structure is .minecraft\resourcepacks\119pack\assets\minecraft\mcpatcher\cit

dreamy tide
#

you can get rid of that "texture" line, the model should define the texture anyways

#

the folder should be opfitine, not mcpatcher

#

and then, assuming you have a glowstone_dust.json in the same folder as the .properties file it should work

unkempt charm
#

.minecraft\resourcepacks\119pack\assets\minecraft\optifine\cit\dust

Thats the direction now.. I removed the texture line in properties and everything is in the same Folder and its not working

dreamy tide
#

do other Optifine packs work for you?

unkempt charm
#

Yes

#

the model isnt even showing so everything doesnt work starts from the properties I guess

dreamy tide
#

can you send the properties file as a file?

unkempt charm
#

{
"credit": "Made with Blockbench",
"texture_size": [32, 32],
"textures": {
"0": "optifine/cit/dust/dust"
},
"elements": [
{

.json starts like that, should be right

dreamy tide
#

"0": "optifine/cit/dust/dust"
should be "0": "./dust"

#

but that would only be a problem once your model actually loads πŸ€”

unkempt charm
#

still nothing πŸ˜„

#

Aaah

#

that works now

#

something is wrong with nbt.display.name=ipattern:glowstone that it doesnt work

dreamy tide
#

just for context, what did you name your glowstone_dust item ingame?

unkempt charm
#

I just got a normal glowstone_dust and a renamed Dust2 to see if it works

#

now I got it

dreamy tide
#

and a renamed Dust2
yeah, you told it to change the model if it's called "glowstone"

unkempt charm
#

yeah but then it should at least change the normal glowstone_dust or am I wrong? πŸ˜„

#

bcs there is glowstone in the display name

#

or has it to be the full name now? in 1.12 is just "glowstone" needed even if the item "Glowstone Dust" called

unkempt charm
#

alright, now it works for optifine πŸ™‚ Thanks for helping!

#

!close