I can get the texture to load, but the item is rotated incorrectly and is sized strangely.
Here's the item .json:
{
"parent":"testmod:item/standard_item",
"textures": {
"layer0":"testmod:items/test_item"
}
}
and the parent:
{
"parent":"builtin/generated",
"display": {
"thirdperson": {
"rotation": [ -90, 0, 0 ],
"translation": [ 0, 1, -3 ],
"scale": [ 0.55, 0.55, 0.55 ]
},
"firstperson": {
"rotation": [ 0, -135, 25 ],
"translation": [ 0, 4, 2 ],
"scale": [ 1.7, 1.7, 1.7 ]
}
}
}
I'm not getting any errors, but it even seems as if no change I make in the parent file is reflected in-game. Using IntelliJ.
EDIT: Think I figured it out, 1.9's format changed a bit. If anyone else has this issues, here's 1.9:
{
"parent": "builtin/generated",
"display": {
"ground": {
"rotation": [ 0, 0, 0 ],
"translation": [ 0, 2, 0],
"scale":[ 0.5, 0.5, 0.5 ]
},
"head": {
"rotation": [ 0, 180, 0 ],
"translation": [ 0, 13, 7],
"scale":[ 1, 1, 1]
},
"thirdperson_righthand": {
"rotation": [ 0, 0, 0 ],
"translation": [ 0, 3, 1 ],
"scale": [ 0.55, 0.55, 0.55 ]
},
"firstperson_righthand": {
"rotation": [ 0, -90, 25 ],
"translation": [ 1.13, 3.2, 1.13],
"scale": [ 0.68, 0.68, 0.68 ]
}
}
}