Skip to content

Instantly share code, notes, and snippets.

@uberifix
Last active July 1, 2017 06:58
Show Gist options
  • Save uberifix/e18a3a8eab953d42e60a39dc93709f90 to your computer and use it in GitHub Desktop.
Save uberifix/e18a3a8eab953d42e60a39dc93709f90 to your computer and use it in GitHub Desktop.
ModdedGames - Flashlight
{
"credit": "Made with Blockbench, a free, modern block model editor by JannisX11",
"description": "Designed by uberifix",
"textures": {
"0": "blocks/anvil_base",
"1": "blocks/coal_block",
"2": "blocks/glass_white",
"3": "blocks/glowstone",
"particle": "blocks/anvil_base"
},
"elements": [
{
"name": "handle",
"from": [7, 7, 7],
"to": [9, 9, 15],
"shade": true,
"faces": {
"north": {"uv": [1, 1, 5, 5], "texture": "#0"},
"east": {"uv": [0, 4, 16, 8], "texture": "#0"},
"south": {"uv": [11, 11, 15, 15], "texture": "#0"},
"west": {"uv": [0, 0, 16, 4], "texture": "#0"},
"up": {"uv": [0, 8, 16, 12], "texture": "#0", "rotation": 90},
"down": {"uv": [0, 12, 16, 16], "texture": "#0", "rotation": 90}
},
"rotation": {"origin": [8, 8, 11], "axis": "y", "angle": 0}
},
{
"name": "head_angle_up",
"from": [7, 7.5, 4.7],
"to": [9, 9.5, 6.7],
"shade": true,
"faces": {
"north": {"uv": [1, 1, 5, 5], "texture": "#0"},
"east": {"uv": [1, 1, 5, 5], "texture": "#0"},
"south": {"uv": [1, 1, 5, 5], "texture": "#0"},
"west": {"uv": [1, 1, 5, 5], "texture": "#0"},
"up": {"uv": [1, 1, 5, 5], "texture": "#0"},
"down": {"uv": [1, 1, 5, 5], "texture": "#0"}
},
"rotation": {"origin": [8, 8.5, 5.7], "axis": "x", "angle": 22.5}
},
{
"name": "head_angle_down",
"from": [7, 6.51, 4.7],
"to": [9, 8.51, 6.7],
"shade": true,
"faces": {
"north": {"uv": [1, 1, 5, 5], "texture": "#0"},
"east": {"uv": [1, 1, 5, 5], "texture": "#0"},
"south": {"uv": [1, 1, 5, 5], "texture": "#0"},
"west": {"uv": [1, 1, 5, 5], "texture": "#0"},
"up": {"uv": [1, 1, 5, 5], "texture": "#0"},
"down": {"uv": [1, 1, 5, 5], "texture": "#0"}
},
"rotation": {"origin": [8, 7.51, 5.7], "axis": "x", "angle": -22.5}
},
{
"name": "head_angle_west",
"from": [6.51, 7, 4.7],
"to": [8.51, 9, 6.7],
"shade": true,
"faces": {
"north": {"uv": [1, 1, 5, 5], "texture": "#0"},
"east": {"uv": [1, 1, 5, 5], "texture": "#0"},
"south": {"uv": [1, 1, 5, 5], "texture": "#0"},
"west": {"uv": [1, 1, 5, 5], "texture": "#0"},
"up": {"uv": [1, 1, 5, 5], "texture": "#0"},
"down": {"uv": [1, 1, 5, 5], "texture": "#0"}
},
"rotation": {"origin": [7.51, 8, 5.7], "axis": "y", "angle": 22.5}
},
{
"name": "head_angle_east",
"from": [7.5, 7, 4.7],
"to": [9.5, 9, 6.7],
"shade": true,
"faces": {
"north": {"uv": [1, 1, 5, 5], "texture": "#0"},
"east": {"uv": [1, 1, 5, 5], "texture": "#0"},
"south": {"uv": [1, 1, 5, 5], "texture": "#0"},
"west": {"uv": [1, 1, 5, 5], "texture": "#0"},
"up": {"uv": [1, 1, 5, 5], "texture": "#0"},
"down": {"uv": [1, 1, 5, 5], "texture": "#0"}
},
"rotation": {"origin": [8.5, 8, 5.7], "axis": "y", "angle": -22.5}
},
{
"name": "head_up",
"from": [6.99, 9, 1],
"to": [9.01, 9.81, 5.2],
"shade": true,
"faces": {
"north": {"uv": [0, 0, 4, 2], "texture": "#0"},
"east": {"uv": [0, 0, 8, 2], "texture": "#0"},
"south": {"uv": [0, 0, 4, 2], "texture": "#0"},
"west": {"uv": [0, 0, 8, 2], "texture": "#0"},
"up": {"uv": [0, 0, 8, 4], "texture": "#0", "rotation": 90},
"down": {"uv": [0, 0, 8, 4], "texture": "#0", "rotation": 90}
}
},
{
"name": "head_down",
"from": [6.99, 6.199999999999999, 1],
"to": [9.01, 7.01, 5.2],
"shade": true,
"faces": {
"north": {"uv": [0, 0, 4, 2], "texture": "#0"},
"east": {"uv": [0, 0, 8, 2], "texture": "#0", "rotation": 180},
"south": {"uv": [0, 0, 4, 2], "texture": "#0"},
"west": {"uv": [0, 0, 8, 2], "texture": "#0", "rotation": 180},
"up": {"uv": [0, 0, 8, 4], "texture": "#0", "rotation": 90},
"down": {"uv": [0, 0, 8, 4], "texture": "#0", "rotation": 90}
}
},
{
"name": "head_west",
"from": [6.199999999999999, 6.99, 1],
"to": [7.01, 9.01, 5.2],
"shade": true,
"faces": {
"north": {"uv": [0, 0, 4, 2], "texture": "#0", "rotation": 90},
"east": {"uv": [0, 0, 8, 4], "texture": "#0"},
"south": {"uv": [0, 0, 4, 2], "texture": "#0", "rotation": 90},
"west": {"uv": [0, 0, 8, 4], "texture": "#0"},
"up": {"uv": [0, 0, 8, 2], "texture": "#0", "rotation": 270},
"down": {"uv": [0, 0, 8, 2], "texture": "#0", "rotation": 270}
}
},
{
"name": "head_east",
"from": [9, 6.99, 1],
"to": [9.81, 9.01, 5.2],
"shade": true,
"faces": {
"north": {"uv": [0, 0, 4, 2], "texture": "#0", "rotation": 90},
"east": {"uv": [0, 0, 8, 4], "texture": "#0"},
"south": {"uv": [0, 0, 4, 2], "texture": "#0", "rotation": 90},
"west": {"uv": [0, 0, 8, 4], "texture": "#0"},
"up": {"uv": [0, 0, 8, 2], "texture": "#0", "rotation": 90},
"down": {"uv": [0, 0, 8, 2], "texture": "#0", "rotation": 90}
}
},
{
"name": "lamp",
"from": [7.5, 7.5, 3],
"to": [8.5, 8.5, 5],
"shade": true,
"faces": {
"north": {"uv": [0, 0, 4, 4], "texture": "#3"},
"east": {"uv": [0, 0, 8, 4], "texture": "#3"},
"south": {"uv": [0, 0, 4, 4], "texture": "#3"},
"west": {"uv": [0, 0, 8, 4], "texture": "#3"},
"up": {"uv": [0, 0, 4, 8], "texture": "#3"},
"down": {"uv": [0, 0, 4, 8], "texture": "#3"}
}
},
{
"name": "glass",
"from": [7, 7, 1.5],
"to": [9, 9, 1.5],
"shade": true,
"faces": {
"north": {"uv": [0, 0, 16, 16], "texture": "#2"},
"east": {"uv": [0, 0, 0, 2], "texture": "#2"},
"south": {"uv": [0, 0, 16, 16], "texture": "#2"},
"west": {"uv": [0, 0, 0, 2], "texture": "#2"},
"up": {"uv": [0, 0, 2, 0], "texture": "#2"},
"down": {"uv": [0, 0, 2, 0], "texture": "#2"}
}
},
{
"name": "button",
"from": [7.5, 9, 7.5],
"to": [8.5, 9.5, 8.5],
"shade": true,
"faces": {
"north": {"uv": [2, 1, 4, 2], "texture": "#1"},
"east": {"uv": [12, 1, 14, 2], "texture": "#1"},
"south": {"uv": [13, 14, 15, 15], "texture": "#1"},
"west": {"uv": [2, 14, 4, 15], "texture": "#1"},
"up": {"uv": [1, 1, 3, 3], "texture": "#1"},
"down": {"uv": [0, 0, 0, 0], "texture": "#1", "cullface": "down"}
}
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment