blockbench-plugins icon indicating copy to clipboard operation
blockbench-plugins copied to clipboard

[Suggestion] Per-part or per-face custom data

Open parzivail opened this issue 5 years ago • 2 comments

Mods like the Connected Texture Mod and other custom renderers use the vanilla JSON block model format, but have extra data that gets parsed out of the model on a per-part or per-face basis. It would be nice if we could select parts or faces and have the ability to define custom key/value pairs like "lit": true or

"extra": {
	"connect_to": [
		{ "block": "lava" },
		{ "block": "flowing_lava" }
	],
	"light": 12
}

(example from the CTM wiki) These "sidecar" pairs would be available to be put in saved or exported models much like the rotated key Blockbench adds to parts with multi-axis rotations. For example, in JSON, they would be saved at the same level as the to and from keys in parts.

parzivail avatar Apr 15 '19 00:04 parzivail

Since the mod is not widely used, I think this would be a good idea for a third party plugin.

JannisX11 avatar Apr 22 '19 18:04 JannisX11

Very well. I'll see what I can do.

parzivail avatar Apr 22 '19 21:04 parzivail