casino
8
src/main/resources/assets/szar/blockstates/a.json
Normal file
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"variants": {
|
||||
"facing=north": { "model": "szar:block/a", "y": 0 },
|
||||
"facing=south": { "model": "szar:block/a", "y": 180 },
|
||||
"facing=west": { "model": "szar:block/a", "y": 270 },
|
||||
"facing=east": { "model": "szar:block/a", "y": 90 }
|
||||
}
|
||||
}
|
||||
8
src/main/resources/assets/szar/blockstates/c.json
Normal file
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"variants": {
|
||||
"facing=north": { "model": "szar:block/c", "y": 0 },
|
||||
"facing=south": { "model": "szar:block/c", "y": 180 },
|
||||
"facing=west": { "model": "szar:block/c", "y": 270 },
|
||||
"facing=east": { "model": "szar:block/c", "y": 90 }
|
||||
}
|
||||
}
|
||||
8
src/main/resources/assets/szar/blockstates/casino.json
Normal file
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"variants": {
|
||||
"facing=north": { "model": "szar:block/casino", "y": 0 },
|
||||
"facing=south": { "model": "szar:block/casino", "y": 180 },
|
||||
"facing=west": { "model": "szar:block/casino", "y": 270 },
|
||||
"facing=east": { "model": "szar:block/casino", "y": 90 }
|
||||
}
|
||||
}
|
||||
8
src/main/resources/assets/szar/blockstates/i.json
Normal file
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"variants": {
|
||||
"facing=north": { "model": "szar:block/i", "y": 0 },
|
||||
"facing=south": { "model": "szar:block/i", "y": 180 },
|
||||
"facing=west": { "model": "szar:block/i", "y": 270 },
|
||||
"facing=east": { "model": "szar:block/i", "y": 90 }
|
||||
}
|
||||
}
|
||||
8
src/main/resources/assets/szar/blockstates/n.json
Normal file
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"variants": {
|
||||
"facing=north": { "model": "szar:block/n", "y": 0 },
|
||||
"facing=south": { "model": "szar:block/n", "y": 180 },
|
||||
"facing=west": { "model": "szar:block/n", "y": 270 },
|
||||
"facing=east": { "model": "szar:block/n", "y": 90 }
|
||||
}
|
||||
}
|
||||
8
src/main/resources/assets/szar/blockstates/o.json
Normal file
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"variants": {
|
||||
"facing=north": { "model": "szar:block/o", "y": 0 },
|
||||
"facing=south": { "model": "szar:block/o", "y": 180 },
|
||||
"facing=west": { "model": "szar:block/o", "y": 270 },
|
||||
"facing=east": { "model": "szar:block/o", "y": 90 }
|
||||
}
|
||||
}
|
||||
8
src/main/resources/assets/szar/blockstates/s.json
Normal file
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"variants": {
|
||||
"facing=north": { "model": "szar:block/s", "y": 0 },
|
||||
"facing=south": { "model": "szar:block/s", "y": 180 },
|
||||
"facing=west": { "model": "szar:block/s", "y": 270 },
|
||||
"facing=east": { "model": "szar:block/s", "y": 90 }
|
||||
}
|
||||
}
|
||||
@@ -80,5 +80,6 @@
|
||||
"item.szar.white_liquid": "...",
|
||||
"item.szar.plane": "Plane",
|
||||
"item.szar.wheel": "Wheel",
|
||||
"block.szar.slot_machine": "Slot Machine"
|
||||
"block.szar.slot_machine": "Slot Machine",
|
||||
"block.szar.casino": "Casino Title"
|
||||
}
|
||||
|
||||
112
src/main/resources/assets/szar/models/block/a.json
Normal file
@@ -0,0 +1,112 @@
|
||||
{
|
||||
"format_version": "1.9.0",
|
||||
"credit": "Made with Blockbench",
|
||||
"textures": {
|
||||
"0": "szar:block/casino_red",
|
||||
"particle": "szar:block/casino_red"
|
||||
},
|
||||
"elements": [
|
||||
{
|
||||
"from": [9, 8, -1],
|
||||
"to": [17, 16, 7],
|
||||
"rotation": {"angle": 45, "axis": "y", "origin": [13, 0, 3]},
|
||||
"faces": {
|
||||
"north": {"uv": [0.25, 0.25, 0.75, 0.75], "texture": "#0"},
|
||||
"east": {"uv": [1.25, 0.25, 1.75, 0.75], "texture": "#0"},
|
||||
"south": {"uv": [2.25, 0.25, 2.75, 0.75], "texture": "#0"},
|
||||
"west": {"uv": [3.25, 0.25, 3.75, 0.75], "texture": "#0"},
|
||||
"up": {"uv": [4.25, 0.25, 4.75, 0.75], "texture": "#0"},
|
||||
"down": {"uv": [5.25, 0.25, 5.75, 0.75], "texture": "#0"}
|
||||
}
|
||||
},
|
||||
{
|
||||
"from": [9, 24, -1],
|
||||
"to": [17, 32, 7],
|
||||
"rotation": {"angle": 45, "axis": "y", "origin": [13, 0, 3]},
|
||||
"faces": {
|
||||
"north": {"uv": [6.25, 0.25, 6.75, 0.75], "texture": "#0"},
|
||||
"east": {"uv": [7.25, 0.25, 7.75, 0.75], "texture": "#0"},
|
||||
"south": {"uv": [8.25, 0.25, 8.75, 0.75], "texture": "#0"},
|
||||
"west": {"uv": [9.25, 0.25, 9.75, 0.75], "texture": "#0"},
|
||||
"up": {"uv": [10.25, 0.25, 10.75, 0.75], "texture": "#0"},
|
||||
"down": {"uv": [11.25, 0.25, 11.75, 0.75], "texture": "#0"}
|
||||
}
|
||||
},
|
||||
{
|
||||
"from": [17, 0, -1],
|
||||
"to": [25, 24, 7],
|
||||
"rotation": {"angle": 45, "axis": "y", "origin": [13, 0, 3]},
|
||||
"faces": {
|
||||
"north": {"uv": [12.25, 0.25, 12.75, 0.75], "texture": "#0"},
|
||||
"east": {"uv": [13.25, 0.25, 13.75, 0.75], "texture": "#0"},
|
||||
"south": {"uv": [14.25, 0.25, 14.75, 0.75], "texture": "#0"},
|
||||
"west": {"uv": [15.25, 0.25, 15.75, 0.75], "texture": "#0"},
|
||||
"up": {"uv": [0.25, 1.25, 0.75, 1.75], "texture": "#0"},
|
||||
"down": {"uv": [1.25, 1.25, 1.75, 1.75], "texture": "#0"}
|
||||
}
|
||||
},
|
||||
{
|
||||
"from": [1, 0, -1],
|
||||
"to": [9, 24, 7],
|
||||
"rotation": {"angle": 45, "axis": "y", "origin": [13, 0, 3]},
|
||||
"faces": {
|
||||
"north": {"uv": [2.25, 1.25, 2.75, 1.75], "texture": "#0"},
|
||||
"east": {"uv": [3.25, 1.25, 3.75, 1.75], "texture": "#0"},
|
||||
"south": {"uv": [4.25, 1.25, 4.75, 1.75], "texture": "#0"},
|
||||
"west": {"uv": [5.25, 1.25, 5.75, 1.75], "texture": "#0"},
|
||||
"up": {"uv": [6.25, 1.25, 6.75, 1.75], "texture": "#0"},
|
||||
"down": {"uv": [7.25, 1.25, 7.75, 1.75], "texture": "#0"}
|
||||
}
|
||||
}
|
||||
],
|
||||
"display": {
|
||||
"thirdperson_righthand": {
|
||||
"translation": [0, 0, -1.5],
|
||||
"scale": [0.2, 0.2, 0.2]
|
||||
},
|
||||
"thirdperson_lefthand": {
|
||||
"translation": [0, 0, -0.25],
|
||||
"scale": [0.2, 0.2, 0.2]
|
||||
},
|
||||
"firstperson_righthand": {
|
||||
"rotation": [0, -180, 0],
|
||||
"translation": [33.25, -15, -45.5]
|
||||
},
|
||||
"firstperson_lefthand": {
|
||||
"rotation": [0, -180, 0],
|
||||
"translation": [31.25, -15, -45.75]
|
||||
},
|
||||
"ground": {
|
||||
"translation": [0, 0.75, 0],
|
||||
"scale": [0.2, 0.2, 0.2]
|
||||
},
|
||||
"gui": {
|
||||
"rotation": [0, 135, 0],
|
||||
"translation": [0.25, 1.5, 0],
|
||||
"scale": [0.3, 0.3, 0.3]
|
||||
},
|
||||
"head": {
|
||||
"rotation": [0, -45, 0],
|
||||
"translation": [0, 38.5, 0],
|
||||
"scale": [4, 4, 4]
|
||||
},
|
||||
"fixed": {
|
||||
"rotation": [0, -45, 0],
|
||||
"translation": [-0.5, 2, 0],
|
||||
"scale": [0.4, 0.4, 0.4]
|
||||
},
|
||||
"on_shelf": {
|
||||
"rotation": [0, 135, 0],
|
||||
"translation": [1.25, 0, 0],
|
||||
"scale": [0.4, 0.4, 0.4]
|
||||
}
|
||||
},
|
||||
"groups": [
|
||||
{
|
||||
"name": "A",
|
||||
"origin": [10, 2, 7],
|
||||
"color": 0,
|
||||
"children": [0, 1, 2, 3]
|
||||
}
|
||||
]
|
||||
}
|
||||
112
src/main/resources/assets/szar/models/block/a_outline.json
Normal file
@@ -0,0 +1,112 @@
|
||||
{
|
||||
"format_version": "1.9.0",
|
||||
"credit": "Made with Blockbench",
|
||||
"textures": {
|
||||
"0": "szar:block/casino_red",
|
||||
"particle": "szar:block/casino_red"
|
||||
},
|
||||
"elements": [
|
||||
{
|
||||
"from": [4, 8, 4],
|
||||
"to": [12, 16, 12],
|
||||
"rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]},
|
||||
"faces": {
|
||||
"north": {"uv": [0.25, 0.25, 0.75, 0.75], "texture": "#0"},
|
||||
"east": {"uv": [1.25, 0.25, 1.75, 0.75], "texture": "#0"},
|
||||
"south": {"uv": [2.25, 0.25, 2.75, 0.75], "texture": "#0"},
|
||||
"west": {"uv": [3.25, 0.25, 3.75, 0.75], "texture": "#0"},
|
||||
"up": {"uv": [4.25, 0.25, 4.75, 0.75], "texture": "#0"},
|
||||
"down": {"uv": [5.25, 0.25, 5.75, 0.75], "texture": "#0"}
|
||||
}
|
||||
},
|
||||
{
|
||||
"from": [4, 24, 4],
|
||||
"to": [12, 32, 12],
|
||||
"rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]},
|
||||
"faces": {
|
||||
"north": {"uv": [6.25, 0.25, 6.75, 0.75], "texture": "#0"},
|
||||
"east": {"uv": [7.25, 0.25, 7.75, 0.75], "texture": "#0"},
|
||||
"south": {"uv": [8.25, 0.25, 8.75, 0.75], "texture": "#0"},
|
||||
"west": {"uv": [9.25, 0.25, 9.75, 0.75], "texture": "#0"},
|
||||
"up": {"uv": [10.25, 0.25, 10.75, 0.75], "texture": "#0"},
|
||||
"down": {"uv": [11.25, 0.25, 11.75, 0.75], "texture": "#0"}
|
||||
}
|
||||
},
|
||||
{
|
||||
"from": [10, 0, -1],
|
||||
"to": [18, 24, 7],
|
||||
"rotation": {"angle": 0, "axis": "y", "origin": [6, 0, 3]},
|
||||
"faces": {
|
||||
"north": {"uv": [12.25, 0.25, 12.75, 0.75], "texture": "#0"},
|
||||
"east": {"uv": [13.25, 0.25, 13.75, 0.75], "texture": "#0"},
|
||||
"south": {"uv": [14.25, 0.25, 14.75, 0.75], "texture": "#0"},
|
||||
"west": {"uv": [15.25, 0.25, 15.75, 0.75], "texture": "#0"},
|
||||
"up": {"uv": [0.25, 1.25, 0.75, 1.75], "texture": "#0"},
|
||||
"down": {"uv": [1.25, 1.25, 1.75, 1.75], "texture": "#0"}
|
||||
}
|
||||
},
|
||||
{
|
||||
"from": [-2, 0, 9],
|
||||
"to": [6, 24, 17],
|
||||
"rotation": {"angle": 0, "axis": "y", "origin": [10, 0, 13]},
|
||||
"faces": {
|
||||
"north": {"uv": [2.25, 1.25, 2.75, 1.75], "texture": "#0"},
|
||||
"east": {"uv": [3.25, 1.25, 3.75, 1.75], "texture": "#0"},
|
||||
"south": {"uv": [4.25, 1.25, 4.75, 1.75], "texture": "#0"},
|
||||
"west": {"uv": [5.25, 1.25, 5.75, 1.75], "texture": "#0"},
|
||||
"up": {"uv": [6.25, 1.25, 6.75, 1.75], "texture": "#0"},
|
||||
"down": {"uv": [7.25, 1.25, 7.75, 1.75], "texture": "#0"}
|
||||
}
|
||||
}
|
||||
],
|
||||
"display": {
|
||||
"thirdperson_righthand": {
|
||||
"translation": [0, 0, -1.5],
|
||||
"scale": [0.2, 0.2, 0.2]
|
||||
},
|
||||
"thirdperson_lefthand": {
|
||||
"translation": [0, 0, -0.25],
|
||||
"scale": [0.2, 0.2, 0.2]
|
||||
},
|
||||
"firstperson_righthand": {
|
||||
"rotation": [0, -180, 0],
|
||||
"translation": [33.25, -15, -45.5]
|
||||
},
|
||||
"firstperson_lefthand": {
|
||||
"rotation": [0, -180, 0],
|
||||
"translation": [31.25, -15, -45.75]
|
||||
},
|
||||
"ground": {
|
||||
"translation": [0, 0.75, 0],
|
||||
"scale": [0.2, 0.2, 0.2]
|
||||
},
|
||||
"gui": {
|
||||
"rotation": [0, 135, 0],
|
||||
"translation": [0.25, 1.5, 0],
|
||||
"scale": [0.3, 0.3, 0.3]
|
||||
},
|
||||
"head": {
|
||||
"rotation": [0, -45, 0],
|
||||
"translation": [0, 38.5, 0],
|
||||
"scale": [4, 4, 4]
|
||||
},
|
||||
"fixed": {
|
||||
"rotation": [0, -45, 0],
|
||||
"translation": [-0.5, 2, 0],
|
||||
"scale": [0.4, 0.4, 0.4]
|
||||
},
|
||||
"on_shelf": {
|
||||
"rotation": [0, 135, 0],
|
||||
"translation": [1.25, 0, 0],
|
||||
"scale": [0.4, 0.4, 0.4]
|
||||
}
|
||||
},
|
||||
"groups": [
|
||||
{
|
||||
"name": "AB",
|
||||
"origin": [10, 2, 7],
|
||||
"color": 0,
|
||||
"children": [0, 1, 2, 3]
|
||||
}
|
||||
]
|
||||
}
|
||||
57
src/main/resources/assets/szar/models/block/c.json
Normal file
@@ -0,0 +1,57 @@
|
||||
{
|
||||
"format_version": "1.9.0",
|
||||
"credit": "Made with Blockbench",
|
||||
"textures": {
|
||||
"0": "szar:block/casino_red",
|
||||
"particle": "szar:block/casino_red"
|
||||
},
|
||||
"elements": [
|
||||
{
|
||||
"from": [3, 0, 0],
|
||||
"to": [11, 8, 8],
|
||||
"rotation": {"angle": 45, "axis": "y", "origin": [11, 0, 1]},
|
||||
"faces": {
|
||||
"north": {"uv": [8.25, 1.25, 8.75, 1.75], "texture": "#0"},
|
||||
"east": {"uv": [9.25, 1.25, 9.75, 1.75], "texture": "#0"},
|
||||
"south": {"uv": [10.25, 1.25, 10.75, 1.75], "texture": "#0"},
|
||||
"west": {"uv": [11.25, 1.25, 11.75, 1.75], "texture": "#0"},
|
||||
"up": {"uv": [12.25, 1.25, 12.75, 1.75], "texture": "#0"},
|
||||
"down": {"uv": [13.25, 1.25, 13.75, 1.75], "texture": "#0"}
|
||||
}
|
||||
},
|
||||
{
|
||||
"from": [3, 24, 0],
|
||||
"to": [11, 32, 8],
|
||||
"rotation": {"angle": 45, "axis": "y", "origin": [11, 0, 1]},
|
||||
"faces": {
|
||||
"north": {"uv": [14.25, 1.25, 14.75, 1.75], "texture": "#0"},
|
||||
"east": {"uv": [15.25, 1.25, 15.75, 1.75], "texture": "#0"},
|
||||
"south": {"uv": [0.25, 2.25, 0.75, 2.75], "texture": "#0"},
|
||||
"west": {"uv": [1.25, 2.25, 1.75, 2.75], "texture": "#0"},
|
||||
"up": {"uv": [2.25, 2.25, 2.75, 2.75], "texture": "#0"},
|
||||
"down": {"uv": [3.25, 2.25, 3.75, 2.75], "texture": "#0"}
|
||||
}
|
||||
},
|
||||
{
|
||||
"from": [11, 0, 0],
|
||||
"to": [19, 32, 8],
|
||||
"rotation": {"angle": 45, "axis": "y", "origin": [11, 0, 1]},
|
||||
"faces": {
|
||||
"north": {"uv": [4.25, 2.25, 4.75, 2.75], "texture": "#0"},
|
||||
"east": {"uv": [5.25, 2.25, 5.75, 2.75], "texture": "#0"},
|
||||
"south": {"uv": [6.25, 2.25, 6.75, 2.75], "texture": "#0"},
|
||||
"west": {"uv": [7.25, 2.25, 7.75, 2.75], "texture": "#0"},
|
||||
"up": {"uv": [8.25, 2.25, 8.75, 2.75], "texture": "#0"},
|
||||
"down": {"uv": [9.25, 2.25, 9.75, 2.75], "texture": "#0"}
|
||||
}
|
||||
}
|
||||
],
|
||||
"groups": [
|
||||
{
|
||||
"name": "C",
|
||||
"origin": [10, 2, 7],
|
||||
"color": 0,
|
||||
"children": [0, 1, 2]
|
||||
}
|
||||
]
|
||||
}
|
||||
57
src/main/resources/assets/szar/models/block/c_outline.json
Normal file
@@ -0,0 +1,57 @@
|
||||
{
|
||||
"format_version": "1.9.0",
|
||||
"credit": "Made with Blockbench",
|
||||
"textures": {
|
||||
"0": "szar:block/casino_red",
|
||||
"particle": "szar:block/casino_red"
|
||||
},
|
||||
"elements": [
|
||||
{
|
||||
"from": [3, 0, 10],
|
||||
"to": [11, 8, 18],
|
||||
"rotation": {"angle": 0, "axis": "y", "origin": [11, 0, 11]},
|
||||
"faces": {
|
||||
"north": {"uv": [8.25, 1.25, 8.75, 1.75], "texture": "#0"},
|
||||
"east": {"uv": [9.25, 1.25, 9.75, 1.75], "texture": "#0"},
|
||||
"south": {"uv": [10.25, 1.25, 10.75, 1.75], "texture": "#0"},
|
||||
"west": {"uv": [11.25, 1.25, 11.75, 1.75], "texture": "#0"},
|
||||
"up": {"uv": [12.25, 1.25, 12.75, 1.75], "texture": "#0"},
|
||||
"down": {"uv": [13.25, 1.25, 13.75, 1.75], "texture": "#0"}
|
||||
}
|
||||
},
|
||||
{
|
||||
"from": [3, 24, 10],
|
||||
"to": [11, 32, 18],
|
||||
"rotation": {"angle": 0, "axis": "y", "origin": [11, 0, 11]},
|
||||
"faces": {
|
||||
"north": {"uv": [14.25, 1.25, 14.75, 1.75], "texture": "#0"},
|
||||
"east": {"uv": [15.25, 1.25, 15.75, 1.75], "texture": "#0"},
|
||||
"south": {"uv": [0.25, 2.25, 0.75, 2.75], "texture": "#0"},
|
||||
"west": {"uv": [1.25, 2.25, 1.75, 2.75], "texture": "#0"},
|
||||
"up": {"uv": [2.25, 2.25, 2.75, 2.75], "texture": "#0"},
|
||||
"down": {"uv": [3.25, 2.25, 3.75, 2.75], "texture": "#0"}
|
||||
}
|
||||
},
|
||||
{
|
||||
"from": [9, 0, 4],
|
||||
"to": [17, 32, 12],
|
||||
"rotation": {"angle": 0, "axis": "y", "origin": [9, 0, 5]},
|
||||
"faces": {
|
||||
"north": {"uv": [4.25, 2.25, 4.75, 2.75], "texture": "#0"},
|
||||
"east": {"uv": [5.25, 2.25, 5.75, 2.75], "texture": "#0"},
|
||||
"south": {"uv": [6.25, 2.25, 6.75, 2.75], "texture": "#0"},
|
||||
"west": {"uv": [7.25, 2.25, 7.75, 2.75], "texture": "#0"},
|
||||
"up": {"uv": [8.25, 2.25, 8.75, 2.75], "texture": "#0"},
|
||||
"down": {"uv": [9.25, 2.25, 9.75, 2.75], "texture": "#0"}
|
||||
}
|
||||
}
|
||||
],
|
||||
"groups": [
|
||||
{
|
||||
"name": "CB",
|
||||
"origin": [10, 2, 7],
|
||||
"color": 0,
|
||||
"children": [0, 1, 2]
|
||||
}
|
||||
]
|
||||
}
|
||||
378
src/main/resources/assets/szar/models/block/casino.json
Normal file
@@ -0,0 +1,378 @@
|
||||
{
|
||||
"format_version": "1.9.0",
|
||||
"credit": "Made with Blockbench",
|
||||
"textures": {
|
||||
"0": "szar:block/casino_red",
|
||||
"particle": "szar:block/casino_red"
|
||||
},
|
||||
"elements": [
|
||||
{
|
||||
"from": [19, 2, 7],
|
||||
"to": [21, 4, 9],
|
||||
"rotation": {"angle": 45, "axis": "y", "origin": [8, 2, 8]},
|
||||
"faces": {
|
||||
"north": {"uv": [0.25, 0.25, 0.75, 0.75], "texture": "#0"},
|
||||
"east": {"uv": [1.25, 0.25, 1.75, 0.75], "texture": "#0"},
|
||||
"south": {"uv": [2.25, 0.25, 2.75, 0.75], "texture": "#0"},
|
||||
"west": {"uv": [3.25, 0.25, 3.75, 0.75], "texture": "#0"},
|
||||
"up": {"uv": [4.25, 0.25, 4.75, 0.75], "texture": "#0"},
|
||||
"down": {"uv": [5.25, 0.25, 5.75, 0.75], "texture": "#0"}
|
||||
}
|
||||
},
|
||||
{
|
||||
"from": [19, 6, 7],
|
||||
"to": [21, 8, 9],
|
||||
"rotation": {"angle": 45, "axis": "y", "origin": [8, 2, 8]},
|
||||
"faces": {
|
||||
"north": {"uv": [6.25, 0.25, 6.75, 0.75], "texture": "#0"},
|
||||
"east": {"uv": [7.25, 0.25, 7.75, 0.75], "texture": "#0"},
|
||||
"south": {"uv": [8.25, 0.25, 8.75, 0.75], "texture": "#0"},
|
||||
"west": {"uv": [9.25, 0.25, 9.75, 0.75], "texture": "#0"},
|
||||
"up": {"uv": [10.25, 0.25, 10.75, 0.75], "texture": "#0"},
|
||||
"down": {"uv": [11.25, 0.25, 11.75, 0.75], "texture": "#0"}
|
||||
}
|
||||
},
|
||||
{
|
||||
"from": [21, 0, 7],
|
||||
"to": [23, 6, 9],
|
||||
"rotation": {"angle": 45, "axis": "y", "origin": [8, 2, 8]},
|
||||
"faces": {
|
||||
"north": {"uv": [12.25, 0.25, 12.75, 0.75], "texture": "#0"},
|
||||
"east": {"uv": [13.25, 0.25, 13.75, 0.75], "texture": "#0"},
|
||||
"south": {"uv": [14.25, 0.25, 14.75, 0.75], "texture": "#0"},
|
||||
"west": {"uv": [15.25, 0.25, 15.75, 0.75], "texture": "#0"},
|
||||
"up": {"uv": [0.25, 1.25, 0.75, 1.75], "texture": "#0"},
|
||||
"down": {"uv": [1.25, 1.25, 1.75, 1.75], "texture": "#0"}
|
||||
}
|
||||
},
|
||||
{
|
||||
"from": [17, 0, 7],
|
||||
"to": [19, 6, 9],
|
||||
"rotation": {"angle": 45, "axis": "y", "origin": [8, 2, 8]},
|
||||
"faces": {
|
||||
"north": {"uv": [2.25, 1.25, 2.75, 1.75], "texture": "#0"},
|
||||
"east": {"uv": [3.25, 1.25, 3.75, 1.75], "texture": "#0"},
|
||||
"south": {"uv": [4.25, 1.25, 4.75, 1.75], "texture": "#0"},
|
||||
"west": {"uv": [5.25, 1.25, 5.75, 1.75], "texture": "#0"},
|
||||
"up": {"uv": [6.25, 1.25, 6.75, 1.75], "texture": "#0"},
|
||||
"down": {"uv": [7.25, 1.25, 7.75, 1.75], "texture": "#0"}
|
||||
}
|
||||
},
|
||||
{
|
||||
"from": [25, 0, 7],
|
||||
"to": [27, 2, 9],
|
||||
"rotation": {"angle": 45, "axis": "y", "origin": [8, 2, 8]},
|
||||
"faces": {
|
||||
"north": {"uv": [8.25, 1.25, 8.75, 1.75], "texture": "#0"},
|
||||
"east": {"uv": [9.25, 1.25, 9.75, 1.75], "texture": "#0"},
|
||||
"south": {"uv": [10.25, 1.25, 10.75, 1.75], "texture": "#0"},
|
||||
"west": {"uv": [11.25, 1.25, 11.75, 1.75], "texture": "#0"},
|
||||
"up": {"uv": [12.25, 1.25, 12.75, 1.75], "texture": "#0"},
|
||||
"down": {"uv": [13.25, 1.25, 13.75, 1.75], "texture": "#0"}
|
||||
}
|
||||
},
|
||||
{
|
||||
"from": [25, 6, 7],
|
||||
"to": [27, 8, 9],
|
||||
"rotation": {"angle": 45, "axis": "y", "origin": [8, 2, 8]},
|
||||
"faces": {
|
||||
"north": {"uv": [14.25, 1.25, 14.75, 1.75], "texture": "#0"},
|
||||
"east": {"uv": [15.25, 1.25, 15.75, 1.75], "texture": "#0"},
|
||||
"south": {"uv": [0.25, 2.25, 0.75, 2.75], "texture": "#0"},
|
||||
"west": {"uv": [1.25, 2.25, 1.75, 2.75], "texture": "#0"},
|
||||
"up": {"uv": [2.25, 2.25, 2.75, 2.75], "texture": "#0"},
|
||||
"down": {"uv": [3.25, 2.25, 3.75, 2.75], "texture": "#0"}
|
||||
}
|
||||
},
|
||||
{
|
||||
"from": [27, 0, 7],
|
||||
"to": [29, 8, 9],
|
||||
"rotation": {"angle": 45, "axis": "y", "origin": [8, 2, 8]},
|
||||
"faces": {
|
||||
"north": {"uv": [4.25, 2.25, 4.75, 2.75], "texture": "#0"},
|
||||
"east": {"uv": [5.25, 2.25, 5.75, 2.75], "texture": "#0"},
|
||||
"south": {"uv": [6.25, 2.25, 6.75, 2.75], "texture": "#0"},
|
||||
"west": {"uv": [7.25, 2.25, 7.75, 2.75], "texture": "#0"},
|
||||
"up": {"uv": [8.25, 2.25, 8.75, 2.75], "texture": "#0"},
|
||||
"down": {"uv": [9.25, 2.25, 9.75, 2.75], "texture": "#0"}
|
||||
}
|
||||
},
|
||||
{
|
||||
"from": [11, 0, 7],
|
||||
"to": [14, 2, 9],
|
||||
"rotation": {"angle": 45, "axis": "y", "origin": [8, 2, 8]},
|
||||
"faces": {
|
||||
"north": {"uv": [10.25, 2.25, 10.75, 2.75], "texture": "#0"},
|
||||
"east": {"uv": [11.25, 2.25, 11.75, 2.75], "texture": "#0"},
|
||||
"south": {"uv": [12.25, 2.25, 12.75, 2.75], "texture": "#0"},
|
||||
"west": {"uv": [13.25, 2.25, 13.75, 2.75], "texture": "#0"},
|
||||
"up": {"uv": [14.25, 2.25, 14.75, 2.75], "texture": "#0"},
|
||||
"down": {"uv": [15.25, 2.25, 15.75, 2.75], "texture": "#0"}
|
||||
}
|
||||
},
|
||||
{
|
||||
"from": [9, 0, 7],
|
||||
"to": [11, 5, 9],
|
||||
"rotation": {"angle": 45, "axis": "y", "origin": [8, 2, 8]},
|
||||
"faces": {
|
||||
"north": {"uv": [0.25, 3.25, 0.75, 3.75], "texture": "#0"},
|
||||
"east": {"uv": [1.25, 3.25, 1.75, 3.75], "texture": "#0"},
|
||||
"south": {"uv": [2.25, 3.25, 2.75, 3.75], "texture": "#0"},
|
||||
"west": {"uv": [3.25, 3.25, 3.75, 3.75], "texture": "#0"},
|
||||
"up": {"uv": [4.25, 3.25, 4.75, 3.75], "texture": "#0"},
|
||||
"down": {"uv": [5.25, 3.25, 5.75, 3.75], "texture": "#0"}
|
||||
}
|
||||
},
|
||||
{
|
||||
"from": [11, 3, 7],
|
||||
"to": [12, 5, 9],
|
||||
"rotation": {"angle": 45, "axis": "y", "origin": [8, 2, 8]},
|
||||
"faces": {
|
||||
"north": {"uv": [6.25, 3.25, 6.75, 3.75], "texture": "#0"},
|
||||
"east": {"uv": [7.25, 3.25, 7.75, 3.75], "texture": "#0"},
|
||||
"south": {"uv": [8.25, 3.25, 8.75, 3.75], "texture": "#0"},
|
||||
"west": {"uv": [9.25, 3.25, 9.75, 3.75], "texture": "#0"},
|
||||
"up": {"uv": [10.25, 3.25, 10.75, 3.75], "texture": "#0"},
|
||||
"down": {"uv": [11.25, 3.25, 11.75, 3.75], "texture": "#0"}
|
||||
}
|
||||
},
|
||||
{
|
||||
"from": [9, 6, 7],
|
||||
"to": [12, 8, 9],
|
||||
"rotation": {"angle": 45, "axis": "y", "origin": [8, 2, 8]},
|
||||
"faces": {
|
||||
"north": {"uv": [12.25, 3.25, 12.75, 3.75], "texture": "#0"},
|
||||
"east": {"uv": [13.25, 3.25, 13.75, 3.75], "texture": "#0"},
|
||||
"south": {"uv": [14.25, 3.25, 14.75, 3.75], "texture": "#0"},
|
||||
"west": {"uv": [15.25, 3.25, 15.75, 3.75], "texture": "#0"},
|
||||
"up": {"uv": [0.25, 4.25, 0.75, 4.75], "texture": "#0"},
|
||||
"down": {"uv": [1.25, 4.25, 1.75, 4.75], "texture": "#0"}
|
||||
}
|
||||
},
|
||||
{
|
||||
"from": [12, 3, 7],
|
||||
"to": [14, 8, 9],
|
||||
"rotation": {"angle": 45, "axis": "y", "origin": [8, 2, 8]},
|
||||
"faces": {
|
||||
"north": {"uv": [2.25, 4.25, 2.75, 4.75], "texture": "#0"},
|
||||
"east": {"uv": [3.25, 4.25, 3.75, 4.75], "texture": "#0"},
|
||||
"south": {"uv": [4.25, 4.25, 4.75, 4.75], "texture": "#0"},
|
||||
"west": {"uv": [5.25, 4.25, 5.75, 4.75], "texture": "#0"},
|
||||
"up": {"uv": [6.25, 4.25, 6.75, 4.75], "texture": "#0"},
|
||||
"down": {"uv": [7.25, 4.25, 7.75, 4.75], "texture": "#0"}
|
||||
}
|
||||
},
|
||||
{
|
||||
"from": [4, 0, 7],
|
||||
"to": [6, 8, 9],
|
||||
"rotation": {"angle": 45, "axis": "y", "origin": [8, 2, 8]},
|
||||
"faces": {
|
||||
"north": {"uv": [8.25, 4.25, 8.75, 4.75], "texture": "#0"},
|
||||
"east": {"uv": [9.25, 4.25, 9.75, 4.75], "texture": "#0"},
|
||||
"south": {"uv": [10.25, 4.25, 10.75, 4.75], "texture": "#0"},
|
||||
"west": {"uv": [11.25, 4.25, 11.75, 4.75], "texture": "#0"},
|
||||
"up": {"uv": [12.25, 4.25, 12.75, 4.75], "texture": "#0"},
|
||||
"down": {"uv": [13.25, 4.25, 13.75, 4.75], "texture": "#0"}
|
||||
}
|
||||
},
|
||||
{
|
||||
"from": [-2, 1, 7],
|
||||
"to": [-1, 3, 9],
|
||||
"rotation": {"angle": 45, "axis": "y", "origin": [8, 2, 8]},
|
||||
"faces": {
|
||||
"north": {"uv": [14.25, 4.25, 14.75, 4.75], "texture": "#0"},
|
||||
"east": {"uv": [15.25, 4.25, 15.75, 4.75], "texture": "#0"},
|
||||
"south": {"uv": [0.25, 5.25, 0.75, 5.75], "texture": "#0"},
|
||||
"west": {"uv": [1.25, 5.25, 1.75, 5.75], "texture": "#0"},
|
||||
"up": {"uv": [2.25, 5.25, 2.75, 5.75], "texture": "#0"},
|
||||
"down": {"uv": [3.25, 5.25, 3.75, 5.75], "texture": "#0"}
|
||||
}
|
||||
},
|
||||
{
|
||||
"from": [-4, 0, 7],
|
||||
"to": [-2, 8, 9],
|
||||
"rotation": {"angle": 45, "axis": "y", "origin": [8, 2, 8]},
|
||||
"faces": {
|
||||
"north": {"uv": [4.25, 5.25, 4.75, 5.75], "texture": "#0"},
|
||||
"east": {"uv": [5.25, 5.25, 5.75, 5.75], "texture": "#0"},
|
||||
"south": {"uv": [6.25, 5.25, 6.75, 5.75], "texture": "#0"},
|
||||
"west": {"uv": [7.25, 5.25, 7.75, 5.75], "texture": "#0"},
|
||||
"up": {"uv": [8.25, 5.25, 8.75, 5.75], "texture": "#0"},
|
||||
"down": {"uv": [9.25, 5.25, 9.75, 5.75], "texture": "#0"}
|
||||
}
|
||||
},
|
||||
{
|
||||
"from": [-2, 3, 7],
|
||||
"to": [0, 5, 9],
|
||||
"rotation": {"angle": 45, "axis": "y", "origin": [8, 2, 8]},
|
||||
"faces": {
|
||||
"north": {"uv": [10.25, 5.25, 10.75, 5.75], "texture": "#0"},
|
||||
"east": {"uv": [11.25, 5.25, 11.75, 5.75], "texture": "#0"},
|
||||
"south": {"uv": [12.25, 5.25, 12.75, 5.75], "texture": "#0"},
|
||||
"west": {"uv": [13.25, 5.25, 13.75, 5.75], "texture": "#0"},
|
||||
"up": {"uv": [14.25, 5.25, 14.75, 5.75], "texture": "#0"},
|
||||
"down": {"uv": [15.25, 5.25, 15.75, 5.75], "texture": "#0"}
|
||||
}
|
||||
},
|
||||
{
|
||||
"from": [-1, 5, 7],
|
||||
"to": [0, 7, 9],
|
||||
"rotation": {"angle": 45, "axis": "y", "origin": [8, 2, 8]},
|
||||
"faces": {
|
||||
"north": {"uv": [0.25, 6.25, 0.75, 6.75], "texture": "#0"},
|
||||
"east": {"uv": [1.25, 6.25, 1.75, 6.75], "texture": "#0"},
|
||||
"south": {"uv": [2.25, 6.25, 2.75, 6.75], "texture": "#0"},
|
||||
"west": {"uv": [3.25, 6.25, 3.75, 6.75], "texture": "#0"},
|
||||
"up": {"uv": [4.25, 6.25, 4.75, 6.75], "texture": "#0"},
|
||||
"down": {"uv": [5.25, 6.25, 5.75, 6.75], "texture": "#0"}
|
||||
}
|
||||
},
|
||||
{
|
||||
"from": [0, 0, 7],
|
||||
"to": [2, 8, 9],
|
||||
"rotation": {"angle": 45, "axis": "y", "origin": [8, 2, 8]},
|
||||
"faces": {
|
||||
"north": {"uv": [6.25, 6.25, 6.75, 6.75], "texture": "#0"},
|
||||
"east": {"uv": [7.25, 6.25, 7.75, 6.75], "texture": "#0"},
|
||||
"south": {"uv": [8.25, 6.25, 8.75, 6.75], "texture": "#0"},
|
||||
"west": {"uv": [9.25, 6.25, 9.75, 6.75], "texture": "#0"},
|
||||
"up": {"uv": [10.25, 6.25, 10.75, 6.75], "texture": "#0"},
|
||||
"down": {"uv": [11.25, 6.25, 11.75, 6.75], "texture": "#0"}
|
||||
}
|
||||
},
|
||||
{
|
||||
"from": [-10, 0, 7],
|
||||
"to": [-6, 2, 9],
|
||||
"rotation": {"angle": 45, "axis": "y", "origin": [8, 2, 8]},
|
||||
"faces": {
|
||||
"north": {"uv": [12.25, 6.25, 12.75, 6.75], "texture": "#0"},
|
||||
"east": {"uv": [13.25, 6.25, 13.75, 6.75], "texture": "#0"},
|
||||
"south": {"uv": [14.25, 6.25, 14.75, 6.75], "texture": "#0"},
|
||||
"west": {"uv": [15.25, 6.25, 15.75, 6.75], "texture": "#0"},
|
||||
"up": {"uv": [0.25, 7.25, 0.75, 7.75], "texture": "#0"},
|
||||
"down": {"uv": [1.25, 7.25, 1.75, 7.75], "texture": "#0"}
|
||||
}
|
||||
},
|
||||
{
|
||||
"from": [-12, 0, 7],
|
||||
"to": [-10, 6, 9],
|
||||
"rotation": {"angle": 45, "axis": "y", "origin": [8, 2, 8]},
|
||||
"faces": {
|
||||
"north": {"uv": [2.25, 7.25, 2.75, 7.75], "texture": "#0"},
|
||||
"east": {"uv": [3.25, 7.25, 3.75, 7.75], "texture": "#0"},
|
||||
"south": {"uv": [4.25, 7.25, 4.75, 7.75], "texture": "#0"},
|
||||
"west": {"uv": [5.25, 7.25, 5.75, 7.75], "texture": "#0"},
|
||||
"up": {"uv": [6.25, 7.25, 6.75, 7.75], "texture": "#0"},
|
||||
"down": {"uv": [7.25, 7.25, 7.75, 7.75], "texture": "#0"}
|
||||
}
|
||||
},
|
||||
{
|
||||
"from": [-12, 6, 7],
|
||||
"to": [-8, 8, 9],
|
||||
"rotation": {"angle": 45, "axis": "y", "origin": [8, 2, 8]},
|
||||
"faces": {
|
||||
"north": {"uv": [8.25, 7.25, 8.75, 7.75], "texture": "#0"},
|
||||
"east": {"uv": [9.25, 7.25, 9.75, 7.75], "texture": "#0"},
|
||||
"south": {"uv": [10.25, 7.25, 10.75, 7.75], "texture": "#0"},
|
||||
"west": {"uv": [11.25, 7.25, 11.75, 7.75], "texture": "#0"},
|
||||
"up": {"uv": [12.25, 7.25, 12.75, 7.75], "texture": "#0"},
|
||||
"down": {"uv": [13.25, 7.25, 13.75, 7.75], "texture": "#0"}
|
||||
}
|
||||
},
|
||||
{
|
||||
"from": [-8, 2, 7],
|
||||
"to": [-6, 8, 9],
|
||||
"rotation": {"angle": 45, "axis": "y", "origin": [8, 2, 8]},
|
||||
"faces": {
|
||||
"north": {"uv": [14.25, 7.25, 14.75, 7.75], "texture": "#0"},
|
||||
"east": {"uv": [15.25, 7.25, 15.75, 7.75], "texture": "#0"},
|
||||
"south": {"uv": [0.25, 8.25, 0.75, 8.75], "texture": "#0"},
|
||||
"west": {"uv": [1.25, 8.25, 1.75, 8.75], "texture": "#0"},
|
||||
"up": {"uv": [2.25, 8.25, 2.75, 8.75], "texture": "#0"},
|
||||
"down": {"uv": [3.25, 8.25, 3.75, 8.75], "texture": "#0"}
|
||||
}
|
||||
}
|
||||
],
|
||||
"display": {
|
||||
"thirdperson_righthand": {
|
||||
"rotation": [0, -45, 0],
|
||||
"translation": [0, 0, -0.25],
|
||||
"scale": [0.2, 0.2, 0.2]
|
||||
},
|
||||
"thirdperson_lefthand": {
|
||||
"rotation": [0, 45, 0],
|
||||
"translation": [0, 0, -0.25],
|
||||
"scale": [0.2, 0.2, 0.2]
|
||||
},
|
||||
"firstperson_righthand": {
|
||||
"rotation": [0, 90, 0],
|
||||
"translation": [33.25, -15, -45.5]
|
||||
},
|
||||
"firstperson_lefthand": {
|
||||
"rotation": [0, -180, 0],
|
||||
"translation": [31.25, -15, -45.75]
|
||||
},
|
||||
"ground": {
|
||||
"translation": [0, 0.75, 0],
|
||||
"scale": [0.2, 0.2, 0.2]
|
||||
},
|
||||
"gui": {
|
||||
"rotation": [0, 135, 0],
|
||||
"translation": [0.25, 1.5, 0],
|
||||
"scale": [0.3, 0.3, 0.3]
|
||||
},
|
||||
"head": {
|
||||
"rotation": [0, -45, 0],
|
||||
"translation": [0, 38.5, 0],
|
||||
"scale": [4, 4, 4]
|
||||
},
|
||||
"fixed": {
|
||||
"rotation": [0, -45, 0],
|
||||
"translation": [-0.5, 2, 0],
|
||||
"scale": [0.4, 0.4, 0.4]
|
||||
},
|
||||
"on_shelf": {
|
||||
"rotation": [0, 135, 0],
|
||||
"translation": [1.25, 0, 0],
|
||||
"scale": [0.4, 0.4, 0.4]
|
||||
}
|
||||
},
|
||||
"groups": [
|
||||
{
|
||||
"name": "A",
|
||||
"origin": [10, 2, 7],
|
||||
"color": 0,
|
||||
"children": [0, 1, 2, 3]
|
||||
},
|
||||
{
|
||||
"name": "C",
|
||||
"origin": [10, 2, 7],
|
||||
"color": 0,
|
||||
"children": [4, 5, 6]
|
||||
},
|
||||
{
|
||||
"name": "S",
|
||||
"origin": [10, 2, 7],
|
||||
"color": 2,
|
||||
"children": [7, 8, 9, 10, 11]
|
||||
},
|
||||
{
|
||||
"name": "I",
|
||||
"origin": [10, 2, 7],
|
||||
"color": 3,
|
||||
"children": [12]
|
||||
},
|
||||
{
|
||||
"name": "N",
|
||||
"origin": [10, 2, 7],
|
||||
"color": 4,
|
||||
"children": [13, 14, 15, 16, 17]
|
||||
},
|
||||
{
|
||||
"name": "O",
|
||||
"origin": [10, 2, 7],
|
||||
"color": 6,
|
||||
"children": [18, 19, 20, 21]
|
||||
}
|
||||
]
|
||||
}
|
||||
73
src/main/resources/assets/szar/models/block/i.json
Normal file
@@ -0,0 +1,73 @@
|
||||
{
|
||||
"format_version": "1.9.0",
|
||||
"credit": "Made with Blockbench",
|
||||
"textures": {
|
||||
"0": "szar:block/casino_red",
|
||||
"particle": "szar:block/casino_red"
|
||||
},
|
||||
"elements": [
|
||||
{
|
||||
"from": [4, 0, 4],
|
||||
"to": [12, 32, 12],
|
||||
"rotation": {"angle": -45, "axis": "y", "origin": [8, 0, 8]},
|
||||
"faces": {
|
||||
"north": {"uv": [8.25, 4.25, 8.75, 4.75], "texture": "#0"},
|
||||
"east": {"uv": [9.25, 4.25, 9.75, 4.75], "texture": "#0"},
|
||||
"south": {"uv": [10.25, 4.25, 10.75, 4.75], "texture": "#0"},
|
||||
"west": {"uv": [11.25, 4.25, 11.75, 4.75], "texture": "#0"},
|
||||
"up": {"uv": [12.25, 4.25, 12.75, 4.75], "texture": "#0"},
|
||||
"down": {"uv": [13.25, 4.25, 13.75, 4.75], "texture": "#0"}
|
||||
}
|
||||
}
|
||||
],
|
||||
"display": {
|
||||
"thirdperson_righthand": {
|
||||
"translation": [0, 0, -1.5],
|
||||
"scale": [0.2, 0.2, 0.2]
|
||||
},
|
||||
"thirdperson_lefthand": {
|
||||
"translation": [0, 0, -0.25],
|
||||
"scale": [0.2, 0.2, 0.2]
|
||||
},
|
||||
"firstperson_righthand": {
|
||||
"rotation": [0, -180, 0],
|
||||
"translation": [33.25, -15, -45.5]
|
||||
},
|
||||
"firstperson_lefthand": {
|
||||
"rotation": [0, -180, 0],
|
||||
"translation": [31.25, -15, -45.75]
|
||||
},
|
||||
"ground": {
|
||||
"translation": [0, 0.75, 0],
|
||||
"scale": [0.2, 0.2, 0.2]
|
||||
},
|
||||
"gui": {
|
||||
"rotation": [0, 135, 0],
|
||||
"translation": [0.25, 1.5, 0],
|
||||
"scale": [0.3, 0.3, 0.3]
|
||||
},
|
||||
"head": {
|
||||
"rotation": [0, -45, 0],
|
||||
"translation": [0, 38.5, 0],
|
||||
"scale": [4, 4, 4]
|
||||
},
|
||||
"fixed": {
|
||||
"rotation": [0, -45, 0],
|
||||
"translation": [-0.5, 2, 0],
|
||||
"scale": [0.4, 0.4, 0.4]
|
||||
},
|
||||
"on_shelf": {
|
||||
"rotation": [0, 135, 0],
|
||||
"translation": [1.25, 0, 0],
|
||||
"scale": [0.4, 0.4, 0.4]
|
||||
}
|
||||
},
|
||||
"groups": [
|
||||
{
|
||||
"name": "I",
|
||||
"origin": [10, 2, 7],
|
||||
"color": 3,
|
||||
"children": [0]
|
||||
}
|
||||
]
|
||||
}
|
||||
72
src/main/resources/assets/szar/models/block/i_outline.json
Normal file
@@ -0,0 +1,72 @@
|
||||
{
|
||||
"format_version": "1.9.0",
|
||||
"credit": "Made with Blockbench",
|
||||
"textures": {
|
||||
"particle": "szar:block/casino_red"
|
||||
},
|
||||
"elements": [
|
||||
{
|
||||
"from": [4, 0, 4],
|
||||
"to": [12, 32, 12],
|
||||
"rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]},
|
||||
"faces": {
|
||||
"north": {"uv": [8.25, 4.25, 8.75, 4.75], "texture": "#missing"},
|
||||
"east": {"uv": [9.25, 4.25, 9.75, 4.75], "texture": "#missing"},
|
||||
"south": {"uv": [10.25, 4.25, 10.75, 4.75], "texture": "#missing"},
|
||||
"west": {"uv": [11.25, 4.25, 11.75, 4.75], "texture": "#missing"},
|
||||
"up": {"uv": [12.25, 4.25, 12.75, 4.75], "texture": "#missing"},
|
||||
"down": {"uv": [13.25, 4.25, 13.75, 4.75], "texture": "#missing"}
|
||||
}
|
||||
}
|
||||
],
|
||||
"display": {
|
||||
"thirdperson_righthand": {
|
||||
"translation": [0, 0, -1.5],
|
||||
"scale": [0.2, 0.2, 0.2]
|
||||
},
|
||||
"thirdperson_lefthand": {
|
||||
"translation": [0, 0, -0.25],
|
||||
"scale": [0.2, 0.2, 0.2]
|
||||
},
|
||||
"firstperson_righthand": {
|
||||
"rotation": [0, -180, 0],
|
||||
"translation": [33.25, -15, -45.5]
|
||||
},
|
||||
"firstperson_lefthand": {
|
||||
"rotation": [0, -180, 0],
|
||||
"translation": [31.25, -15, -45.75]
|
||||
},
|
||||
"ground": {
|
||||
"translation": [0, 0.75, 0],
|
||||
"scale": [0.2, 0.2, 0.2]
|
||||
},
|
||||
"gui": {
|
||||
"rotation": [0, 135, 0],
|
||||
"translation": [0.25, 1.5, 0],
|
||||
"scale": [0.3, 0.3, 0.3]
|
||||
},
|
||||
"head": {
|
||||
"rotation": [0, -45, 0],
|
||||
"translation": [0, 38.5, 0],
|
||||
"scale": [4, 4, 4]
|
||||
},
|
||||
"fixed": {
|
||||
"rotation": [0, -45, 0],
|
||||
"translation": [-0.5, 2, 0],
|
||||
"scale": [0.4, 0.4, 0.4]
|
||||
},
|
||||
"on_shelf": {
|
||||
"rotation": [0, 135, 0],
|
||||
"translation": [1.25, 0, 0],
|
||||
"scale": [0.4, 0.4, 0.4]
|
||||
}
|
||||
},
|
||||
"groups": [
|
||||
{
|
||||
"name": "I",
|
||||
"origin": [10, 2, 7],
|
||||
"color": 3,
|
||||
"children": [0]
|
||||
}
|
||||
]
|
||||
}
|
||||
125
src/main/resources/assets/szar/models/block/n.json
Normal file
@@ -0,0 +1,125 @@
|
||||
{
|
||||
"format_version": "1.9.0",
|
||||
"credit": "Made with Blockbench",
|
||||
"textures": {
|
||||
"0": "szar:block/casino_red",
|
||||
"particle": "szar:block/casino_red"
|
||||
},
|
||||
"elements": [
|
||||
{
|
||||
"from": [4, 4, 4],
|
||||
"to": [8, 12, 12],
|
||||
"rotation": {"angle": 45, "axis": "y", "origin": [8, 0, 8]},
|
||||
"faces": {
|
||||
"north": {"uv": [14.25, 4.25, 14.75, 4.75], "texture": "#0"},
|
||||
"east": {"uv": [15.25, 4.25, 15.75, 4.75], "texture": "#0"},
|
||||
"south": {"uv": [0.25, 5.25, 0.75, 5.75], "texture": "#0"},
|
||||
"west": {"uv": [1.25, 5.25, 1.75, 5.75], "texture": "#0"},
|
||||
"up": {"uv": [2.25, 5.25, 2.75, 5.75], "texture": "#0"},
|
||||
"down": {"uv": [3.25, 5.25, 3.75, 5.75], "texture": "#0"}
|
||||
}
|
||||
},
|
||||
{
|
||||
"from": [-4, 0, 4],
|
||||
"to": [4, 32, 12],
|
||||
"rotation": {"angle": 45, "axis": "y", "origin": [8, 0, 8]},
|
||||
"faces": {
|
||||
"north": {"uv": [4.25, 5.25, 4.75, 5.75], "texture": "#0"},
|
||||
"east": {"uv": [5.25, 5.25, 5.75, 5.75], "texture": "#0"},
|
||||
"south": {"uv": [6.25, 5.25, 6.75, 5.75], "texture": "#0"},
|
||||
"west": {"uv": [7.25, 5.25, 7.75, 5.75], "texture": "#0"},
|
||||
"up": {"uv": [8.25, 5.25, 8.75, 5.75], "texture": "#0"},
|
||||
"down": {"uv": [9.25, 5.25, 9.75, 5.75], "texture": "#0"}
|
||||
}
|
||||
},
|
||||
{
|
||||
"from": [4, 12, 4],
|
||||
"to": [12, 20, 12],
|
||||
"rotation": {"angle": 45, "axis": "y", "origin": [8, 0, 8]},
|
||||
"faces": {
|
||||
"north": {"uv": [10.25, 5.25, 10.75, 5.75], "texture": "#0"},
|
||||
"east": {"uv": [11.25, 5.25, 11.75, 5.75], "texture": "#0"},
|
||||
"south": {"uv": [12.25, 5.25, 12.75, 5.75], "texture": "#0"},
|
||||
"west": {"uv": [13.25, 5.25, 13.75, 5.75], "texture": "#0"},
|
||||
"up": {"uv": [14.25, 5.25, 14.75, 5.75], "texture": "#0"},
|
||||
"down": {"uv": [15.25, 5.25, 15.75, 5.75], "texture": "#0"}
|
||||
}
|
||||
},
|
||||
{
|
||||
"from": [8, 20, 4],
|
||||
"to": [12, 28, 12],
|
||||
"rotation": {"angle": 45, "axis": "y", "origin": [8, 0, 8]},
|
||||
"faces": {
|
||||
"north": {"uv": [0.25, 6.25, 0.75, 6.75], "texture": "#0"},
|
||||
"east": {"uv": [1.25, 6.25, 1.75, 6.75], "texture": "#0"},
|
||||
"south": {"uv": [2.25, 6.25, 2.75, 6.75], "texture": "#0"},
|
||||
"west": {"uv": [3.25, 6.25, 3.75, 6.75], "texture": "#0"},
|
||||
"up": {"uv": [4.25, 6.25, 4.75, 6.75], "texture": "#0"},
|
||||
"down": {"uv": [5.25, 6.25, 5.75, 6.75], "texture": "#0"}
|
||||
}
|
||||
},
|
||||
{
|
||||
"from": [12, 0, 4],
|
||||
"to": [20, 32, 12],
|
||||
"rotation": {"angle": 45, "axis": "y", "origin": [8, 0, 8]},
|
||||
"faces": {
|
||||
"north": {"uv": [6.25, 6.25, 6.75, 6.75], "texture": "#0"},
|
||||
"east": {"uv": [7.25, 6.25, 7.75, 6.75], "texture": "#0"},
|
||||
"south": {"uv": [8.25, 6.25, 8.75, 6.75], "texture": "#0"},
|
||||
"west": {"uv": [9.25, 6.25, 9.75, 6.75], "texture": "#0"},
|
||||
"up": {"uv": [10.25, 6.25, 10.75, 6.75], "texture": "#0"},
|
||||
"down": {"uv": [11.25, 6.25, 11.75, 6.75], "texture": "#0"}
|
||||
}
|
||||
}
|
||||
],
|
||||
"display": {
|
||||
"thirdperson_righthand": {
|
||||
"translation": [0, 0, -1.5],
|
||||
"scale": [0.2, 0.2, 0.2]
|
||||
},
|
||||
"thirdperson_lefthand": {
|
||||
"translation": [0, 0, -0.25],
|
||||
"scale": [0.2, 0.2, 0.2]
|
||||
},
|
||||
"firstperson_righthand": {
|
||||
"rotation": [0, -180, 0],
|
||||
"translation": [33.25, -15, -45.5]
|
||||
},
|
||||
"firstperson_lefthand": {
|
||||
"rotation": [0, -180, 0],
|
||||
"translation": [31.25, -15, -45.75]
|
||||
},
|
||||
"ground": {
|
||||
"translation": [0, 0.75, 0],
|
||||
"scale": [0.2, 0.2, 0.2]
|
||||
},
|
||||
"gui": {
|
||||
"rotation": [0, 135, 0],
|
||||
"translation": [0.25, 1.5, 0],
|
||||
"scale": [0.3, 0.3, 0.3]
|
||||
},
|
||||
"head": {
|
||||
"rotation": [0, -45, 0],
|
||||
"translation": [0, 38.5, 0],
|
||||
"scale": [4, 4, 4]
|
||||
},
|
||||
"fixed": {
|
||||
"rotation": [0, -45, 0],
|
||||
"translation": [-0.5, 2, 0],
|
||||
"scale": [0.4, 0.4, 0.4]
|
||||
},
|
||||
"on_shelf": {
|
||||
"rotation": [0, 135, 0],
|
||||
"translation": [1.25, 0, 0],
|
||||
"scale": [0.4, 0.4, 0.4]
|
||||
}
|
||||
},
|
||||
"groups": [
|
||||
{
|
||||
"name": "N",
|
||||
"origin": [10, 2, 7],
|
||||
"color": 4,
|
||||
"children": [0, 1, 2, 3, 4]
|
||||
}
|
||||
]
|
||||
}
|
||||
125
src/main/resources/assets/szar/models/block/n_outline.json
Normal file
@@ -0,0 +1,125 @@
|
||||
{
|
||||
"format_version": "1.9.0",
|
||||
"credit": "Made with Blockbench",
|
||||
"textures": {
|
||||
"0": "szar:block/casino_red",
|
||||
"particle": "szar:block/casino_red"
|
||||
},
|
||||
"elements": [
|
||||
{
|
||||
"from": [4, 4, 6],
|
||||
"to": [8, 12, 14],
|
||||
"rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 10]},
|
||||
"faces": {
|
||||
"north": {"uv": [14.25, 4.25, 14.75, 4.75], "texture": "#0"},
|
||||
"east": {"uv": [15.25, 4.25, 15.75, 4.75], "texture": "#0"},
|
||||
"south": {"uv": [0.25, 5.25, 0.75, 5.75], "texture": "#0"},
|
||||
"west": {"uv": [1.25, 5.25, 1.75, 5.75], "texture": "#0"},
|
||||
"up": {"uv": [2.25, 5.25, 2.75, 5.75], "texture": "#0"},
|
||||
"down": {"uv": [3.25, 5.25, 3.75, 5.75], "texture": "#0"}
|
||||
}
|
||||
},
|
||||
{
|
||||
"from": [-2, 0, 9],
|
||||
"to": [6, 32, 17],
|
||||
"rotation": {"angle": 0, "axis": "y", "origin": [10, 0, 13]},
|
||||
"faces": {
|
||||
"north": {"uv": [4.25, 5.25, 4.75, 5.75], "texture": "#0"},
|
||||
"east": {"uv": [5.25, 5.25, 5.75, 5.75], "texture": "#0"},
|
||||
"south": {"uv": [6.25, 5.25, 6.75, 5.75], "texture": "#0"},
|
||||
"west": {"uv": [7.25, 5.25, 7.75, 5.75], "texture": "#0"},
|
||||
"up": {"uv": [8.25, 5.25, 8.75, 5.75], "texture": "#0"},
|
||||
"down": {"uv": [9.25, 5.25, 9.75, 5.75], "texture": "#0"}
|
||||
}
|
||||
},
|
||||
{
|
||||
"from": [4, 12, 4],
|
||||
"to": [12, 20, 12],
|
||||
"rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]},
|
||||
"faces": {
|
||||
"north": {"uv": [10.25, 5.25, 10.75, 5.75], "texture": "#0"},
|
||||
"east": {"uv": [11.25, 5.25, 11.75, 5.75], "texture": "#0"},
|
||||
"south": {"uv": [12.25, 5.25, 12.75, 5.75], "texture": "#0"},
|
||||
"west": {"uv": [13.25, 5.25, 13.75, 5.75], "texture": "#0"},
|
||||
"up": {"uv": [14.25, 5.25, 14.75, 5.75], "texture": "#0"},
|
||||
"down": {"uv": [15.25, 5.25, 15.75, 5.75], "texture": "#0"}
|
||||
}
|
||||
},
|
||||
{
|
||||
"from": [8, 20, 2],
|
||||
"to": [12, 28, 10],
|
||||
"rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 6]},
|
||||
"faces": {
|
||||
"north": {"uv": [0.25, 6.25, 0.75, 6.75], "texture": "#0"},
|
||||
"east": {"uv": [1.25, 6.25, 1.75, 6.75], "texture": "#0"},
|
||||
"south": {"uv": [2.25, 6.25, 2.75, 6.75], "texture": "#0"},
|
||||
"west": {"uv": [3.25, 6.25, 3.75, 6.75], "texture": "#0"},
|
||||
"up": {"uv": [4.25, 6.25, 4.75, 6.75], "texture": "#0"},
|
||||
"down": {"uv": [5.25, 6.25, 5.75, 6.75], "texture": "#0"}
|
||||
}
|
||||
},
|
||||
{
|
||||
"from": [10, 0, -1],
|
||||
"to": [18, 32, 7],
|
||||
"rotation": {"angle": 0, "axis": "y", "origin": [6, 0, 3]},
|
||||
"faces": {
|
||||
"north": {"uv": [6.25, 6.25, 6.75, 6.75], "texture": "#0"},
|
||||
"east": {"uv": [7.25, 6.25, 7.75, 6.75], "texture": "#0"},
|
||||
"south": {"uv": [8.25, 6.25, 8.75, 6.75], "texture": "#0"},
|
||||
"west": {"uv": [9.25, 6.25, 9.75, 6.75], "texture": "#0"},
|
||||
"up": {"uv": [10.25, 6.25, 10.75, 6.75], "texture": "#0"},
|
||||
"down": {"uv": [11.25, 6.25, 11.75, 6.75], "texture": "#0"}
|
||||
}
|
||||
}
|
||||
],
|
||||
"display": {
|
||||
"thirdperson_righthand": {
|
||||
"translation": [0, 0, -1.5],
|
||||
"scale": [0.2, 0.2, 0.2]
|
||||
},
|
||||
"thirdperson_lefthand": {
|
||||
"translation": [0, 0, -0.25],
|
||||
"scale": [0.2, 0.2, 0.2]
|
||||
},
|
||||
"firstperson_righthand": {
|
||||
"rotation": [0, -180, 0],
|
||||
"translation": [33.25, -15, -45.5]
|
||||
},
|
||||
"firstperson_lefthand": {
|
||||
"rotation": [0, -180, 0],
|
||||
"translation": [31.25, -15, -45.75]
|
||||
},
|
||||
"ground": {
|
||||
"translation": [0, 0.75, 0],
|
||||
"scale": [0.2, 0.2, 0.2]
|
||||
},
|
||||
"gui": {
|
||||
"rotation": [0, 135, 0],
|
||||
"translation": [0.25, 1.5, 0],
|
||||
"scale": [0.3, 0.3, 0.3]
|
||||
},
|
||||
"head": {
|
||||
"rotation": [0, -45, 0],
|
||||
"translation": [0, 38.5, 0],
|
||||
"scale": [4, 4, 4]
|
||||
},
|
||||
"fixed": {
|
||||
"rotation": [0, -45, 0],
|
||||
"translation": [-0.5, 2, 0],
|
||||
"scale": [0.4, 0.4, 0.4]
|
||||
},
|
||||
"on_shelf": {
|
||||
"rotation": [0, 135, 0],
|
||||
"translation": [1.25, 0, 0],
|
||||
"scale": [0.4, 0.4, 0.4]
|
||||
}
|
||||
},
|
||||
"groups": [
|
||||
{
|
||||
"name": "NB",
|
||||
"origin": [10, 2, 7],
|
||||
"color": 4,
|
||||
"children": [0, 1, 2, 3, 4]
|
||||
}
|
||||
]
|
||||
}
|
||||
112
src/main/resources/assets/szar/models/block/o.json
Normal file
@@ -0,0 +1,112 @@
|
||||
{
|
||||
"format_version": "1.9.0",
|
||||
"credit": "Made with Blockbench",
|
||||
"textures": {
|
||||
"0": "szar:block/casino_red",
|
||||
"particle": "szar:block/casino_red"
|
||||
},
|
||||
"elements": [
|
||||
{
|
||||
"from": [1, 0, 7],
|
||||
"to": [17, 8, 15],
|
||||
"rotation": {"angle": 45, "axis": "y", "origin": [4, 0, 10]},
|
||||
"faces": {
|
||||
"north": {"uv": [12.25, 6.25, 12.75, 6.75], "texture": "#0"},
|
||||
"east": {"uv": [13.25, 6.25, 13.75, 6.75], "texture": "#0"},
|
||||
"south": {"uv": [14.25, 6.25, 14.75, 6.75], "texture": "#0"},
|
||||
"west": {"uv": [15.25, 6.25, 15.75, 6.75], "texture": "#0"},
|
||||
"up": {"uv": [0.25, 7.25, 0.75, 7.75], "texture": "#0"},
|
||||
"down": {"uv": [1.25, 7.25, 1.75, 7.75], "texture": "#0"}
|
||||
}
|
||||
},
|
||||
{
|
||||
"from": [-7, 0, 7],
|
||||
"to": [1, 24, 15],
|
||||
"rotation": {"angle": 45, "axis": "y", "origin": [4, 0, 10]},
|
||||
"faces": {
|
||||
"north": {"uv": [2.25, 7.25, 2.75, 7.75], "texture": "#0"},
|
||||
"east": {"uv": [3.25, 7.25, 3.75, 7.75], "texture": "#0"},
|
||||
"south": {"uv": [4.25, 7.25, 4.75, 7.75], "texture": "#0"},
|
||||
"west": {"uv": [5.25, 7.25, 5.75, 7.75], "texture": "#0"},
|
||||
"up": {"uv": [6.25, 7.25, 6.75, 7.75], "texture": "#0"},
|
||||
"down": {"uv": [7.25, 7.25, 7.75, 7.75], "texture": "#0"}
|
||||
}
|
||||
},
|
||||
{
|
||||
"from": [-7, 24, 7],
|
||||
"to": [9, 32, 15],
|
||||
"rotation": {"angle": 45, "axis": "y", "origin": [4, 18, 10]},
|
||||
"faces": {
|
||||
"north": {"uv": [8.25, 7.25, 8.75, 7.75], "texture": "#0"},
|
||||
"east": {"uv": [9.25, 7.25, 9.75, 7.75], "texture": "#0"},
|
||||
"south": {"uv": [10.25, 7.25, 10.75, 7.75], "texture": "#0"},
|
||||
"west": {"uv": [11.25, 7.25, 11.75, 7.75], "texture": "#0"},
|
||||
"up": {"uv": [12.25, 7.25, 12.75, 7.75], "texture": "#0"},
|
||||
"down": {"uv": [13.25, 7.25, 13.75, 7.75], "texture": "#0"}
|
||||
}
|
||||
},
|
||||
{
|
||||
"from": [9, 8, 7],
|
||||
"to": [17, 32, 15],
|
||||
"rotation": {"angle": 45, "axis": "y", "origin": [4, 6, 10]},
|
||||
"faces": {
|
||||
"north": {"uv": [14.25, 7.25, 14.75, 7.75], "texture": "#0"},
|
||||
"east": {"uv": [15.25, 7.25, 15.75, 7.75], "texture": "#0"},
|
||||
"south": {"uv": [0.25, 8.25, 0.75, 8.75], "texture": "#0"},
|
||||
"west": {"uv": [1.25, 8.25, 1.75, 8.75], "texture": "#0"},
|
||||
"up": {"uv": [2.25, 8.25, 2.75, 8.75], "texture": "#0"},
|
||||
"down": {"uv": [3.25, 8.25, 3.75, 8.75], "texture": "#0"}
|
||||
}
|
||||
}
|
||||
],
|
||||
"display": {
|
||||
"thirdperson_righthand": {
|
||||
"translation": [0, 0, -1.5],
|
||||
"scale": [0.2, 0.2, 0.2]
|
||||
},
|
||||
"thirdperson_lefthand": {
|
||||
"translation": [0, 0, -0.25],
|
||||
"scale": [0.2, 0.2, 0.2]
|
||||
},
|
||||
"firstperson_righthand": {
|
||||
"rotation": [0, -180, 0],
|
||||
"translation": [33.25, -15, -45.5]
|
||||
},
|
||||
"firstperson_lefthand": {
|
||||
"rotation": [0, -180, 0],
|
||||
"translation": [31.25, -15, -45.75]
|
||||
},
|
||||
"ground": {
|
||||
"translation": [0, 0.75, 0],
|
||||
"scale": [0.2, 0.2, 0.2]
|
||||
},
|
||||
"gui": {
|
||||
"rotation": [0, 135, 0],
|
||||
"translation": [0.25, 1.5, 0],
|
||||
"scale": [0.3, 0.3, 0.3]
|
||||
},
|
||||
"head": {
|
||||
"rotation": [0, -45, 0],
|
||||
"translation": [0, 38.5, 0],
|
||||
"scale": [4, 4, 4]
|
||||
},
|
||||
"fixed": {
|
||||
"rotation": [0, -45, 0],
|
||||
"translation": [-0.5, 2, 0],
|
||||
"scale": [0.4, 0.4, 0.4]
|
||||
},
|
||||
"on_shelf": {
|
||||
"rotation": [0, 135, 0],
|
||||
"translation": [1.25, 0, 0],
|
||||
"scale": [0.4, 0.4, 0.4]
|
||||
}
|
||||
},
|
||||
"groups": [
|
||||
{
|
||||
"name": "O",
|
||||
"origin": [10, 2, 7],
|
||||
"color": 6,
|
||||
"children": [0, 1, 2, 3]
|
||||
}
|
||||
]
|
||||
}
|
||||
112
src/main/resources/assets/szar/models/block/o_outline.json
Normal file
@@ -0,0 +1,112 @@
|
||||
{
|
||||
"format_version": "1.9.0",
|
||||
"credit": "Made with Blockbench",
|
||||
"textures": {
|
||||
"0": "szar:block/casino_red",
|
||||
"particle": "szar:block/casino_red"
|
||||
},
|
||||
"elements": [
|
||||
{
|
||||
"from": [3, 0, 2],
|
||||
"to": [19, 8, 10],
|
||||
"rotation": {"angle": 0, "axis": "y", "origin": [6, 0, 5]},
|
||||
"faces": {
|
||||
"north": {"uv": [12.25, 6.25, 12.75, 6.75], "texture": "#0"},
|
||||
"east": {"uv": [13.25, 6.25, 13.75, 6.75], "texture": "#0"},
|
||||
"south": {"uv": [14.25, 6.25, 14.75, 6.75], "texture": "#0"},
|
||||
"west": {"uv": [15.25, 6.25, 15.75, 6.75], "texture": "#0"},
|
||||
"up": {"uv": [0.25, 7.25, 0.75, 7.75], "texture": "#0"},
|
||||
"down": {"uv": [1.25, 7.25, 1.75, 7.75], "texture": "#0"}
|
||||
}
|
||||
},
|
||||
{
|
||||
"from": [-1, 0, 10],
|
||||
"to": [7, 24, 18],
|
||||
"rotation": {"angle": 0, "axis": "y", "origin": [10, 0, 13]},
|
||||
"faces": {
|
||||
"north": {"uv": [2.25, 7.25, 2.75, 7.75], "texture": "#0"},
|
||||
"east": {"uv": [3.25, 7.25, 3.75, 7.75], "texture": "#0"},
|
||||
"south": {"uv": [4.25, 7.25, 4.75, 7.75], "texture": "#0"},
|
||||
"west": {"uv": [5.25, 7.25, 5.75, 7.75], "texture": "#0"},
|
||||
"up": {"uv": [6.25, 7.25, 6.75, 7.75], "texture": "#0"},
|
||||
"down": {"uv": [7.25, 7.25, 7.75, 7.75], "texture": "#0"}
|
||||
}
|
||||
},
|
||||
{
|
||||
"from": [-1, 24, 8],
|
||||
"to": [15, 32, 16],
|
||||
"rotation": {"angle": 0, "axis": "y", "origin": [10, 18, 11]},
|
||||
"faces": {
|
||||
"north": {"uv": [8.25, 7.25, 8.75, 7.75], "texture": "#0"},
|
||||
"east": {"uv": [9.25, 7.25, 9.75, 7.75], "texture": "#0"},
|
||||
"south": {"uv": [10.25, 7.25, 10.75, 7.75], "texture": "#0"},
|
||||
"west": {"uv": [11.25, 7.25, 11.75, 7.75], "texture": "#0"},
|
||||
"up": {"uv": [12.25, 7.25, 12.75, 7.75], "texture": "#0"},
|
||||
"down": {"uv": [13.25, 7.25, 13.75, 7.75], "texture": "#0"}
|
||||
}
|
||||
},
|
||||
{
|
||||
"from": [11, 8, 0],
|
||||
"to": [19, 32, 8],
|
||||
"rotation": {"angle": 0, "axis": "y", "origin": [6, 6, 3]},
|
||||
"faces": {
|
||||
"north": {"uv": [14.25, 7.25, 14.75, 7.75], "texture": "#0"},
|
||||
"east": {"uv": [15.25, 7.25, 15.75, 7.75], "texture": "#0"},
|
||||
"south": {"uv": [0.25, 8.25, 0.75, 8.75], "texture": "#0"},
|
||||
"west": {"uv": [1.25, 8.25, 1.75, 8.75], "texture": "#0"},
|
||||
"up": {"uv": [2.25, 8.25, 2.75, 8.75], "texture": "#0"},
|
||||
"down": {"uv": [3.25, 8.25, 3.75, 8.75], "texture": "#0"}
|
||||
}
|
||||
}
|
||||
],
|
||||
"display": {
|
||||
"thirdperson_righthand": {
|
||||
"translation": [0, 0, -1.5],
|
||||
"scale": [0.2, 0.2, 0.2]
|
||||
},
|
||||
"thirdperson_lefthand": {
|
||||
"translation": [0, 0, -0.25],
|
||||
"scale": [0.2, 0.2, 0.2]
|
||||
},
|
||||
"firstperson_righthand": {
|
||||
"rotation": [0, -180, 0],
|
||||
"translation": [33.25, -15, -45.5]
|
||||
},
|
||||
"firstperson_lefthand": {
|
||||
"rotation": [0, -180, 0],
|
||||
"translation": [31.25, -15, -45.75]
|
||||
},
|
||||
"ground": {
|
||||
"translation": [0, 0.75, 0],
|
||||
"scale": [0.2, 0.2, 0.2]
|
||||
},
|
||||
"gui": {
|
||||
"rotation": [0, 135, 0],
|
||||
"translation": [0.25, 1.5, 0],
|
||||
"scale": [0.3, 0.3, 0.3]
|
||||
},
|
||||
"head": {
|
||||
"rotation": [0, -45, 0],
|
||||
"translation": [0, 38.5, 0],
|
||||
"scale": [4, 4, 4]
|
||||
},
|
||||
"fixed": {
|
||||
"rotation": [0, -45, 0],
|
||||
"translation": [-0.5, 2, 0],
|
||||
"scale": [0.4, 0.4, 0.4]
|
||||
},
|
||||
"on_shelf": {
|
||||
"rotation": [0, 135, 0],
|
||||
"translation": [1.25, 0, 0],
|
||||
"scale": [0.4, 0.4, 0.4]
|
||||
}
|
||||
},
|
||||
"groups": [
|
||||
{
|
||||
"name": "OB",
|
||||
"origin": [10, 2, 7],
|
||||
"color": 6,
|
||||
"children": [0, 1, 2, 3]
|
||||
}
|
||||
]
|
||||
}
|
||||
124
src/main/resources/assets/szar/models/block/s.json
Normal file
@@ -0,0 +1,124 @@
|
||||
{
|
||||
"format_version": "1.9.0",
|
||||
"credit": "Made with Blockbench",
|
||||
"textures": {
|
||||
"particle": "szar:block/casino_red"
|
||||
},
|
||||
"elements": [
|
||||
{
|
||||
"from": [5, 0, 4],
|
||||
"to": [21, 8, 12],
|
||||
"rotation": {"angle": 45, "axis": "y", "origin": [8, 0, 8]},
|
||||
"faces": {
|
||||
"north": {"uv": [10.25, 2.25, 10.75, 2.75], "texture": "#particle"},
|
||||
"east": {"uv": [11.25, 2.25, 11.75, 2.75], "texture": "#particle"},
|
||||
"south": {"uv": [12.25, 2.25, 12.75, 2.75], "texture": "#particle"},
|
||||
"west": {"uv": [13.25, 2.25, 13.75, 2.75], "texture": "#particle"},
|
||||
"up": {"uv": [14.25, 2.25, 14.75, 2.75], "texture": "#particle"},
|
||||
"down": {"uv": [15.25, 2.25, 15.75, 2.75], "texture": "#particle"}
|
||||
}
|
||||
},
|
||||
{
|
||||
"from": [-3, 0, 4],
|
||||
"to": [5, 20, 12],
|
||||
"rotation": {"angle": 45, "axis": "y", "origin": [8, 0, 8]},
|
||||
"faces": {
|
||||
"north": {"uv": [0.25, 3.25, 0.75, 3.75], "texture": "#particle"},
|
||||
"east": {"uv": [1.25, 3.25, 1.75, 3.75], "texture": "#particle"},
|
||||
"south": {"uv": [2.25, 3.25, 2.75, 3.75], "texture": "#particle"},
|
||||
"west": {"uv": [3.25, 3.25, 3.75, 3.75], "texture": "#particle"},
|
||||
"up": {"uv": [4.25, 3.25, 4.75, 3.75], "texture": "#particle"},
|
||||
"down": {"uv": [5.25, 3.25, 5.75, 3.75], "texture": "#particle"}
|
||||
}
|
||||
},
|
||||
{
|
||||
"from": [5, 12, 4],
|
||||
"to": [13, 20, 12],
|
||||
"rotation": {"angle": 45, "axis": "y", "origin": [8, 0, 8]},
|
||||
"faces": {
|
||||
"north": {"uv": [6.25, 3.25, 6.75, 3.75], "texture": "#particle"},
|
||||
"east": {"uv": [7.25, 3.25, 7.75, 3.75], "texture": "#particle"},
|
||||
"south": {"uv": [8.25, 3.25, 8.75, 3.75], "texture": "#particle"},
|
||||
"west": {"uv": [9.25, 3.25, 9.75, 3.75], "texture": "#particle"},
|
||||
"up": {"uv": [10.25, 3.25, 10.75, 3.75], "texture": "#particle"},
|
||||
"down": {"uv": [11.25, 3.25, 11.75, 3.75], "texture": "#particle"}
|
||||
}
|
||||
},
|
||||
{
|
||||
"from": [-3, 24, 4],
|
||||
"to": [13, 32, 12],
|
||||
"rotation": {"angle": 45, "axis": "y", "origin": [8, 0, 8]},
|
||||
"faces": {
|
||||
"north": {"uv": [12.25, 3.25, 12.75, 3.75], "texture": "#particle"},
|
||||
"east": {"uv": [13.25, 3.25, 13.75, 3.75], "texture": "#particle"},
|
||||
"south": {"uv": [14.25, 3.25, 14.75, 3.75], "texture": "#particle"},
|
||||
"west": {"uv": [15.25, 3.25, 15.75, 3.75], "texture": "#particle"},
|
||||
"up": {"uv": [0.25, 4.25, 0.75, 4.75], "texture": "#particle"},
|
||||
"down": {"uv": [1.25, 4.25, 1.75, 4.75], "texture": "#particle"}
|
||||
}
|
||||
},
|
||||
{
|
||||
"from": [13, 12, 4],
|
||||
"to": [21, 32, 12],
|
||||
"rotation": {"angle": 45, "axis": "y", "origin": [8, 0, 8]},
|
||||
"faces": {
|
||||
"north": {"uv": [2.25, 4.25, 2.75, 4.75], "texture": "#particle"},
|
||||
"east": {"uv": [3.25, 4.25, 3.75, 4.75], "texture": "#particle"},
|
||||
"south": {"uv": [4.25, 4.25, 4.75, 4.75], "texture": "#particle"},
|
||||
"west": {"uv": [5.25, 4.25, 5.75, 4.75], "texture": "#particle"},
|
||||
"up": {"uv": [6.25, 4.25, 6.75, 4.75], "texture": "#particle"},
|
||||
"down": {"uv": [7.25, 4.25, 7.75, 4.75], "texture": "#particle"}
|
||||
}
|
||||
}
|
||||
],
|
||||
"display": {
|
||||
"thirdperson_righthand": {
|
||||
"translation": [0, 0, -1.5],
|
||||
"scale": [0.2, 0.2, 0.2]
|
||||
},
|
||||
"thirdperson_lefthand": {
|
||||
"translation": [0, 0, -0.25],
|
||||
"scale": [0.2, 0.2, 0.2]
|
||||
},
|
||||
"firstperson_righthand": {
|
||||
"rotation": [0, -180, 0],
|
||||
"translation": [33.25, -15, -45.5]
|
||||
},
|
||||
"firstperson_lefthand": {
|
||||
"rotation": [0, -180, 0],
|
||||
"translation": [31.25, -15, -45.75]
|
||||
},
|
||||
"ground": {
|
||||
"translation": [0, 0.75, 0],
|
||||
"scale": [0.2, 0.2, 0.2]
|
||||
},
|
||||
"gui": {
|
||||
"rotation": [0, 135, 0],
|
||||
"translation": [0.25, 1.5, 0],
|
||||
"scale": [0.3, 0.3, 0.3]
|
||||
},
|
||||
"head": {
|
||||
"rotation": [0, -45, 0],
|
||||
"translation": [0, 38.5, 0],
|
||||
"scale": [4, 4, 4]
|
||||
},
|
||||
"fixed": {
|
||||
"rotation": [0, -45, 0],
|
||||
"translation": [-0.5, 2, 0],
|
||||
"scale": [0.4, 0.4, 0.4]
|
||||
},
|
||||
"on_shelf": {
|
||||
"rotation": [0, 135, 0],
|
||||
"translation": [1.25, 0, 0],
|
||||
"scale": [0.4, 0.4, 0.4]
|
||||
}
|
||||
},
|
||||
"groups": [
|
||||
{
|
||||
"name": "S",
|
||||
"origin": [10, 2, 7],
|
||||
"color": 2,
|
||||
"children": [0, 1, 2, 3, 4]
|
||||
}
|
||||
]
|
||||
}
|
||||
129
src/main/resources/assets/szar/models/block/s_outline.json
Normal file
@@ -0,0 +1,129 @@
|
||||
{
|
||||
"format_version": "1.9.0",
|
||||
"credit": "Made with Blockbench",
|
||||
"textures": {
|
||||
"particle": "szar:block/casino_red"
|
||||
},
|
||||
"elements": [
|
||||
{
|
||||
"from": [5, 0, 0],
|
||||
"to": [21, 8, 8],
|
||||
"rotation": {"angle": 0, "axis": "y", "origin": [3, 2, 1]},
|
||||
"color": 7,
|
||||
"faces": {
|
||||
"north": {"uv": [10.25, 2.25, 10.75, 2.75], "texture": "#missing"},
|
||||
"east": {"uv": [11.25, 2.25, 11.75, 2.75], "texture": "#missing"},
|
||||
"south": {"uv": [12.25, 2.25, 12.75, 2.75], "texture": "#missing"},
|
||||
"west": {"uv": [13.25, 2.25, 13.75, 2.75], "texture": "#missing"},
|
||||
"up": {"uv": [14.25, 2.25, 14.75, 2.75], "texture": "#missing"},
|
||||
"down": {"uv": [15.25, 2.25, 15.75, 2.75], "texture": "#missing"}
|
||||
}
|
||||
},
|
||||
{
|
||||
"from": [-1, 0, 9],
|
||||
"to": [7, 20, 17],
|
||||
"rotation": {"angle": 0, "axis": "y", "origin": [-2, 2, 10]},
|
||||
"color": 0,
|
||||
"faces": {
|
||||
"north": {"uv": [0.25, 3.25, 0.75, 3.75], "texture": "#missing"},
|
||||
"east": {"uv": [1.25, 3.25, 1.75, 3.75], "texture": "#missing"},
|
||||
"south": {"uv": [2.25, 3.25, 2.75, 3.75], "texture": "#missing"},
|
||||
"west": {"uv": [3.25, 3.25, 3.75, 3.75], "texture": "#missing"},
|
||||
"up": {"uv": [4.25, 3.25, 4.75, 3.75], "texture": "#missing"},
|
||||
"down": {"uv": [5.25, 3.25, 5.75, 3.75], "texture": "#missing"}
|
||||
}
|
||||
},
|
||||
{
|
||||
"from": [5, 12, 4],
|
||||
"to": [13, 20, 12],
|
||||
"rotation": {"angle": 0, "axis": "y", "origin": [3, 11, 5]},
|
||||
"color": 4,
|
||||
"faces": {
|
||||
"north": {"uv": [6.25, 3.25, 6.75, 3.75], "texture": "#missing"},
|
||||
"east": {"uv": [7.25, 3.25, 7.75, 3.75], "texture": "#missing"},
|
||||
"south": {"uv": [8.25, 3.25, 8.75, 3.75], "texture": "#missing"},
|
||||
"west": {"uv": [9.25, 3.25, 9.75, 3.75], "texture": "#missing"},
|
||||
"up": {"uv": [10.25, 3.25, 10.75, 3.75], "texture": "#missing"},
|
||||
"down": {"uv": [11.25, 3.25, 11.75, 3.75], "texture": "#missing"}
|
||||
}
|
||||
},
|
||||
{
|
||||
"from": [-3, 24, 5],
|
||||
"to": [13, 32, 13],
|
||||
"rotation": {"angle": 0, "axis": "y", "origin": [-3, 20, 6]},
|
||||
"color": 3,
|
||||
"faces": {
|
||||
"north": {"uv": [12.25, 3.25, 12.75, 3.75], "texture": "#missing"},
|
||||
"east": {"uv": [13.25, 3.25, 13.75, 3.75], "texture": "#missing"},
|
||||
"south": {"uv": [14.25, 3.25, 14.75, 3.75], "texture": "#missing"},
|
||||
"west": {"uv": [15.25, 3.25, 15.75, 3.75], "texture": "#missing"},
|
||||
"up": {"uv": [0.25, 4.25, 0.75, 4.75], "texture": "#missing"},
|
||||
"down": {"uv": [1.25, 4.25, 1.75, 4.75], "texture": "#missing"}
|
||||
}
|
||||
},
|
||||
{
|
||||
"from": [10, 12, -3],
|
||||
"to": [18, 32, 5],
|
||||
"rotation": {"angle": 0, "axis": "y", "origin": [6, 11, -2]},
|
||||
"color": 8,
|
||||
"faces": {
|
||||
"north": {"uv": [2.25, 4.25, 2.75, 4.75], "texture": "#missing"},
|
||||
"east": {"uv": [3.25, 4.25, 3.75, 4.75], "texture": "#missing"},
|
||||
"south": {"uv": [4.25, 4.25, 4.75, 4.75], "texture": "#missing"},
|
||||
"west": {"uv": [5.25, 4.25, 5.75, 4.75], "texture": "#missing"},
|
||||
"up": {"uv": [6.25, 4.25, 6.75, 4.75], "texture": "#missing"},
|
||||
"down": {"uv": [7.25, 4.25, 7.75, 4.75], "texture": "#missing"}
|
||||
}
|
||||
}
|
||||
],
|
||||
"display": {
|
||||
"thirdperson_righthand": {
|
||||
"translation": [0, 0, -1.5],
|
||||
"scale": [0.2, 0.2, 0.2]
|
||||
},
|
||||
"thirdperson_lefthand": {
|
||||
"translation": [0, 0, -0.25],
|
||||
"scale": [0.2, 0.2, 0.2]
|
||||
},
|
||||
"firstperson_righthand": {
|
||||
"rotation": [0, -180, 0],
|
||||
"translation": [33.25, -15, -45.5]
|
||||
},
|
||||
"firstperson_lefthand": {
|
||||
"rotation": [0, -180, 0],
|
||||
"translation": [31.25, -15, -45.75]
|
||||
},
|
||||
"ground": {
|
||||
"translation": [0, 0.75, 0],
|
||||
"scale": [0.2, 0.2, 0.2]
|
||||
},
|
||||
"gui": {
|
||||
"rotation": [0, 135, 0],
|
||||
"translation": [0.25, 1.5, 0],
|
||||
"scale": [0.3, 0.3, 0.3]
|
||||
},
|
||||
"head": {
|
||||
"rotation": [0, -45, 0],
|
||||
"translation": [0, 38.5, 0],
|
||||
"scale": [4, 4, 4]
|
||||
},
|
||||
"fixed": {
|
||||
"rotation": [0, -45, 0],
|
||||
"translation": [-0.5, 2, 0],
|
||||
"scale": [0.4, 0.4, 0.4]
|
||||
},
|
||||
"on_shelf": {
|
||||
"rotation": [0, 135, 0],
|
||||
"translation": [1.25, 0, 0],
|
||||
"scale": [0.4, 0.4, 0.4]
|
||||
}
|
||||
},
|
||||
"groups": [
|
||||
{
|
||||
"name": "SB",
|
||||
"origin": [10, 2, 7],
|
||||
"color": 2,
|
||||
"children": [0, 1, 2, 3, 4]
|
||||
}
|
||||
]
|
||||
}
|
||||
3
src/main/resources/assets/szar/models/item/casino.json
Normal file
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"parent": "szar:block/casino"
|
||||
}
|
||||
@@ -82,5 +82,29 @@
|
||||
"stream": true
|
||||
}
|
||||
]
|
||||
},
|
||||
"lets_gamble": {
|
||||
"sounds": [
|
||||
{
|
||||
"name": "szar:lets_gamble",
|
||||
"stream": true
|
||||
}
|
||||
]
|
||||
},
|
||||
"aw_dangit": {
|
||||
"sounds": [
|
||||
{
|
||||
"name": "szar:aw_dangit",
|
||||
"stream": true
|
||||
}
|
||||
]
|
||||
},
|
||||
"won": {
|
||||
"sounds": [
|
||||
{
|
||||
"name": "szar:won",
|
||||
"stream": true
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
BIN
src/main/resources/assets/szar/sounds/aw_dangit.ogg
Normal file
BIN
src/main/resources/assets/szar/sounds/lets_gamble.ogg
Normal file
BIN
src/main/resources/assets/szar/sounds/won.ogg
Normal file
BIN
src/main/resources/assets/szar/textures/block/casino_red.png
Normal file
|
After Width: | Height: | Size: 122 B |
|
After Width: | Height: | Size: 5.5 KiB |
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"animation": {
|
||||
"interpolate": false,
|
||||
"frametime": 1
|
||||
}
|
||||
}
|
||||
|
After Width: | Height: | Size: 5.5 KiB |
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"animation": {
|
||||
"interpolate": false,
|
||||
"frametime": 1
|
||||
}
|
||||
}
|
||||
|
After Width: | Height: | Size: 5.5 KiB |
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"animation": {
|
||||
"interpolate": false,
|
||||
"frametime": 1
|
||||
}
|
||||
}
|
||||
|
After Width: | Height: | Size: 5.5 KiB |
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"animation": {
|
||||
"interpolate": false,
|
||||
"frametime": 1
|
||||
}
|
||||
}
|
||||
|
After Width: | Height: | Size: 5.6 KiB |
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"animation": {
|
||||
"interpolate": false,
|
||||
"frametime": 1
|
||||
}
|
||||
}
|
||||
|
After Width: | Height: | Size: 5.6 KiB |
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"animation": {
|
||||
"interpolate": false,
|
||||
"frametime": 1
|
||||
}
|
||||
}
|
||||
|
After Width: | Height: | Size: 5.6 KiB |
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"animation": {
|
||||
"interpolate": false,
|
||||
"frametime": 1
|
||||
}
|
||||
}
|
||||
|
After Width: | Height: | Size: 5.5 KiB |
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"animation": {
|
||||
"interpolate": false,
|
||||
"frametime": 1
|
||||
}
|
||||
}
|
||||
|
After Width: | Height: | Size: 5.5 KiB |
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"animation": {
|
||||
"interpolate": false,
|
||||
"frametime": 1
|
||||
}
|
||||
}
|
||||
|
After Width: | Height: | Size: 2.6 KiB |
|
Before Width: | Height: | Size: 2.6 KiB After Width: | Height: | Size: 2.6 KiB |
|
Before Width: | Height: | Size: 5.5 KiB After Width: | Height: | Size: 129 KiB |
|
Before Width: | Height: | Size: 5.5 KiB After Width: | Height: | Size: 129 KiB |
|
Before Width: | Height: | Size: 5.5 KiB After Width: | Height: | Size: 130 KiB |
|
Before Width: | Height: | Size: 5.5 KiB After Width: | Height: | Size: 130 KiB |
|
Before Width: | Height: | Size: 5.6 KiB After Width: | Height: | Size: 130 KiB |
|
Before Width: | Height: | Size: 5.6 KiB After Width: | Height: | Size: 130 KiB |
|
Before Width: | Height: | Size: 5.6 KiB After Width: | Height: | Size: 132 KiB |
|
Before Width: | Height: | Size: 5.5 KiB After Width: | Height: | Size: 130 KiB |
|
Before Width: | Height: | Size: 5.5 KiB After Width: | Height: | Size: 136 KiB |
109
src/main/resources/assets/szar/textures/block/slot_animation.py
Normal file
@@ -0,0 +1,109 @@
|
||||
import os
|
||||
import random
|
||||
from PIL import Image
|
||||
import json
|
||||
|
||||
# --------------------- CONFIG ---------------------
|
||||
INPUT_PATH = r"slotmachine_slots.png"
|
||||
OUTPUT_DIR = r"" # folder to save output
|
||||
NUM_SLOTS = 3
|
||||
SPEED = -4 # pixels per frame, positive = up, negative = down
|
||||
# ---------------------------------------
|
||||
|
||||
os.makedirs(OUTPUT_DIR, exist_ok=True)
|
||||
|
||||
original = Image.open(INPUT_PATH)
|
||||
width, height = original.size
|
||||
FRAME_SIZE = width # square frames
|
||||
|
||||
if height % FRAME_SIZE != 0:
|
||||
raise ValueError("Image height must be divisible by its width (square frames).")
|
||||
|
||||
num_frames = height // FRAME_SIZE
|
||||
total_pixels = height # total pixels for smooth sliding
|
||||
|
||||
|
||||
# ---------------- HELPER FUNCTIONS ----------------
|
||||
def create_animation_image(img, start_y, speed=SPEED):
|
||||
"""
|
||||
Create rolling animation starting at absolute pixel y.
|
||||
Wraps around the image if crop goes past the bottom.
|
||||
Speed determines pixels per frame (positive = up, negative = down)
|
||||
"""
|
||||
frames_list = []
|
||||
for i in range(total_pixels):
|
||||
y = (start_y + i * speed) % total_pixels
|
||||
if y + FRAME_SIZE <= total_pixels:
|
||||
frame = img.crop((0, y, width, y + FRAME_SIZE))
|
||||
else:
|
||||
part1 = img.crop((0, y, width, total_pixels))
|
||||
part2 = img.crop((0, 0, width, FRAME_SIZE - (total_pixels - y)))
|
||||
frame = Image.new("RGBA", (width, FRAME_SIZE))
|
||||
frame.paste(part1, (0, 0))
|
||||
frame.paste(part2, (0, part1.height))
|
||||
frames_list.append(frame)
|
||||
|
||||
final_img = Image.new("RGBA", (width, FRAME_SIZE * len(frames_list)))
|
||||
for idx, frame in enumerate(frames_list):
|
||||
final_img.paste(frame, (0, idx * FRAME_SIZE))
|
||||
return final_img
|
||||
|
||||
|
||||
def save_png_and_mcmeta(image, base_name):
|
||||
png_path = os.path.join(OUTPUT_DIR, base_name + ".png")
|
||||
mcmeta_path = png_path + ".mcmeta"
|
||||
image.save(png_path)
|
||||
json.dump({"animation": {"interpolate": False, "frametime": 1}},
|
||||
open(mcmeta_path, "w"), indent=4)
|
||||
|
||||
|
||||
def generate_unique_shuffle(existing_orders):
|
||||
frames_indices = list(range(num_frames))
|
||||
attempt = 0
|
||||
while True:
|
||||
random.shuffle(frames_indices)
|
||||
conflict = False
|
||||
for order in existing_orders:
|
||||
for i, frame_idx in enumerate(frames_indices):
|
||||
if frame_idx == order[i]:
|
||||
conflict = True
|
||||
break
|
||||
if conflict:
|
||||
break
|
||||
if not conflict:
|
||||
return frames_indices
|
||||
attempt += 1
|
||||
if attempt > 1000:
|
||||
raise RuntimeError("Cannot generate unique shuffle after 1000 tries.")
|
||||
|
||||
|
||||
# ---------------- GENERATE SLOTS ----------------
|
||||
existing_orders = []
|
||||
|
||||
for slot_idx in range(1, NUM_SLOTS + 1):
|
||||
base_name = f"slot_{slot_idx}"
|
||||
|
||||
# generate fully unique shuffled frame order
|
||||
shuffle_order = generate_unique_shuffle(existing_orders)
|
||||
existing_orders.append(shuffle_order)
|
||||
|
||||
# build shuffled base image
|
||||
shuffled_img = Image.new("RGBA", (width, height))
|
||||
for i, frame_idx in enumerate(shuffle_order):
|
||||
frame = original.crop((0, frame_idx * FRAME_SIZE, width, (frame_idx + 1) * FRAME_SIZE))
|
||||
shuffled_img.paste(frame, (0, i * FRAME_SIZE))
|
||||
|
||||
# main sliding animation
|
||||
main_offset = random.randint(0, total_pixels - 1)
|
||||
main_img = create_animation_image(shuffled_img, main_offset, speed=SPEED)
|
||||
save_png_and_mcmeta(main_img, base_name)
|
||||
|
||||
# up/down relative to main, looping
|
||||
up_offset = (main_offset - FRAME_SIZE) % total_pixels
|
||||
down_offset = (main_offset + FRAME_SIZE) % total_pixels
|
||||
up_img = create_animation_image(shuffled_img, up_offset, speed=SPEED)
|
||||
down_img = create_animation_image(shuffled_img, down_offset, speed=SPEED)
|
||||
save_png_and_mcmeta(up_img, base_name + "_up")
|
||||
save_png_and_mcmeta(down_img, base_name + "_down")
|
||||
|
||||
print(f"Generated {NUM_SLOTS * 3 * 2} PNG+mcmeta files in {OUTPUT_DIR}")
|
||||
|
Before Width: | Height: | Size: 2.6 KiB After Width: | Height: | Size: 11 KiB |
BIN
src/main/resources/assets/szar/textures/etc/casino.png
Normal file
|
After Width: | Height: | Size: 2.2 MiB |
BIN
src/main/resources/data/szar/structures/casino.nbt
Normal file
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"type": "szar:casino",
|
||||
"biomes": "#minecraft:is_overworld",
|
||||
"step": "surface_structures",
|
||||
"terrain_adaptation": "beard_thin",
|
||||
"spawn_overrides": {},
|
||||
"config": {}
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
{
|
||||
"structures": [
|
||||
{
|
||||
"structure": "szar:casino",
|
||||
"weight": 1
|
||||
}
|
||||
],
|
||||
"placement": {
|
||||
"type": "minecraft:random_spread",
|
||||
"spacing": 40,
|
||||
"separation": 20,
|
||||
"salt": 753329346
|
||||
}
|
||||
}
|
||||
@@ -9,6 +9,6 @@
|
||||
"type": "minecraft:random_spread",
|
||||
"spacing": 40,
|
||||
"separation": 28,
|
||||
"salt": 987654321
|
||||
"salt": 295402814
|
||||
}
|
||||
}
|
||||
|
||||