Exporting Correctly
Posted: 20 Dec 2017, 03:05
Okay... So for the life of me I can't get this to work. I want 3D models, with custom textures, on specific item durabilities. Should be fairly straight forward.
I'm using iron_sword, and right now just the first dura value, so 0.00398406374, and then the default iron sword on full dura, so 0.
What I've done now, which isn't working, is
in minecraft/models/item I have iron_sword.json and iron_sword1.json
iron_sword.json looks like this
And iron_sword1.json looks like this
(it continues but there are a ton, the rest is just the elements section).
Then the texture is saved in minecraft/textures/models/items as 1hansolo.png
in game both the default iron sword texture and the durability value one show up as the cube black/purple. I've tried a TON of stuff, moving the files around to different locations etc but none of it is working. What am I doing wrong?
I'm using iron_sword, and right now just the first dura value, so 0.00398406374, and then the default iron sword on full dura, so 0.
What I've done now, which isn't working, is
in minecraft/models/item I have iron_sword.json and iron_sword1.json
iron_sword.json looks like this
Code: Select all
{
"parent": "item/handheld",
"textures": {
"layer0": "items/iron_sword"
},
"overrides": [
{ "predicate": {"damaged": 1, "damage": 0}, "model": "item/iron_sword"},
{ "predicate": {"damaged": 0, "damage": 0}, "model": "item/iron_sword"},
{ "predicate": {"damaged": 0, "damage": 0.00398406374}, "model": "item/iron_sword1"},
}
Code: Select all
{
"__comment": "Designed by Matt Hartnett with Cubik Studio - https://cubik.studio",
"textures": {
"particle": "mesh_palette",
"texture": "mesh_palette",
"mesh_palette": "item/1hansolo"
},
"elements": [
Then the texture is saved in minecraft/textures/models/items as 1hansolo.png
in game both the default iron sword texture and the durability value one show up as the cube black/purple. I've tried a TON of stuff, moving the files around to different locations etc but none of it is working. What am I doing wrong?