Skip to content

Instantly share code, notes, and snippets.

@Umpaz
Created June 15, 2020 17:17
Show Gist options
  • Save Umpaz/b4dcd41dcd2f97eccc471c96319c5d3b to your computer and use it in GitHub Desktop.
Save Umpaz/b4dcd41dcd2f97eccc471c96319c5d3b to your computer and use it in GitHub Desktop.
{
"parent": "block/block",
"display": {
"head": {
"translation": [ 0, 10.5, 0 ]
}
},
"textures": {
"particle": "block/campfire_log",
"log": "block/campfire_log",
"litlog": "block/campfire_log_lit",
"fire": "block/campfire_fire"
},
"elements": [
{
"from": [ 1, 0, 0 ],
"to": [ 5, 4, 16 ],
"faces": {
"north": { "uv": [ 0, 4, 4, 8 ], "texture": "#log", "cullface": "north" },
"east": { "uv": [ 0, 1, 16, 5 ], "texture": "#litlog" },
"south": { "uv": [ 0, 4, 4, 8 ], "texture": "#log", "cullface": "south" },
"west": { "uv": [ 16, 0, 0, 4 ], "texture": "#log" },
"up": { "uv": [ 0, 0, 16, 4 ], "rotation": 90, "texture": "#log" },
"down": { "uv": [ 0, 0, 16, 4 ], "rotation": 90, "texture": "#log", "cullface": "down" }
}
},
{
"from": [ 0, 3, 11 ],
"to": [ 16, 7, 15 ],
"faces": {
"north": { "uv": [ 16, 0, 0, 4 ], "texture": "#litlog" },
"east": { "uv": [ 0, 4, 4, 8 ], "texture": "#log", "cullface": "east" },
"south": { "uv": [ 0, 0, 16, 4 ], "texture": "#litlog" },
"west": { "uv": [ 0, 4, 4, 8 ], "texture": "#log", "cullface": "west" },
"up": { "uv": [ 0, 0, 16, 4 ], "rotation": 180, "texture": "#log" },
"down": { "uv": [ 0, 4, 16, 8 ], "texture": "#litlog" }
}
},
{
"from": [ 11, 0, 0 ],
"to": [ 15, 4, 16 ],
"faces": {
"north": { "uv": [ 0, 4, 4, 8 ], "texture": "#log", "cullface": "north" },
"east": { "uv": [ 0, 0, 16, 4 ], "texture": "#log" },
"south": { "uv": [ 0, 4, 4, 8 ], "texture": "#log", "cullface": "south" },
"west": { "uv": [ 16, 1, 0, 5 ], "texture": "#litlog" },
"up": { "uv": [ 0, 0, 16, 4 ], "rotation": 90, "texture": "#log" },
"down": { "uv": [ 0, 0, 16, 4 ], "rotation": 90, "texture": "#log", "cullface": "down" }
}
},
{
"from": [ 0, 3, 1 ],
"to": [ 16, 7, 5 ],
"faces": {
"north": { "uv": [ 0, 0, 16, 4 ], "texture": "#litlog" },
"east": { "uv": [ 0, 4, 4, 8 ], "texture": "#log", "cullface": "east" },
"south": { "uv": [ 16, 0, 0, 4 ], "texture": "#litlog" },
"west": { "uv": [ 0, 4, 4, 8 ], "texture": "#log", "cullface": "west" },
"up": { "uv": [ 0, 0, 16, 4 ], "rotation": 180, "texture": "#log" },
"down": { "uv": [ 0, 4, 16, 8 ], "texture": "#litlog" }
}
},
{
"from": [ 5, 0, 0 ],
"to": [ 11, 1, 16 ],
"faces": {
"north": {"uv": [ 0, 15, 6, 16 ], "texture": "#log", "cullface": "north" },
"south": {"uv": [ 10, 15, 16, 16 ], "texture": "#log", "cullface": "south" },
"up": {"uv": [ 0, 8, 16, 14 ], "rotation": 90, "texture": "#litlog" },
"down": {"uv": [ 0, 8, 16, 14 ], "rotation": 90, "texture": "#log", "cullface": "down" }
}
},
{ "from": [ 0.8, 1, 8 ],
"to": [ 15.2, 17, 8 ],
"rotation": { "origin": [ 8, 8, 8 ], "axis": "y", "angle": 45, "rescale": true },
"shade": false,
"faces": {
"north": { "uv": [ 0, 0, 16, 16 ], "texture": "#fire" },
"south": { "uv": [ 0, 0, 16, 16 ], "texture": "#fire" }
}
},
{ "from": [ 8, 1, 0.8 ],
"to": [ 8, 17, 15.2 ],
"rotation": { "origin": [ 8, 8, 8 ], "axis": "y", "angle": 45, "rescale": true },
"shade": false,
"faces": {
"west": { "uv": [ 0, 0, 16, 16 ], "texture": "#fire" },
"east": { "uv": [ 0, 0, 16, 16 ], "texture": "#fire" }
}
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment