Skip to content

Instantly share code, notes, and snippets.

@marchermans
Last active July 23, 2016 16:50
Show Gist options
  • Save marchermans/5da1c8b39511f49adbd795b7ab819a13 to your computer and use it in GitHub Desktop.
Save marchermans/5da1c8b39511f49adbd795b7ab819a13 to your computer and use it in GitHub Desktop.
{
"forge_marker": 1,
"defaults": {
"textures": {"material": "armory:blocks/dark_iron"},
"submodel": {
"north": {"model": "armory:closed.obj"},
"south": {"model": "armory:closed.obj", "y":180},
"east": {"model": "armory:closed.obj", "y":90},
"west": {"model": "armory:closed.obj", "y":270},
},
"uvlock": true,
"transform": "forge:default-block"
},
"variants": {
"north": {
"submodel":{
"north": {
"model": "armory:connected.obj"
}
},
},
"south": {
"submodel":{
"south": {
"model": "armory:connected.obj", "y":180
}
},
},
"east": {
"submodel":{
"east": {
"model": "armory:connected.obj", "y":90
}
},
},
"west": {
"submodel":{
"west": {
"model": "armory:connected.obj", "y":270
}
},
},
"up": {"true": {}, "false": {}},
"inventory": [{ // inventory variant can be specified here too, and it will inherit properties from "defaults"
submodel: {
"north": { "model": "armory:connected.obj" },
"south": { "model": "armory:connected.obj", "y": 180 }
}
}]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment