I am indeed using Forge blockstates.
I set up some basic debug blocks and items to test and ran into an error-less roadblock.
I did not pass a tintIndex when registering, I got the following result:
It shows up fine in my inventory, however the block in the real world is incorrect as shown.
Is there something I am missing to correctly render the block in the world?
Here are my JSONs, both named 'oreDebug'
model
{ "parent": "block/block",
"elements": [
{ "from": [ 0, 0, 0 ],
"to": [ 16, 16, 16 ],
"faces": {
"down": { "uv": [ 0, 0, 16, 16 ], "texture": "#base", "cullface": "down" },
"up": { "uv": [ 0, 0, 16, 16 ], "texture": "#base", "cullface": "up" },
"north": { "uv": [ 0, 0, 16, 16 ], "texture": "#base", "cullface": "north" },
"south": { "uv": [ 0, 0, 16, 16 ], "texture": "#base", "cullface": "south" },
"west": { "uv": [ 0, 0, 16, 16 ], "texture": "#base", "cullface": "west" },
"east": { "uv": [ 0, 0, 16, 16 ], "texture": "#base", "cullface": "east" }
}
},
{ "from": [ 0, 0, 0 ],
"to": [ 16, 16, 16 ],
"faces": {
"down": { "uv": [ 0, 0, 16, 16 ], "texture": "#overlay", "tintindex": 0, "cullface": "down" },
"up": { "uv": [ 0, 0, 16, 16 ], "texture": "#overlay", "tintindex": 0, "cullface": "up" },
"north": { "uv": [ 0, 0, 16, 16 ], "texture": "#overlay", "tintindex": 0, "cullface": "north" },
"south": { "uv": [ 0, 0, 16, 16 ], "texture": "#overlay", "tintindex": 0, "cullface": "south" },
"west": { "uv": [ 0, 0, 16, 16 ], "texture": "#overlay", "tintindex": 0, "cullface": "west" },
"east": { "uv": [ 0, 0, 16, 16 ], "texture": "#overlay", "tintindex": 0, "cullface": "east" }
}
}
]
}
blockstate
{
"forge_marker": 1,
"defaults": {
"uvlock": true
},
"variants": {
"normal": [{
"textures": {
"base": "fenton:blocks/ore",
"overlay": "fenton:blocks/ore_vein"
},
"model": "fenton:oreDebug"
}],
"inventory": [{
"textures": {
"base": "fenton:blocks/ore",
"overlay": "fenton:blocks/ore_vein"
},
"model": "fenton:oreDebug"
}]
}
}