Closed careeoki closed 3 months ago
Example (oak_fence.json):
{
"class" : "wood",
"hardness" : 7,
"drops" : [
"auto"
],
"absorbedLight" : 0x202830,
"rotation" : "fence",
"model" : "fence",
"texture" : "cubyz:oak_fence",
"texture_top" : "cubyz:oak_fence_top",
"texture_bottom" : "cubyz:oak_fence_top",
"item": {
"texture" : "materials/stick.png",
},
}
The texture needs to be inside the items folder.
Let blocks declare a 2D item texture for the inventory. Helpful for non-cube blocks like cross models, torches, fences, etc.