1

Help with a resource pack model

Professor Pinny's Avatar Professor Pinny10/8/18 3:03 pm
1 emeralds 183 7
10/8/2018 4:50 pm
oakar258's Avatar oakar258
Hey there, I've been working on redesigning damaged diamond/gold hoes to add trophies into my game. I've successfully added one using a very damaged diamond hoe, but when I try and add one for another durability, or even another tool it seems to be bugged out with the missing texture colors. I'm thinking that there is an error in my JSON file, but since I'm using Mr. Crayfish's model creator I have literally no clue what I'm doing. I was wondering if someone could give me some insight on how to resolve this problem.

Original Code (malfunctioning)
{
"__comment": "Model generated using MrCrayfish's Model Creator (mrcrayfish.com/modelcreator/)",
"textures": {
"0": "blocks/purpur_block",
"1": "blocks/anvil",
"2": "blocks/oak_log",
"3": "blocks/cyan_wool",
"4": "blocks/white_terracotta",
"5": "blocks/lime_concrete_powder"
},
"elements": [
{
"name": "Cube",
"from": 2.0, 0.0, 2.0 ],
"to": [ 14.0, 1.0, 14.0 ],
"faces": {
"north": { "texture": "#0", "uv": [ 0.0, 0.0, 12.0, 1.0 ] },
"east": { "texture": "#0", "uv": [ 0.0, 0.0, 12.0, 1.0 ] },
"south": { "texture": "#0", "uv": [ 0.0, 0.0, 12.0, 1.0 ] },
"west": { "texture": "#0", "uv": [ 0.0, 0.0, 12.0, 1.0 ] },
"up": { "texture": "#0", "uv": [ 0.0, 0.0, 12.0, 12.0 ] },
"down": { "texture": "#0", "uv": [ 0.0, 0.0, 12.0, 12.0 ] }
}
},
{
"name": "Cube",
"from": [ 3.0, 1.0, 3.0 ],
"to": [ 13.0, 2.0, 13.0 ],
"faces": {
"north": { "texture": "#0", "uv": [ 0.0, 0.0, 10.0, 1.0 ] },
"east": { "texture": "#0", "uv": [ 0.0, 0.0, 10.0, 1.0 ] },
"south": { "texture": "#0", "uv": [ 0.0, 0.0, 10.0, 1.0 ] },
"west": { "texture": "#0", "uv": [ 0.0, 0.0, 10.0, 1.0 ] },
"up": { "texture": "#0", "uv": [ 0.0, 0.0, 10.0, 10.0 ] },
"down": { "texture": "#0", "uv": [ 0.0, 0.0, 10.0, 10.0 ] }
}
},
{
"name": "Cube",
"from": [ 5.0, 2.0, 5.0 ],
"to": [ 11.0, 3.0, 11.0 ],
"faces": {
"north": { "texture": "#0", "uv": [ 0.0, 0.0, 6.0, 1.0 ] },
"east": { "texture": "#0", "uv": [ 0.0, 0.0, 6.0, 1.0 ] },
"south": { "texture": "#0", "uv": [ 0.0, 0.0, 6.0, 1.0 ] },
"west": { "texture": "#0", "uv": [ 0.0, 0.0, 6.0, 1.0 ] },
"up": { "texture": "#0", "uv": [ 0.0, 0.0, 6.0, 6.0 ] },
"down": { "texture": "#0", "uv": [ 0.0, 0.0, 6.0, 6.0 ] }
}
},
{
"name": "Cube",
"from": [ 6.0, 3.0, 6.0 ],
"to": [ 10.0, 4.0, 10.0 ],
"faces": {
"north": { "texture": "#1", "uv": [ 0.0, 0.0, 4.0, 1.0 ] },
"east": { "texture": "#1", "uv": [ 0.0, 0.0, 4.0, 1.0 ] },
"south": { "texture": "#1", "uv": [ 0.0, 0.0, 4.0, 1.0 ] },
"west": { "texture": "#1", "uv": [ 0.0, 0.0, 4.0, 1.0 ] },
"up": { "texture": "#1", "uv": [ 0.0, 0.0, 4.0, 4.0 ] },
"down": { "texture": "#1", "uv": [ 0.0, 0.0, 4.0, 4.0 ] }
}
},
{
"name": "Cube",
"from": [ 7.0, 3.0, 7.0 ],
"to": [ 9.0, 7.0, 9.0 ],
"faces": {
"north": { "texture": "#2", "uv": [ 0.0, 0.0, 2.0, 4.0 ] },
"east": { "texture": "#2", "uv": [ 0.0, 0.0, 2.0, 4.0 ] },
"south": { "texture": "#2", "uv": [ 0.0, 0.0, 2.0, 4.0 ] },
"west": { "texture": "#2", "uv": [ 0.0, 0.0, 2.0, 4.0 ] },
"up": { "texture": "#2", "uv": [ 0.0, 0.0, 2.0, 2.0 ] },
"down": { "texture": "#2", "uv": [ 0.0, 0.0, 2.0, 2.0 ] }
}
},
{
"name": "Cube",
"from": [ 6.0, 7.0, 5.0 ],
"to": [ 10.0, 10.0, 11.0 ],
"faces": {
"north": { "texture": "#3", "uv": [ 0.0, 0.0, 4.0, 3.0 ] },
"east": { "texture": "#4", "uv": [ 0.0, 0.0, 6.0, 3.0 ] },
"south": { "texture": "#4", "uv": [ 0.0, 0.0, 4.0, 3.0 ] },
"west": { "texture": "#4", "uv": [ 0.0, 0.0, 6.0, 3.0 ] },
"up": { "texture": "#3", "uv": [ 0.0, 0.0, 4.0, 6.0 ] },
"down": { "texture": "#4", "uv": [ 0.0, 0.0, 4.0, 6.0 ] }
}
},
{
"name": "Cube",
"from": [ 5.0, 6.0, 11.0 ],
"to": [ 11.0, 9.0, 13.0 ],
"faces": {
"north": { "texture": "#3", "uv": [ 0.0, 0.0, 6.0, 3.0 ] },
"east": { "texture": "#3", "uv": [ 0.0, 0.0, 2.0, 3.0 ] },
"south": { "texture": "#3", "uv": [ 0.0, 0.0, 6.0, 3.0 ] },
"west": { "texture": "#3", "uv": [ 0.0, 0.0, 2.0, 3.0 ] },
"up": { "texture": "#3", "uv": [ 0.0, 0.0, 6.0, 2.0 ] },
"down": { "texture": "#3", "uv": [ 0.0, 0.0, 6.0, 2.0 ] }
}
},
{
"name": "Cube",
"from": [ 5.0, 7.0, 13.0 ],
"to": [ 7.0, 8.0, 14.0 ],
"faces": {
"north": { "texture": "#5", "uv": [ 0.0, 0.0, 2.0, 1.0 ] },
"east": { "texture": "#3", "uv": [ 0.0, 0.0, 1.0, 1.0 ] },
"south": { "texture": "#5", "uv": [ 0.0, 0.0, -8.0, 0.0 ] },
"west": { "texture": "#3", "uv": [ 0.0, 0.0, 0.0, 14.0 ] },
"up": { "texture": "#5", "uv": [ 0.0, 0.0, 2.0, 1.0 ] },
"down": { "texture": "#5", "uv": [ 0.0, 0.0, 2.0, 1.0 ] }
}
},
{
"name": "Cube",
"from": [ 9.0, 7.0, 13.0 ],
"to": [ 11.0, 8.0, 14.0 ],
"faces": {
"north": { "texture": "#5", "uv": [ 0.0, 0.0, 2.0, 1.0 ] },
"east": { "texture": "#3", "uv": [ 0.0, 0.0, 1.0, 1.0 ] },
"south": { "texture": "#5", "uv": [ 0.0, 0.0, -8.0, 0.0 ] },
"west": { "texture": "#3", "uv": [ 0.0, 0.0, 0.0, 14.0 ] },
"up": { "texture": "#5", "uv": [ 0.0, 0.0, 2.0, 1.0 ] },
"down": { "texture": "#5", "uv": [ 0.0, 0.0, 2.0, 1.0 ] }
}
},
{
"name": "Cube",
"from": [ 7.0, 7.0, 13.0 ],
"to": [ 9.0, 8.0, 14.0 ],
"faces": {
"north": { "texture": "#3", "uv": [ 0.0, 0.0, 2.0, 1.0 ] },
"east": { "texture": "#3", "uv": [ 0.0, 0.0, 1.0, 1.0 ] },
"south": { "texture": "#3", "uv": [ 0.0, 0.0, -8.0, 0.0 ] },
"west": { "texture": "#3", "uv": [ 0.0, 0.0, 0.0, 14.0 ] },
"up": { "texture": "#3", "uv": [ 0.0, 0.0, 2.0, 1.0 ] },
"down": { "texture": "#3", "uv": [ 0.0, 0.0, 2.0, 1.0 ] }
}
},
{
"name": "Cube",
"from": [ 5.0, 8.0, 13.0 ],
"to": [ 11.0, 9.0, 14.0 ],
"faces": {
"north": { "texture": "#3", "uv": [ 0.0, 0.0, 6.0, 1.0 ] },
"east": { "texture": "#3", "uv": [ 0.0, 0.0, 1.0, 1.0 ] },
"south": { "texture": "#3", "uv": [ 0.0, 0.0, -8.0, 0.0 ] },
"west": { "texture": "#3", "uv": [ 0.0, 0.0, 0.0, 14.0 ] },
"up": { "texture": "#3", "uv": [ 0.0, 0.0, 6.0, 1.0 ] },
"down": { "texture": "#3", "uv": [ 0.0, 0.0, 6.0, 1.0 ] }
}
},
{
"name": "Cube",
"from": [ 5.0, 6.0, 13.0 ],
"to": [ 11.0, 7.0, 14.0 ],
"faces": {
"north": { "texture": "#3", "uv": [ 0.0, 0.0, 6.0, 1.0 ] },
"east": { "texture": "#3", "uv": [ 0.0, 0.0, 1.0, 1.0 ] },
"south": { "texture": "#3", "uv": [ 0.0, 0.0, -8.0, 0.0 ] },
"west": { "texture": "#3", "uv": [ 0.0, 0.0, 0.0, 14.0 ] },
"up": { "texture": "#3", "uv": [ 0.0, 0.0, 6.0, 1.0 ] },
"down": { "texture": "#3", "uv": [ 0.0, 0.0, 6.0, 1.0 ] }
}
},
{
"name": "Cube",
"from": [ 6.0, 9.0, 11.0 ],
"to": [ 10.0, 10.0, 12.0 ],
"faces": {
"north": { "texture": "#3", "uv": [ 0.0, 0.0, 4.0, 1.0 ] },
"east": { "texture": "#3", "uv": [ 0.0, 0.0, 1.0, 1.0 ] },
"south": { "texture": "#3", "uv": [ 0.0, 0.0, -8.0, 0.0 ] },
"west": { "texture": "#3", "uv": [ 0.0, 0.0, 0.0, 14.0 ] },
"up": { "texture": "#3", "uv": [ 0.0, 0.0, 4.0, 1.0 ] },
"down": { "texture": "#3", "uv": [ 0.0, 0.0, 4.0, 1.0 ] }
}
},
{
"name": "Cube",
"from": [ 10.0, 8.0, 6.0 ],
"to": [ 12.0, 10.0, 11.0 ],
"faces": {
"north": { "texture": "#3", "uv": [ 0.0, 0.0, 2.0, 2.0 ] },
"east": { "texture": "#3", "uv": [ 0.0, 0.0, 5.0, 2.0 ] },
"south": { "texture": "#3", "uv": [ 0.0, 0.0, -8.0, 0.0 ] },
"west": { "texture": "#3", "uv": [ 0.0, 0.0, 0.0, 14.0 ] },
"up": { "texture": "#3", "uv": [ 0.0, 0.0, 2.0, 5.0 ] },
"down": { "texture": "#4", "uv": [ 0.0, 0.0, 2.0, 5.0 ] }
}
},
{
"name": "Cube",
"from": [ 4.0, 8.0, 6.0 ],
"to": [ 6.0, 10.0, 11.0 ],
"faces": {
"north": { "texture": "#3", "uv": [ 0.0, 0.0, 2.0, 2.0 ] },
"east": { "texture": "#3", "uv": [ 0.0, 0.0, 5.0, 2.0 ] },
"south": { "texture": "#3", "uv": [ 0.0, 0.0, -8.0, 0.0 ] },
"west": { "texture": "#3", "uv": [ 0.0, 0.0, 0.0, 14.0 ] },
"up": { "texture": "#3", "uv": [ 0.0, 0.0, 2.0, 5.0 ] },
"down": { "texture": "#4", "uv": [ 0.0, 0.0, 2.0, 5.0 ] }
}
},
{
"name": "Cube",
"from": [ 0.0, 8.0, 6.0 ],
"to": [ 4.0, 9.0, 11.0 ],
"rotation": { "origin": [ 8.0, 8.0, 8.0 ], "axis": "z", "angle": -22.5 },
"faces": {
"north": { "texture": "#3", "uv": [ 0.0, 0.0, 4.0, 1.0 ] },
"east": { "texture": "#3", "uv": [ 0.0, 0.0, 5.0, 1.0 ] },
"south": { "texture": "#3", "uv": [ 0.0, 0.0, -8.0, 0.0 ] },
"west": { "texture": "#3", "uv": [ 0.0, 0.0, 0.0, 14.0 ] },
"up": { "texture": "#3", "uv": [ 0.0, 0.0, 4.0, 5.0 ] },
"down": { "texture": "#4", "uv": [ 0.0, 0.0, 4.0, 5.0 ] }
}
},
{
"name": "Cube",
"from": [ 12.0, 8.0, 6.0 ],
"to": [ 16.0, 9.0, 11.0 ],
"rotation": { "origin": [ 8.0, 8.0, 8.0 ], "axis": "z", "angle": 22.5 },
"faces": {
"north": { "texture": "#3", "uv": [ 0.0, 0.0, 4.0, 1.0 ] },
"east": { "texture": "#3", "uv": [ 0.0, 0.0, 5.0, 1.0 ] },
"south": { "texture": "#3", "uv": [ 0.0, 0.0, -8.0, 0.0 ] },
"west": { "texture": "#3", "uv": [ 0.0, 0.0, 0.0, 14.0 ] },
"up": { "texture": "#3", "uv": [ 0.0, 0.0, 4.0, 5.0 ] },
"down": { "texture": "#4", "uv": [ 0.0, 0.0, 4.0, 5.0 ] }
}
},
{
"name": "Cube",
"from": [ 7.0, 7.0, 0.0 ],
"to": [ 9.0, 9.0, 5.0 ],
"rotation": { "origin": [ 8.0, 8.0, 8.0 ], "axis": "x", "angle": 22.5 },
"faces": {
"north": { "texture": "#3", "uv": [ 0.0, 0.0, 2.0, 2.0 ] },
"east": { "texture": "#3", "uv": [ 0.0, 0.0, 5.0, 2.0 ] },
"south": { "texture": "#3", "uv": [ 0.0, 0.0, -8.0, 0.0 ] },
"west": { "texture": "#3", "uv": [ 0.0, 0.0, 0.0, 14.0 ] },
"up": { "texture": "#3", "uv": [ 0.0, 0.0, 2.0, 5.0 ] },
"down": { "texture": "#4", "uv": [ 0.0, 0.0, 2.0, 5.0 ] }
}
}
]
}

After researching a bit I found that sometimes people claim that the "name" and "comment" lines should be removed altogether. So I did this for my first one and it did work, but when I tired to add this one there was still an error somewhere.

Code Without "name" & "comment" (malfunctioning)
{
"textures": {
"0": "blocks/purpur_block",
"1": "blocks/anvil",
"2": "blocks/oak_log",
"3": "blocks/cyan_wool",
"4": "blocks/white_terracotta",
"5": "blocks/lime_concrete_powder"
},
"elements": [
{
"from": 2.0, 0.0, 2.0 ],
"to": [ 14.0, 1.0, 14.0 ],
"faces": {
"north": { "texture": "#0", "uv": [ 0.0, 0.0, 12.0, 1.0 ] },
"east": { "texture": "#0", "uv": [ 0.0, 0.0, 12.0, 1.0 ] },
"south": { "texture": "#0", "uv": [ 0.0, 0.0, 12.0, 1.0 ] },
"west": { "texture": "#0", "uv": [ 0.0, 0.0, 12.0, 1.0 ] },
"up": { "texture": "#0", "uv": [ 0.0, 0.0, 12.0, 12.0 ] },
"down": { "texture": "#0", "uv": [ 0.0, 0.0, 12.0, 12.0 ] }
}
},
{
"from": [ 3.0, 1.0, 3.0 ],
"to": [ 13.0, 2.0, 13.0 ],
"faces": {
"north": { "texture": "#0", "uv": [ 0.0, 0.0, 10.0, 1.0 ] },
"east": { "texture": "#0", "uv": [ 0.0, 0.0, 10.0, 1.0 ] },
"south": { "texture": "#0", "uv": [ 0.0, 0.0, 10.0, 1.0 ] },
"west": { "texture": "#0", "uv": [ 0.0, 0.0, 10.0, 1.0 ] },
"up": { "texture": "#0", "uv": [ 0.0, 0.0, 10.0, 10.0 ] },
"down": { "texture": "#0", "uv": [ 0.0, 0.0, 10.0, 10.0 ] }
}
},
{
"from": [ 5.0, 2.0, 5.0 ],
"to": [ 11.0, 3.0, 11.0 ],
"faces": {
"north": { "texture": "#0", "uv": [ 0.0, 0.0, 6.0, 1.0 ] },
"east": { "texture": "#0", "uv": [ 0.0, 0.0, 6.0, 1.0 ] },
"south": { "texture": "#0", "uv": [ 0.0, 0.0, 6.0, 1.0 ] },
"west": { "texture": "#0", "uv": [ 0.0, 0.0, 6.0, 1.0 ] },
"up": { "texture": "#0", "uv": [ 0.0, 0.0, 6.0, 6.0 ] },
"down": { "texture": "#0", "uv": [ 0.0, 0.0, 6.0, 6.0 ] }
}
},
{
"from": [ 6.0, 3.0, 6.0 ],
"to": [ 10.0, 4.0, 10.0 ],
"faces": {
"north": { "texture": "#1", "uv": [ 0.0, 0.0, 4.0, 1.0 ] },
"east": { "texture": "#1", "uv": [ 0.0, 0.0, 4.0, 1.0 ] },
"south": { "texture": "#1", "uv": [ 0.0, 0.0, 4.0, 1.0 ] },
"west": { "texture": "#1", "uv": [ 0.0, 0.0, 4.0, 1.0 ] },
"up": { "texture": "#1", "uv": [ 0.0, 0.0, 4.0, 4.0 ] },
"down": { "texture": "#1", "uv": [ 0.0, 0.0, 4.0, 4.0 ] }
}
},
{
"from": [ 7.0, 3.0, 7.0 ],
"to": [ 9.0, 7.0, 9.0 ],
"faces": {
"north": { "texture": "#2", "uv": [ 0.0, 0.0, 2.0, 4.0 ] },
"east": { "texture": "#2", "uv": [ 0.0, 0.0, 2.0, 4.0 ] },
"south": { "texture": "#2", "uv": [ 0.0, 0.0, 2.0, 4.0 ] },
"west": { "texture": "#2", "uv": [ 0.0, 0.0, 2.0, 4.0 ] },
"up": { "texture": "#2", "uv": [ 0.0, 0.0, 2.0, 2.0 ] },
"down": { "texture": "#2", "uv": [ 0.0, 0.0, 2.0, 2.0 ] }
}
},
{
"from": [ 6.0, 7.0, 5.0 ],
"to": [ 10.0, 10.0, 11.0 ],
"faces": {
"north": { "texture": "#3", "uv": [ 0.0, 0.0, 4.0, 3.0 ] },
"east": { "texture": "#4", "uv": [ 0.0, 0.0, 6.0, 3.0 ] },
"south": { "texture": "#4", "uv": [ 0.0, 0.0, 4.0, 3.0 ] },
"west": { "texture": "#4", "uv": [ 0.0, 0.0, 6.0, 3.0 ] },
"up": { "texture": "#3", "uv": [ 0.0, 0.0, 4.0, 6.0 ] },
"down": { "texture": "#4", "uv": [ 0.0, 0.0, 4.0, 6.0 ] }
}
},
{
"from": [ 5.0, 6.0, 11.0 ],
"to": [ 11.0, 9.0, 13.0 ],
"faces": {
"north": { "texture": "#3", "uv": [ 0.0, 0.0, 6.0, 3.0 ] },
"east": { "texture": "#3", "uv": [ 0.0, 0.0, 2.0, 3.0 ] },
"south": { "texture": "#3", "uv": [ 0.0, 0.0, 6.0, 3.0 ] },
"west": { "texture": "#3", "uv": [ 0.0, 0.0, 2.0, 3.0 ] },
"up": { "texture": "#3", "uv": [ 0.0, 0.0, 6.0, 2.0 ] },
"down": { "texture": "#3", "uv": [ 0.0, 0.0, 6.0, 2.0 ] }
}
},
{
"from": [ 5.0, 7.0, 13.0 ],
"to": [ 7.0, 8.0, 14.0 ],
"faces": {
"north": { "texture": "#5", "uv": [ 0.0, 0.0, 2.0, 1.0 ] },
"east": { "texture": "#3", "uv": [ 0.0, 0.0, 1.0, 1.0 ] },
"south": { "texture": "#5", "uv": [ 0.0, 0.0, -8.0, 0.0 ] },
"west": { "texture": "#3", "uv": [ 0.0, 0.0, 0.0, 14.0 ] },
"up": { "texture": "#5", "uv": [ 0.0, 0.0, 2.0, 1.0 ] },
"down": { "texture": "#5", "uv": [ 0.0, 0.0, 2.0, 1.0 ] }
}
},
{
"from": [ 9.0, 7.0, 13.0 ],
"to": [ 11.0, 8.0, 14.0 ],
"faces": {
"north": { "texture": "#5", "uv": [ 0.0, 0.0, 2.0, 1.0 ] },
"east": { "texture": "#3", "uv": [ 0.0, 0.0, 1.0, 1.0 ] },
"south": { "texture": "#5", "uv": [ 0.0, 0.0, -8.0, 0.0 ] },
"west": { "texture": "#3", "uv": [ 0.0, 0.0, 0.0, 14.0 ] },
"up": { "texture": "#5", "uv": [ 0.0, 0.0, 2.0, 1.0 ] },
"down": { "texture": "#5", "uv": [ 0.0, 0.0, 2.0, 1.0 ] }
}
},
{
"from": [ 7.0, 7.0, 13.0 ],
"to": [ 9.0, 8.0, 14.0 ],
"faces": {
"north": { "texture": "#3", "uv": [ 0.0, 0.0, 2.0, 1.0 ] },
"east": { "texture": "#3", "uv": [ 0.0, 0.0, 1.0, 1.0 ] },
"south": { "texture": "#3", "uv": [ 0.0, 0.0, -8.0, 0.0 ] },
"west": { "texture": "#3", "uv": [ 0.0, 0.0, 0.0, 14.0 ] },
"up": { "texture": "#3", "uv": [ 0.0, 0.0, 2.0, 1.0 ] },
"down": { "texture": "#3", "uv": [ 0.0, 0.0, 2.0, 1.0 ] }
}
},
{
"from": [ 5.0, 8.0, 13.0 ],
"to": [ 11.0, 9.0, 14.0 ],
"faces": {
"north": { "texture": "#3", "uv": [ 0.0, 0.0, 6.0, 1.0 ] },
"east": { "texture": "#3", "uv": [ 0.0, 0.0, 1.0, 1.0 ] },
"south": { "texture": "#3", "uv": [ 0.0, 0.0, -8.0, 0.0 ] },
"west": { "texture": "#3", "uv": [ 0.0, 0.0, 0.0, 14.0 ] },
"up": { "texture": "#3", "uv": [ 0.0, 0.0, 6.0, 1.0 ] },
"down": { "texture": "#3", "uv": [ 0.0, 0.0, 6.0, 1.0 ] }
}
},
{
"from": [ 5.0, 6.0, 13.0 ],
"to": [ 11.0, 7.0, 14.0 ],
"faces": {
"north": { "texture": "#3", "uv": [ 0.0, 0.0, 6.0, 1.0 ] },
"east": { "texture": "#3", "uv": [ 0.0, 0.0, 1.0, 1.0 ] },
"south": { "texture": "#3", "uv": [ 0.0, 0.0, -8.0, 0.0 ] },
"west": { "texture": "#3", "uv": [ 0.0, 0.0, 0.0, 14.0 ] },
"up": { "texture": "#3", "uv": [ 0.0, 0.0, 6.0, 1.0 ] },
"down": { "texture": "#3", "uv": [ 0.0, 0.0, 6.0, 1.0 ] }
}
},
{
"from": [ 6.0, 9.0, 11.0 ],
"to": [ 10.0, 10.0, 12.0 ],
"faces": {
"north": { "texture": "#3", "uv": [ 0.0, 0.0, 4.0, 1.0 ] },
"east": { "texture": "#3", "uv": [ 0.0, 0.0, 1.0, 1.0 ] },
"south": { "texture": "#3", "uv": [ 0.0, 0.0, -8.0, 0.0 ] },
"west": { "texture": "#3", "uv": [ 0.0, 0.0, 0.0, 14.0 ] },
"up": { "texture": "#3", "uv": [ 0.0, 0.0, 4.0, 1.0 ] },
"down": { "texture": "#3", "uv": [ 0.0, 0.0, 4.0, 1.0 ] }
}
},
{
"from": [ 10.0, 8.0, 6.0 ],
"to": [ 12.0, 10.0, 11.0 ],
"faces": {
"north": { "texture": "#3", "uv": [ 0.0, 0.0, 2.0, 2.0 ] },
"east": { "texture": "#3", "uv": [ 0.0, 0.0, 5.0, 2.0 ] },
"south": { "texture": "#3", "uv": [ 0.0, 0.0, -8.0, 0.0 ] },
"west": { "texture": "#3", "uv": [ 0.0, 0.0, 0.0, 14.0 ] },
"up": { "texture": "#3", "uv": [ 0.0, 0.0, 2.0, 5.0 ] },
"down": { "texture": "#4", "uv": [ 0.0, 0.0, 2.0, 5.0 ] }
}
},
{
"from": [ 4.0, 8.0, 6.0 ],
"to": [ 6.0, 10.0, 11.0 ],
"faces": {
"north": { "texture": "#3", "uv": [ 0.0, 0.0, 2.0, 2.0 ] },
"east": { "texture": "#3", "uv": [ 0.0, 0.0, 5.0, 2.0 ] },
"south": { "texture": "#3", "uv": [ 0.0, 0.0, -8.0, 0.0 ] },
"west": { "texture": "#3", "uv": [ 0.0, 0.0, 0.0, 14.0 ] },
"up": { "texture": "#3", "uv": [ 0.0, 0.0, 2.0, 5.0 ] },
"down": { "texture": "#4", "uv": [ 0.0, 0.0, 2.0, 5.0 ] }
}
},
{
"from": [ 0.0, 8.0, 6.0 ],
"to": [ 4.0, 9.0, 11.0 ],
"rotation": { "origin": [ 8.0, 8.0, 8.0 ], "axis": "z", "angle": -22.5 },
"faces": {
"north": { "texture": "#3", "uv": [ 0.0, 0.0, 4.0, 1.0 ] },
"east": { "texture": "#3", "uv": [ 0.0, 0.0, 5.0, 1.0 ] },
"south": { "texture": "#3", "uv": [ 0.0, 0.0, -8.0, 0.0 ] },
"west": { "texture": "#3", "uv": [ 0.0, 0.0, 0.0, 14.0 ] },
"up": { "texture": "#3", "uv": [ 0.0, 0.0, 4.0, 5.0 ] },
"down": { "texture": "#4", "uv": [ 0.0, 0.0, 4.0, 5.0 ] }
}
},
{
"from": [ 12.0, 8.0, 6.0 ],
"to": [ 16.0, 9.0, 11.0 ],
"rotation": { "origin": [ 8.0, 8.0, 8.0 ], "axis": "z", "angle": 22.5 },
"faces": {
"north": { "texture": "#3", "uv": [ 0.0, 0.0, 4.0, 1.0 ] },
"east": { "texture": "#3", "uv": [ 0.0, 0.0, 5.0, 1.0 ] },
"south": { "texture": "#3", "uv": [ 0.0, 0.0, -8.0, 0.0 ] },
"west": { "texture": "#3", "uv": [ 0.0, 0.0, 0.0, 14.0 ] },
"up": { "texture": "#3", "uv": [ 0.0, 0.0, 4.0, 5.0 ] },
"down": { "texture": "#4", "uv": [ 0.0, 0.0, 4.0, 5.0 ] }
}
},
{
"from": [ 7.0, 7.0, 0.0 ],
"to": [ 9.0, 9.0, 5.0 ],
"rotation": { "origin": [ 8.0, 8.0, 8.0 ], "axis": "x", "angle": 22.5 },
"faces": {
"north": { "texture": "#3", "uv": [ 0.0, 0.0, 2.0, 2.0 ] },
"east": { "texture": "#3", "uv": [ 0.0, 0.0, 5.0, 2.0 ] },
"south": { "texture": "#3", "uv": [ 0.0, 0.0, -8.0, 0.0 ] },
"west": { "texture": "#3", "uv": [ 0.0, 0.0, 0.0, 14.0 ] },
"up": { "texture": "#3", "uv": [ 0.0, 0.0, 2.0, 5.0 ] },
"down": { "texture": "#4", "uv": [ 0.0, 0.0, 2.0, 5.0 ] }
}
}
]
}

I'm wondering if someone could spot an error or give me some suggestions to try out. Thank you all so much!
Posted by Professor Pinny's Avatar
Professor Pinny
Level 34 : Artisan Professor
17

Create an account or sign in to comment.

7

2
10/08/2018 4:03 pm
Level 69 : High Grandmaster Artist
oakar258
oakar258's Avatar
You have missing '[' in '"from": 2.0, 0.0, 2.0 ], ' (line 14 in the first code)
1
10/08/2018 4:21 pm
Level 34 : Artisan Professor
Professor Pinny
Professor Pinny's Avatar
Thanks for the reply, Interesting... When I look at the code I put in up there its very obviously missing. When I look at it in the file the missing bracket is actually not missing at all, its there. Hmmm... I'm hoping I didn't mix up the codes that I'm using and the codes that I posted, but it doesn't seem like that has happened.
1
10/08/2018 4:30 pm
Level 69 : High Grandmaster Artist
oakar258
oakar258's Avatar
So even with the missing bracket - model still is not working properly?
1
10/08/2018 4:33 pm
Level 34 : Artisan Professor
Professor Pinny
Professor Pinny's Avatar
I checked, and the only time the bracket disappears is when I copy and paste it into planet mc forums. I tested the model again and I get the same results, the model is shaped like it should, but it's missing its texture, it's all black and purple.
2
10/08/2018 4:36 pmhistory
Level 69 : High Grandmaster Artist
oakar258
oakar258's Avatar
So it's problem with texture path, check if the files is where they should be and named correctly.
1
10/08/2018 4:47 pm
Level 34 : Artisan Professor
Professor Pinny
Professor Pinny's Avatar
Thanks so much! I found that a few files I was referencing were missing from the blocks textures! Thanks again, have a good day/night!
Planet Minecraft

Website

© 2010 - 2024
www.planetminecraft.com

Welcome