Skip to content

Instantly share code, notes, and snippets.

@Keridos
Last active February 3, 2016 13:30
Show Gist options
  • Save Keridos/fbe59f9c125bb25e83be to your computer and use it in GitHub Desktop.
Save Keridos/fbe59f9c125bb25e83be to your computer and use it in GitHub Desktop.
{
"forge_marker": 1,
"defaults": {
"model": "FloodLights:colorable_cube_bottom_top", // might be top_bottom, I don't remember. You probably need a copy of this model with all the faces specifying tintindex so that colormultiplier will work (see the gist for more info)
"transform": "forge:default-block",
"textures": {
"top": {"texture": "FloodLights:blocks/carbonFloodlight_top" },
"side": {"texture": "FloodLights:blocks/carbonFloodlight_side"},
"bottom": {"texture": "FloodLights:blocks/carbonFloodlight_bot" } // set some default textures, that cascade down to all variants below
}
},
"variants": {
"normal": [{}],
"inventory": [{}],
"facing": {
"down": { "x": 270 },
"up": { "x": 90 }, // 90 and 270 might be flipped, I don't remember :p
"north": {},
"south": { "y": 180 },
"west": { "y": 270 },
"east": { "y": 90 }
},
"active": {
"true": {
"textures": {
"top": {"texture": "FloodLights:blocks/carbonFloodlight_top_on" }
}
},
"false": {
"textures": {
"top": {"texture": "FloodLights:blocks/carbonFloodlight_top" }
}
}
},
"color": {
"0": {},
"1": {},
"2": {},
"3": {},
"4": {},
"5": {},
"6": {},
"7": {},
"8": {},
"9": {},
"10": {},
"11": {},
"12": {},
"13": {},
"14": {},
"15": {},
"16": {}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment