I'm currently working on a resource pack for 1.17 and I wanted to add custom textures for the lapis block, however when I tried to do that, it gives me an error block instead.
How do I add custom textures for mostly every side of a block while allowing them to be rotated so the front can face where I place it? Do I need to use a datapack or something, or can it just be done in a resource pack?
The texture names (all .png) are:
lapis_block_top
lapis_block_bottom
lapis_block_side
lapis_block_front
And the code I wrote for it is:
{
"parent": "minecraft:block/orientable",
"display": {
"firstperson_righthand": {
"rotation": [ 0, 135, 0 ],
"translation": [ 0, 0, 0 ],
"scale": [ 0.40, 0.40, 0.40 ]
}
},
"textures": {
"top": "minecraft:block/lapis_block_top",
"bottom": "minecraft:block/lapis_block_bottom",
"side": "minecraft:block/Lapis_block_side",
"front": "minecraft:block/Lapis_block_front"
}
}
Lapis_block_side
notlapis_block_side
? files are particular about capitalization