3

1 works & not the other?

A E Bunny's Avatar A E Bunny3/14/24 10:25 am
3/14/2024 2:30 pm
ScotsMiser's Avatar ScotsMiser
Java 1.20.4

Got a Resource / Datapack I am making.
I have 1 .json model called flam1.json
It is saved in the correct animals folder

In the Datapack, in models/items is:
flint.json

the notepad coding for the flint is:

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

"overrides": [
{"predicate": {"custom_model_data":42}, "model": "animals/flam1"}
]
}

If I summon an armor stand with the added code: tag:{CustomModelData:42}
The armor stand correctly has the model instead of the flint.

In the same models/items folder, I copied & renamed it:
coal.json

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

"overrides": [
{"predicate": {"custom_model_data":99}, "model": "animals/bunny1"}
]
}

But the summoned armor stand with a coal just gives me the purple/black block.

What am I doing wrong?
Posted by A E Bunny's Avatar
A E Bunny
Level 1 : New Miner
0

Create an account or sign in to comment.

1

ScotsMiser
03/14/2024 2:30 pm
Level 38 : Artisan Miner
ScotsMiser's Avatar
I don't know, I had problems with renamed textures not working in 1.20.4 (despite working in 1.20.1) 😠

see Omni-Indicating Observers for details…


If you find out what's going on please tip me off
3
Planet Minecraft

Website

© 2010 - 2024
www.planetminecraft.com

Welcome