Skip to content

Instantly share code, notes, and snippets.

@Lothrazar
Created August 24, 2022 01:24
Show Gist options
  • Save Lothrazar/2fee0a1918cdb6fd8ec3b34dfc4489bb to your computer and use it in GitHub Desktop.
Save Lothrazar/2fee0a1918cdb6fd8ec3b34dfc4489bb to your computer and use it in GitHub Desktop.
multipart_color.json
{
"multipart": [
{ "apply": { "model": "tinylightbulbs:block/part_base" }},
{ "when": { "color": "black" },
"apply": { "model": "tinylightbulbs:block/bulb_black", "uvlock": true }
},
{ "when": { "color": "blue" },
"apply": { "model": "tinylightbulbs:block/bulb_blue", "uvlock": true }
},
{ "when": { "color": "brown" },
"apply": { "model": "tinylightbulbs:block/bulb_brown", "uvlock": true }
},
{ "when": { "color": "cyan" },
"apply": { "model": "tinylightbulbs:block/bulb_cyan", "uvlock": true }
},
{ "when": { "color": "gray" },
"apply": { "model": "tinylightbulbs:block/bulb_gray", "uvlock": true }
},
{ "when": { "color": "green" },
"apply": { "model": "tinylightbulbs:block/bulb_green", "uvlock": true }
},
{ "when": { "color": "light_blue" },
"apply": { "model": "tinylightbulbs:block/bulb_light_blue", "uvlock": true }
},
{ "when": { "color": "light_gray" },
"apply": { "model": "tinylightbulbs:block/bulb_light_gray", "uvlock": true }
},
{ "when": { "color": "magenta" },
"apply": { "model": "tinylightbulbs:block/bulb_magenta", "uvlock": true }
},
{ "when": { "color": "lime" },
"apply": { "model": "tinylightbulbs:block/bulb_lime", "uvlock": true }
},
{ "when": { "color": "orange" },
"apply": { "model": "tinylightbulbs:block/bulb_orange", "uvlock": true }
},
{ "when": { "color": "pink" },
"apply": { "model": "tinylightbulbs:block/bulb_pink", "uvlock": true }
},
{ "when": { "color": "purple" },
"apply": { "model": "tinylightbulbs:block/bulb_purple", "uvlock": true }
},
{ "when": { "color": "red" },
"apply": { "model": "tinylightbulbs:block/bulb_red", "uvlock": true }
},
{ "when": { "color": "white" },
"apply": { "model": "tinylightbulbs:block/bulb_white", "uvlock": true }
},
{ "when": { "color": "yellow" },
"apply": { "model": "tinylightbulbs:block/bulb_yellow", "uvlock": true }
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment