Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,16 @@

public class StyleChairBlockEntity extends MultiMaterialBlockEntity implements IStyleable {

public static List<String> back = List.of("basic", "basic_panel", "cross", "cross_framed", "fan", "full", "ladder",
"live_edge", "open", "panel", "panel_weave", "slats", "slats_chunky", "solid", "turned_panel",
"turned_panel_weave", "weave", "windsor");
public static List<String> seat = List.of("basic", "tilted", "tilted_weave", "weave");
public static List<String> legs = List.of("basic", "angled", "pedestal", "pedestal_cross", "pedestal_x",
"rails_connected", "rails_end", "rails_full", "rails_full_offset", "rails_side", "solid", "solid_ends",
"solid_sides");
public static List<String> back = List.of("basic", "basic_panel", "braced", "contemporary",
"contemporary_slats", "cross", "cross_framed", "fan", "flat", "flat_extra", "full", "laced", "ladder",
"ladder_tall", "lath", "lattice", "live_edge", "open", "panel", "panel_weave", "planks_horizontal",
"planks_horizontal_angled", "slats", "slats_chunky", "solid", "splat", "splat_double", "splat_slat",
"turned_panel", "turned_panel_weave", "vienna", "weave", "windsor");
public static List<String> seat = List.of("basic", "planks_horizontal", "planks_horizontal_angled", "tilted",
"tilted_weave", "weave");
public static List<String> legs = List.of("basic", "angled", "crosstie", "pedestal", "pedestal_cross",
"pedestal_cross_tilted", "rails_connected", "rails_end", "rails_full", "rails_full_offset", "rails_side",
"solid", "solid_ends", "solid_sides");

List<List<String>> styles = List.of(back, seat, legs); // Immutable!

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,81 @@
{
"format_version": "1.21.6",
"credit": "Made with Blockbench",
"parent": "block/block",
"textures": {
"0": "block/acacia_planks",
"particle": "block/acacia_planks"
},
"elements": [
{
"name": "left upright",
"from": [2, 11, 12],
"to": [4, 20, 14],
"rotation": {"angle": 0, "axis": "y", "origin": [2, 11, 11]},
"faces": {
"north": {"uv": [0, 1, 9, 3], "rotation": 90, "texture": "#0"},
"east": {"uv": [0, 13, 9, 15], "rotation": 90, "texture": "#0"},
"south": {"uv": [0, 9, 9, 11], "rotation": 90, "texture": "#0"},
"west": {"uv": [0, 5, 9, 7], "rotation": 90, "texture": "#0"},
"up": {"uv": [0, 1, 2, 3], "rotation": 90, "texture": "#0"},
"down": {"uv": [0, 1, 2, 3], "rotation": 90, "texture": "#0"}
}
},
{
"name": "right upright",
"from": [12, 11, 12],
"to": [14, 20, 14],
"rotation": {"angle": 0, "axis": "y", "origin": [11, 11, 11]},
"faces": {
"north": {"uv": [0, 5, 9, 7], "rotation": 90, "texture": "#0"},
"east": {"uv": [0, 1, 9, 3], "rotation": 90, "texture": "#0"},
"south": {"uv": [0, 13, 9, 15], "rotation": 90, "texture": "#0"},
"west": {"uv": [0, 9, 9, 11], "rotation": 90, "texture": "#0"},
"up": {"uv": [0, 1, 2, 3], "rotation": 90, "texture": "#0"},
"down": {"uv": [0, 1, 2, 3], "rotation": 90, "texture": "#0"}
}
},
{
"name": "diagonal",
"from": [11.01, 12.01, 12.01],
"to": [12.99, 20.99, 13.99],
"rotation": {"angle": 45, "axis": "z", "origin": [8, 15.5, 13]},
"faces": {
"north": {"uv": [0, 5, 8.98, 6.98], "rotation": 90, "texture": "#0"},
"east": {"uv": [0, 1, 8.98, 2.98], "rotation": 90, "texture": "#0"},
"south": {"uv": [0, 13, 8.98, 14.98], "rotation": 90, "texture": "#0"},
"west": {"uv": [0, 9, 8.98, 10.98], "rotation": 90, "texture": "#0"},
"up": {"uv": [0, 1, 1.98, 2.98], "rotation": 90, "texture": "#0"},
"down": {"uv": [0, 1, 1.98, 2.98], "rotation": 90, "texture": "#0"}
}
},
{
"name": "diagonal",
"from": [4.52, 18.52, 12.02],
"to": [12.48, 20.48, 13.98],
"rotation": {"angle": 45, "axis": "z", "origin": [8, 15.5, 13]},
"faces": {
"north": {"uv": [0, 5, 7.96, 6.96], "rotation": 180, "texture": "#0"},
"east": {"uv": [0, 1, 1.96, 2.96], "texture": "#0"},
"south": {"uv": [0, 13, 7.96, 14.96], "texture": "#0"},
"west": {"uv": [0, 1, 1.96, 2.96], "texture": "#0"},
"up": {"uv": [0, 1, 7.96, 2.96], "texture": "#0"},
"down": {"uv": [0, 9, 7.96, 10.96], "texture": "#0"}
}
},
{
"name": "top bar",
"from": [1, 20, 12],
"to": [15, 23, 15],
"rotation": {"angle": 0, "axis": "y", "origin": [11, 16, 11]},
"faces": {
"north": {"uv": [0, 1, 14, 4], "texture": "#0"},
"east": {"uv": [0, 1, 3, 4], "texture": "#0"},
"south": {"uv": [0, 9, 14, 12], "texture": "#0"},
"west": {"uv": [4, 1, 7, 4], "texture": "#0"},
"up": {"uv": [0, 0, 14, 3], "texture": "#0"},
"down": {"uv": [0, 3, 14, 6], "texture": "#0"}
}
}
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
{
"format_version": "1.21.6",
"credit": "Made with Blockbench",
"parent": "block/block",
"textures": {
"0": "block/acacia_planks",
"particle": "block/acacia_planks"
},
"elements": [
{
"name": "upright",
"from": [6.5, 11, 13],
"to": [9.5, 23, 14],
"rotation": {"angle": 0, "axis": "y", "origin": [2, 11, 11]},
"faces": {
"north": {"uv": [0, 1, 12, 4], "rotation": 90, "texture": "#0"},
"east": {"uv": [0, 13, 12, 14], "rotation": 90, "texture": "#0"},
"south": {"uv": [0, 9, 12, 12], "rotation": 90, "texture": "#0"},
"west": {"uv": [0, 5, 12, 6], "rotation": 90, "texture": "#0"},
"up": {"uv": [0, 1, 1, 4], "rotation": 90, "texture": "#0"},
"down": {"uv": [0, 1, 1, 4], "rotation": 90, "texture": "#0"}
}
},
{
"name": "back panel",
"from": [1, 17, 12],
"to": [15, 23, 13],
"rotation": {"angle": 0, "axis": "y", "origin": [11, 16, 11]},
"faces": {
"north": {"uv": [0, 2, 14, 8], "texture": "#0"},
"east": {"uv": [0, 2, 1, 8], "texture": "#0"},
"south": {"uv": [0, 10, 14, 16], "texture": "#0"},
"west": {"uv": [1, 2, 2, 8], "texture": "#0"},
"up": {"uv": [0, 0, 14, 1], "texture": "#0"},
"down": {"uv": [0, 1, 14, 2], "texture": "#0"}
}
}
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
{
"format_version": "1.21.6",
"credit": "Made with Blockbench",
"parent": "block/block",
"textures": {
"0": "block/acacia_planks",
"particle": "block/acacia_planks"
},
"elements": [
{
"name": "left upright",
"from": [4.5, 11, 13],
"to": [6, 23, 14],
"rotation": {"angle": 0, "axis": "y", "origin": [2, 11, 11]},
"faces": {
"north": {"uv": [0, 1, 12, 2.5], "rotation": 90, "texture": "#0"},
"east": {"uv": [0, 13, 12, 14], "rotation": 90, "texture": "#0"},
"south": {"uv": [0, 9, 12, 10.5], "rotation": 90, "texture": "#0"},
"west": {"uv": [0, 5, 12, 6], "rotation": 90, "texture": "#0"},
"up": {"uv": [0, 1, 1, 2.5], "rotation": 90, "texture": "#0"},
"down": {"uv": [0, 1, 1, 2.5], "rotation": 90, "texture": "#0"}
}
},
{
"name": "centre upright",
"from": [7.25, 11, 13],
"to": [8.75, 23, 14],
"rotation": {"angle": 0, "axis": "y", "origin": [2, 11, 11]},
"faces": {
"north": {"uv": [0, 1, 12, 2.5], "rotation": 90, "texture": "#0"},
"east": {"uv": [0, 13, 12, 14], "rotation": 90, "texture": "#0"},
"south": {"uv": [0, 9, 12, 10.5], "rotation": 90, "texture": "#0"},
"west": {"uv": [0, 5, 12, 6], "rotation": 90, "texture": "#0"},
"up": {"uv": [0, 1, 1, 2.5], "rotation": 90, "texture": "#0"},
"down": {"uv": [0, 1, 1, 2.5], "rotation": 90, "texture": "#0"}
}
},
{
"name": "right upright",
"from": [10, 11, 13],
"to": [11.5, 23, 14],
"rotation": {"angle": 0, "axis": "y", "origin": [2, 11, 11]},
"faces": {
"north": {"uv": [0, 1, 12, 2.5], "rotation": 90, "texture": "#0"},
"east": {"uv": [0, 13, 12, 14], "rotation": 90, "texture": "#0"},
"south": {"uv": [0, 9, 12, 10.5], "rotation": 90, "texture": "#0"},
"west": {"uv": [0, 5, 12, 6], "rotation": 90, "texture": "#0"},
"up": {"uv": [0, 1, 1, 2.5], "rotation": 90, "texture": "#0"},
"down": {"uv": [0, 1, 1, 2.5], "rotation": 90, "texture": "#0"}
}
},
{
"name": "back panel",
"from": [1, 17, 12],
"to": [15, 23, 13],
"rotation": {"angle": 0, "axis": "y", "origin": [11, 16, 11]},
"faces": {
"north": {"uv": [0, 2, 14, 8], "texture": "#0"},
"east": {"uv": [0, 2, 1, 8], "texture": "#0"},
"south": {"uv": [0, 10, 14, 16], "texture": "#0"},
"west": {"uv": [1, 2, 2, 8], "texture": "#0"},
"up": {"uv": [0, 0, 14, 1], "texture": "#0"},
"down": {"uv": [0, 1, 14, 2], "texture": "#0"}
}
}
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
{
"format_version": "1.21.6",
"credit": "Made with Blockbench",
"parent": "block/block",
"textures": {
"1": "block/acacia_planks",
"particle": "block/acacia_planks"
},
"elements": [
{
"name": "left upright",
"from": [2, 11, 12],
"to": [4, 23, 14],
"rotation": {"angle": 0, "axis": "y", "origin": [2, 11, 11]},
"faces": {
"north": {"uv": [0, 1, 12, 3], "rotation": 90, "texture": "#1"},
"east": {"uv": [0, 13, 12, 15], "rotation": 90, "texture": "#1"},
"south": {"uv": [0, 9, 12, 11], "rotation": 90, "texture": "#1"},
"west": {"uv": [0, 5, 12, 7], "rotation": 90, "texture": "#1"},
"up": {"uv": [0, 1, 2, 3], "rotation": 90, "texture": "#1"},
"down": {"uv": [0, 1, 2, 3], "rotation": 90, "texture": "#1"}
}
},
{
"name": "right upright",
"from": [12, 11, 12],
"to": [14, 23, 14],
"rotation": {"angle": 0, "axis": "y", "origin": [11, 11, 11]},
"faces": {
"north": {"uv": [0, 5, 12, 7], "rotation": 90, "texture": "#1"},
"east": {"uv": [0, 1, 12, 3], "rotation": 90, "texture": "#1"},
"south": {"uv": [0, 13, 12, 15], "rotation": 90, "texture": "#1"},
"west": {"uv": [0, 9, 12, 11], "rotation": 90, "texture": "#1"},
"up": {"uv": [0, 1, 2, 3], "rotation": 90, "texture": "#1"},
"down": {"uv": [0, 1, 2, 3], "rotation": 90, "texture": "#1"}
}
},
{
"name": "back panel",
"from": [4, 16, 12.25],
"to": [12, 22, 13.75],
"rotation": {"angle": 0, "axis": "y", "origin": [11, 16, 11]},
"faces": {
"north": {"uv": [0, 2, 8, 8], "texture": "#1"},
"east": {"uv": [0, 2, 1.5, 8], "texture": "#1"},
"south": {"uv": [0, 10, 8, 16], "texture": "#1"},
"west": {"uv": [1, 2, 2.5, 8], "texture": "#1"},
"up": {"uv": [0, 0, 8, 1.5], "texture": "#1"},
"down": {"uv": [0, 1, 8, 2.5], "texture": "#1"}
}
}
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
{
"format_version": "1.21.6",
"credit": "Made with Blockbench",
"parent": "block/block",
"textures": {
"1": "block/acacia_planks",
"particle": "block/acacia_planks"
},
"elements": [
{
"name": "left upright",
"from": [2, 11, 12],
"to": [4, 23, 14],
"rotation": {"angle": 0, "axis": "y", "origin": [2, 11, 11]},
"faces": {
"north": {"uv": [0, 1, 12, 3], "rotation": 90, "texture": "#1"},
"east": {"uv": [0, 13, 12, 15], "rotation": 90, "texture": "#1"},
"south": {"uv": [0, 9, 12, 11], "rotation": 90, "texture": "#1"},
"west": {"uv": [0, 5, 12, 7], "rotation": 90, "texture": "#1"},
"up": {"uv": [0, 1, 2, 3], "rotation": 90, "texture": "#1"},
"down": {"uv": [0, 1, 2, 3], "rotation": 90, "texture": "#1"}
}
},
{
"name": "right upright",
"from": [12, 11, 12],
"to": [14, 23, 14],
"rotation": {"angle": 0, "axis": "y", "origin": [11, 11, 11]},
"faces": {
"north": {"uv": [0, 5, 12, 7], "rotation": 90, "texture": "#1"},
"east": {"uv": [0, 1, 12, 3], "rotation": 90, "texture": "#1"},
"south": {"uv": [0, 13, 12, 15], "rotation": 90, "texture": "#1"},
"west": {"uv": [0, 9, 12, 11], "rotation": 90, "texture": "#1"},
"up": {"uv": [0, 1, 2, 3], "rotation": 90, "texture": "#1"},
"down": {"uv": [0, 1, 2, 3], "rotation": 90, "texture": "#1"}
}
},
{
"name": "back panel",
"from": [4, 16, 12.25],
"to": [12, 22, 13.75],
"rotation": {"angle": 0, "axis": "y", "origin": [11, 16, 11]},
"faces": {
"north": {"uv": [0, 2, 8, 8], "texture": "#1"},
"east": {"uv": [0, 2, 1.5, 8], "texture": "#1"},
"south": {"uv": [0, 10, 8, 16], "texture": "#1"},
"west": {"uv": [1, 2, 2.5, 8], "texture": "#1"},
"up": {"uv": [0, 0, 8, 1.5], "texture": "#1"},
"down": {"uv": [0, 1, 8, 2.5], "texture": "#1"}
}
},
{
"name": "back panel",
"from": [4, 13, 12.25],
"to": [12, 15, 13.75],
"rotation": {"angle": 0, "axis": "y", "origin": [11, 16, 11]},
"faces": {
"north": {"uv": [8, 9, 16, 11], "texture": "#1"},
"east": {"uv": [12.5, 0, 14, 2], "texture": "#1"},
"south": {"uv": [8, 13, 16, 15], "texture": "#1"},
"west": {"uv": [14.5, 0, 16, 2], "texture": "#1"},
"up": {"uv": [8, 2, 16, 3.5], "texture": "#1"},
"down": {"uv": [8, 6, 16, 7.5], "texture": "#1"}
}
}
]
}
Loading
Loading