Skip to content

Instantly share code, notes, and snippets.

@LexManos
Last active November 20, 2015 19:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save LexManos/e9d58bd55b2c8fc0c8b1 to your computer and use it in GitHub Desktop.
Save LexManos/e9d58bd55b2c8fc0c8b1 to your computer and use it in GitHub Desktop.
{
"elements": [
{
"from": [ 0, 0, 0 ],
"to": [ 16, 16, 16 ],
"faces": {
"up": { "uv": [ 0, 0, 16, 16 ], "texture": "#top", "cullface": "up", "tintindex": 0 },
"down": { "uv": [ 0, 0, 16, 16 ], "texture": "#stone", "cullface": "down" },
"north": { "uv": [ 0, 0, 16, 16 ], "texture": "#stone", "cullface": "north"},
"south": { "uv": [ 0, 0, 16, 16 ], "texture": "#stone", "cullface": "south"},
"west": { "uv": [ 0, 0, 16, 16 ], "texture": "#stone", "cullface": "west" },
"east": { "uv": [ 0, 0, 16, 16 ], "texture": "#stone", "cullface": "east" }
}
},
{
"from": [ 0, 0, 0 ],
"to": [ 16, 16, 16 ],
"faces": {
"north": { "uv": [ 0, 0, 16, 16 ], "texture": "#northOverlay", "tintindex": 0, "cullface": "north" },
"south": { "uv": [ 0, 0, 16, 16 ], "texture": "#southOverlay", "tintindex": 0, "cullface": "south" },
"west": { "uv": [ 0, 0, 16, 16 ], "texture": "#westOverlay", "tintindex": 0, "cullface": "west" },
"east": { "uv": [ 0, 0, 16, 16 ], "texture": "#eastOverlay", "tintindex": 0, "cullface": "east" }
}
}
]
}
{
"forge_marker": 1, // Note to the Forge Json loader to tell it what version it is, thus what features it supports.
//thus what features it supports. It also acts as a magic marker for telling this appart from the vanilla format.
"defaults": {
"textures": {
"top": "tfc2:blocks/GrassTop",
"overlay": "tfc2:blocks/GrassSide"
},
"model": "tfc2:grass"
},
"variants": {
"stone": {
"andesite": {"textures": {"stone": "tfc2:blocks/soil/Dirt Andesite" } },
"basalt": {"textures": {"stone": "tfc2:blocks/soil/Dirt Basalt" } },
"blueschist": {"textures": {"stone": "tfc2:blocks/soil/Dirt Blueschist"} },
"chert": {"textures": {"stone": "tfc2:blocks/soil/Dirt Chert" } },
"claystone": {"textures": {"stone": "tfc2:blocks/soil/Dirt Claystone" } },
"dacite": {"textures": {"stone": "tfc2:blocks/soil/Dirt Dacite" } },
"diorite": {"textures": {"stone": "tfc2:blocks/soil/Dirt Diorite" } },
"dolomite": {"textures": {"stone": "tfc2:blocks/soil/Dirt Dolomite" } },
"gabbro": {"textures": {"stone": "tfc2:blocks/soil/Dirt Gabbro" } },
"gneiss": {"textures": {"stone": "tfc2:blocks/soil/Dirt Gneiss" } },
"granite": {"textures": {"stone": "tfc2:blocks/soil/Dirt Granite" } },
"limestone": {"textures": {"stone": "tfc2:blocks/soil/Dirt Limestone" } },
"marble": {"textures": {"stone": "tfc2:blocks/soil/Dirt Marble" } },
"rhyolite": {"textures": {"stone": "tfc2:blocks/soil/Dirt Rhyolite" } },
"schist": {"textures": {"stone": "tfc2:blocks/soil/Dirt Schist" } },
"shale": {"textures": {"stone": "tfc2:blocks/soil/Dirt Shale" } }
},
"north": {
"true": {"textures": {"northOverlay" : "#top" } },
"false": {"textures": {"northOverlay" : "#overlay"} }
},
"south":{
"true": {"textures": {"southOverlay" : "#top" } },
"false": {"textures": {"southOverlay" : "#overlay"} }
},
"east":{
"true": {"textures": {"eastOverlay" : "#top" } },
"false": {"textures": {"eastOverlay" : "#overlay"} }
},
"west":{
"true": {"textures": {"westOverlay" : "#top" } },
"false": {"textures": {"westOverlay" : "#overlay"} }
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment