gambling 1 - slot machine

This commit is contained in:
2026-02-28 18:52:39 +01:00
parent ab2c60db79
commit 5a79447622
48 changed files with 1159 additions and 10 deletions

View File

@@ -0,0 +1,8 @@
{
"variants": {
"facing=north": { "model": "szar:block/slot_machine", "y": 0 },
"facing=south": { "model": "szar:block/slot_machine", "y": 180 },
"facing=west": { "model": "szar:block/slot_machine", "y": 270 },
"facing=east": { "model": "szar:block/slot_machine", "y": 90 }
}
}

View File

@@ -79,5 +79,6 @@
"death.attack.fck": "%1$s got fucked too hard by %2$s",
"item.szar.white_liquid": "...",
"item.szar.plane": "Plane",
"item.szar.wheel": "Wheel"
"item.szar.wheel": "Wheel",
"block.szar.slot_machine": "Slot Machine"
}

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,348 @@
{
"format_version": "1.9.0",
"credit": "Made with Blockbench",
"texture_size": [4, 4],
"textures": {
"0": "szar:block/slot_machine",
"1": "szar:block/lower_screen_info",
"2": "szar:block/texture",
"3": "szar:block/slot_1",
"4": "szar:block/slot_1_up",
"5": "szar:block/slot_1_down",
"6": "szar:block/slot_2",
"7": "szar:block/slot_2_down",
"8": "szar:block/slot_2_up",
"9": "szar:block/slot_3",
"10": "szar:block/slot_3_up",
"11": "szar:block/slot_3_down",
"particle": "szar:block/slot_machine_particle"
},
"elements": [
{
"from": [4, 0, 10],
"to": [16, 24, 16],
"rotation": {"angle": 0, "axis": "y", "origin": [0, 0, 14]},
"faces": {
"north": {"uv": [0, 0, 3, 6], "texture": "#0"},
"east": {"uv": [0, 6, 1.5, 12], "texture": "#0"},
"south": {"uv": [3, 0, 6, 6], "texture": "#0"},
"west": {"uv": [6, 0, 7.5, 6], "texture": "#0"},
"up": {"uv": [10.5, 1.5, 7.5, 0], "texture": "#0"},
"down": {"uv": [10.5, 1.5, 7.5, 3], "texture": "#0"}
}
},
{
"from": [4, 0, 4],
"to": [16, 12, 10],
"rotation": {"angle": 0, "axis": "y", "origin": [0, 0, 8]},
"faces": {
"north": {"uv": [1.5, 6, 4.5, 9], "texture": "#0"},
"east": {"uv": [7.5, 3, 9, 6], "texture": "#0"},
"south": {"uv": [4.5, 6, 7.5, 9], "texture": "#0"},
"west": {"uv": [7.5, 6, 9, 9], "texture": "#0"},
"up": {"uv": [4.5, 10.5, 1.5, 9], "texture": "#0"},
"down": {"uv": [12, 3, 9, 4.5], "texture": "#0"}
}
},
{
"from": [4, 19, 8],
"to": [16, 24, 9],
"rotation": {"angle": -22.5, "axis": "x", "origin": [10, 24, 9]},
"faces": {
"north": {"uv": [4.5, 9, 7.5, 10.25], "texture": "#0"},
"east": {"uv": [8.25, 10, 8.5, 11.25], "texture": "#0"},
"south": {"uv": [9, 4.5, 12, 5.75], "texture": "#0"},
"west": {"uv": [8.5, 10, 8.75, 11.25], "texture": "#0"},
"up": {"uv": [12, 7, 9, 6.75], "texture": "#0"},
"down": {"uv": [12, 7, 9, 7.25], "texture": "#0"}
}
},
{
"from": [4, 22, 9],
"to": [16, 24, 10],
"rotation": {"angle": 0, "axis": "y", "origin": [10, 24, 10]},
"faces": {
"north": {"uv": [9, 5.75, 12, 6.25], "texture": "#0"},
"east": {"uv": [5, 10.25, 5.25, 10.75], "texture": "#0"},
"south": {"uv": [9, 6.25, 12, 6.75], "texture": "#0"},
"west": {"uv": [5.25, 10.25, 5.5, 10.75], "texture": "#0"},
"up": {"uv": [12, 7.5, 9, 7.25], "texture": "#0"},
"down": {"uv": [10.5, 9, 7.5, 9.25], "texture": "#0"}
}
},
{
"from": [12, 12, 5],
"to": [14, 13, 7],
"rotation": {"angle": 0, "axis": "y", "origin": [0, 1, 8]},
"faces": {
"north": {"uv": [9.75, 8.75, 10.25, 9], "texture": "#0"},
"east": {"uv": [5.5, 10.25, 6, 10.5], "texture": "#0"},
"south": {"uv": [6, 10.25, 6.5, 10.5], "texture": "#0"},
"west": {"uv": [6.5, 10.25, 7, 10.5], "texture": "#0"},
"up": {"uv": [10.25, 8.75, 9.75, 8.25], "texture": "#0"},
"down": {"uv": [9.25, 10, 8.75, 10.5], "texture": "#0"}
}
},
{
"from": [8, 12, 5],
"to": [10, 13, 7],
"rotation": {"angle": 0, "axis": "y", "origin": [-4, 1, 8]},
"faces": {
"north": {"uv": [7, 10.25, 7.5, 10.5], "texture": "#0"},
"east": {"uv": [10.25, 8.25, 10.75, 8.5], "texture": "#0"},
"south": {"uv": [10.25, 8.5, 10.75, 8.75], "texture": "#0"},
"west": {"uv": [10.25, 8.75, 10.75, 9], "texture": "#0"},
"up": {"uv": [9.75, 10.5, 9.25, 10], "texture": "#0"},
"down": {"uv": [10.5, 9.25, 10, 9.75], "texture": "#0"}
}
},
{
"from": [1, 16, 8],
"to": [4, 19, 11],
"rotation": {"angle": 0, "axis": "y", "origin": [4, 8, 10]},
"faces": {
"north": {"uv": [9, 7.5, 9.75, 8.25], "texture": "#0"},
"east": {"uv": [9, 8.25, 9.75, 9], "texture": "#0"},
"south": {"uv": [7.5, 9.25, 8.25, 10], "texture": "#0"},
"west": {"uv": [8.25, 9.25, 9, 10], "texture": "#0"},
"up": {"uv": [9.75, 10, 9, 9.25], "texture": "#0"},
"down": {"uv": [10.5, 7.5, 9.75, 8.25], "texture": "#0"}
}
},
{
"from": [2, 9, 9],
"to": [3, 16, 10],
"rotation": {"angle": 0, "axis": "y", "origin": [4, 8, 10]},
"faces": {
"north": {"uv": [9.75, 9.25, 10, 11], "texture": "#0"},
"east": {"uv": [7.5, 10, 7.75, 11.75], "texture": "#0"},
"south": {"uv": [7.75, 10, 8, 11.75], "texture": "#0"},
"west": {"uv": [8, 10, 8.25, 11.75], "texture": "#0"},
"up": {"uv": [10.75, 0.75, 10.5, 0.5], "texture": "#0"},
"down": {"uv": [10.75, 0.75, 10.5, 1], "texture": "#0"}
}
},
{
"from": [2, 7, 9],
"to": [4, 9, 10],
"rotation": {"angle": 0, "axis": "y", "origin": [4, 8, 10]},
"faces": {
"north": {"uv": [10, 9.75, 10.5, 10.25], "texture": "#0"},
"east": {"uv": [10, 10.25, 10.25, 10.75], "texture": "#0"},
"south": {"uv": [4.5, 10.25, 5, 10.75], "texture": "#0"},
"west": {"uv": [10.25, 10.25, 10.5, 10.75], "texture": "#0"},
"up": {"uv": [11, 0.25, 10.5, 0], "texture": "#0"},
"down": {"uv": [11, 0.25, 10.5, 0.5], "texture": "#0"}
}
},
{
"name": "lower_screen",
"from": [6, 2, 3.99],
"to": [14, 10, 3.99],
"rotation": {"angle": 0, "axis": "y", "origin": [-6, 2, 5]},
"faces": {
"north": {"uv": [0, 0, 16, 16], "texture": "#1"},
"east": {"uv": [0, 0, 0, 8], "texture": "#1"},
"south": {"uv": [0, 16, 0, 16], "texture": "#1"},
"west": {"uv": [0, 0, 0, 8], "texture": "#1"},
"up": {"uv": [8, 0, 0, 0], "texture": "#1"},
"down": {"uv": [8, 0, 0, 0], "texture": "#1"}
}
},
{
"name": "upper_screen",
"from": [4, 19, 7.99],
"to": [16, 24, 7.99],
"rotation": {"angle": -22.5, "axis": "x", "origin": [10, 24, 8.99]},
"faces": {
"north": {"uv": [0, 0, 12, 5], "texture": "#2"},
"east": {"uv": [0, 0, 0, 5], "texture": "#2"},
"south": {"uv": [0, 5, 12, 10], "texture": "#2"},
"west": {"uv": [0, 0, 0, 5], "texture": "#2"},
"up": {"uv": [12, 0, 0, 0], "texture": "#2"},
"down": {"uv": [12, 0, 0, 0], "texture": "#2"}
}
},
{
"name": "slot_1_up",
"from": [12, 17, 9.99],
"to": [14, 19, 9.99],
"rotation": {"angle": 0, "axis": "y", "origin": [0, 6, 11]},
"faces": {
"north": {"uv": [0, 0, 16, 16], "texture": "#4"},
"east": {"uv": [12, 12, 12, 20], "texture": "#4"},
"south": {"uv": [48, 12, 56, 20], "texture": "#4"},
"west": {"uv": [20, 12, 20, 20], "texture": "#4"},
"up": {"uv": [48, 20, 56, 20], "texture": "#4"},
"down": {"uv": [48, 12, 56, 12], "texture": "#4"}
}
},
{
"name": "slot_1",
"from": [12, 15, 9.99],
"to": [14, 17, 9.99],
"rotation": {"angle": 0, "axis": "y", "origin": [0, 4, 11]},
"faces": {
"north": {"uv": [0, 0, 16, 16], "texture": "#3"},
"east": {"uv": [0, 0, 0, 8], "texture": "#3"},
"south": {"uv": [0, 0, 0, 0], "texture": "#3"},
"west": {"uv": [0, 0, 0, 8], "texture": "#3"},
"up": {"uv": [8, 0, 0, 0], "texture": "#3"},
"down": {"uv": [8, 0, 0, 0], "texture": "#3"}
}
},
{
"name": "slot_1_down",
"from": [12, 13, 9.99],
"to": [14, 15, 9.99],
"rotation": {"angle": 0, "axis": "y", "origin": [0, 2, 11]},
"faces": {
"north": {"uv": [0, 0, 16, 16], "texture": "#5"},
"east": {"uv": [12, 12, 12, 20], "texture": "#5"},
"south": {"uv": [48, 12, 56, 20], "texture": "#5"},
"west": {"uv": [20, 12, 20, 20], "texture": "#5"},
"up": {"uv": [48, 20, 56, 20], "texture": "#5"},
"down": {"uv": [48, 12, 56, 12], "texture": "#5"}
}
},
{
"name": "slot_2",
"from": [9, 15, 9.99],
"to": [11, 17, 9.99],
"rotation": {"angle": 0, "axis": "y", "origin": [-3, 4, 11]},
"faces": {
"north": {"uv": [0, 0, 16, 16], "texture": "#6"},
"east": {"uv": [12, 12, 12, 20], "texture": "#6"},
"south": {"uv": [48, 12, 56, 20], "texture": "#6"},
"west": {"uv": [20, 12, 20, 20], "texture": "#6"},
"up": {"uv": [48, 20, 56, 20], "texture": "#6"},
"down": {"uv": [48, 12, 56, 12], "texture": "#6"}
}
},
{
"name": "slot_2_down",
"from": [9, 13, 9.99],
"to": [11, 15, 9.99],
"rotation": {"angle": 0, "axis": "y", "origin": [-3, 2, 11]},
"faces": {
"north": {"uv": [0, 0, 16, 16], "texture": "#7"},
"east": {"uv": [12, 12, 12, 20], "texture": "#7"},
"south": {"uv": [48, 12, 56, 20], "texture": "#7"},
"west": {"uv": [20, 12, 20, 20], "texture": "#7"},
"up": {"uv": [48, 20, 56, 20], "texture": "#7"},
"down": {"uv": [48, 12, 56, 12], "texture": "#7"}
}
},
{
"name": "slot_2_up",
"from": [9, 17, 9.99],
"to": [11, 19, 9.99],
"rotation": {"angle": 0, "axis": "y", "origin": [-3, 6, 11]},
"faces": {
"north": {"uv": [0, 0, 16, 16], "texture": "#8"},
"east": {"uv": [12, 12, 12, 20], "texture": "#8"},
"south": {"uv": [48, 12, 56, 20], "texture": "#8"},
"west": {"uv": [20, 12, 20, 20], "texture": "#8"},
"up": {"uv": [48, 20, 56, 20], "texture": "#8"},
"down": {"uv": [48, 12, 56, 12], "texture": "#8"}
}
},
{
"name": "slot_3",
"from": [6, 15, 9.99],
"to": [8, 17, 9.99],
"rotation": {"angle": 0, "axis": "y", "origin": [-6, 4, 11]},
"faces": {
"north": {"uv": [0, 0, 16, 16], "texture": "#9"},
"east": {"uv": [12, 12, 12, 20], "texture": "#9"},
"south": {"uv": [48, 12, 56, 20], "texture": "#9"},
"west": {"uv": [20, 12, 20, 20], "texture": "#9"},
"up": {"uv": [48, 20, 56, 20], "texture": "#9"},
"down": {"uv": [48, 12, 56, 12], "texture": "#9"}
}
},
{
"name": "slot_3_up",
"from": [6, 17, 9.99],
"to": [8, 19, 9.99],
"rotation": {"angle": 0, "axis": "y", "origin": [-6, 6, 11]},
"faces": {
"north": {"uv": [0, 0, 16, 16], "texture": "#10"},
"east": {"uv": [12, 12, 12, 20], "texture": "#10"},
"south": {"uv": [48, 12, 56, 20], "texture": "#10"},
"west": {"uv": [20, 12, 20, 20], "texture": "#10"},
"up": {"uv": [48, 20, 56, 20], "texture": "#10"},
"down": {"uv": [48, 12, 56, 12], "texture": "#10"}
}
},
{
"name": "slot_3_down",
"from": [6, 13, 9.99],
"to": [8, 15, 9.99],
"rotation": {"angle": 0, "axis": "y", "origin": [-6, 2, 11]},
"faces": {
"north": {"uv": [0, 0, 16, 16], "texture": "#11"},
"east": {"uv": [12, 12, 12, 20], "texture": "#11"},
"south": {"uv": [48, 12, 56, 20], "texture": "#11"},
"west": {"uv": [20, 12, 20, 20], "texture": "#11"},
"up": {"uv": [48, 20, 56, 20], "texture": "#11"},
"down": {"uv": [48, 12, 56, 12], "texture": "#11"}
}
}
],
"display": {
"thirdperson_righthand": {
"translation": [0, -1.5, -3.75],
"scale": [0.5, 0.5, 0.5]
},
"thirdperson_lefthand": {
"translation": [2, -1.5, -3.75],
"scale": [0.5, 0.5, 0.5]
},
"firstperson_righthand": {
"rotation": [0, 160, 0],
"translation": [4, 0, -2],
"scale": [0.5, 0.5, 0.5]
},
"firstperson_lefthand": {
"rotation": [0, 160, 0],
"translation": [1.5, 0, -2],
"scale": [0.5, 0.5, 0.5]
},
"ground": {
"translation": [-1, 2.5, 0],
"scale": [0.5, 0.5, 0.5]
},
"head": {
"translation": [-2, 3, -1.75]
},
"fixed": {
"translation": [0, 0, -1],
"scale": [0.5, 0.5, 0.5]
},
"on_shelf": {
"rotation": [0, -180, 0],
"translation": [0, 0, 2.5]
}
},
"groups": [
{
"name": "main_body",
"origin": [0, 0, 14],
"color": 0,
"children": [0, 1, 2, 3, 4, 5]
},
{
"name": "handle",
"origin": [2, 18, 9],
"color": 0,
"children": [6, 7, 8]
},
{
"name": "dynamic",
"origin": [0, 6, 11],
"color": 0,
"children": [9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19]
}
]
}

View File

@@ -0,0 +1,6 @@
{
"parent": "minecraft:item/generated",
"textures": {
"layer0": "szar:item/slot_machine"
}
}

View File

@@ -0,0 +1,3 @@
{
"parent": "szar:block/slot_machine"
}

View File

@@ -66,5 +66,21 @@
"stream": true
}
]
},
"slot_machine_base": {
"sounds": [
{
"name": "szar:slot_machine_base",
"stream": true
}
]
},
"slot_machine_win": {
"sounds": [
{
"name": "szar:slot_machine_win",
"stream": true
}
]
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.5 KiB

View File

@@ -0,0 +1,6 @@
{
"animation": {
"interpolate": false,
"frametime": 1
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.5 KiB

View File

@@ -0,0 +1,6 @@
{
"animation": {
"interpolate": false,
"frametime": 1
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.5 KiB

View File

@@ -0,0 +1,6 @@
{
"animation": {
"interpolate": false,
"frametime": 1
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.5 KiB

View File

@@ -0,0 +1,6 @@
{
"animation": {
"interpolate": false,
"frametime": 1
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.6 KiB

View File

@@ -0,0 +1,6 @@
{
"animation": {
"interpolate": false,
"frametime": 1
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.6 KiB

View File

@@ -0,0 +1,6 @@
{
"animation": {
"interpolate": false,
"frametime": 1
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.6 KiB

View File

@@ -0,0 +1,6 @@
{
"animation": {
"interpolate": false,
"frametime": 1
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.5 KiB

View File

@@ -0,0 +1,6 @@
{
"animation": {
"interpolate": false,
"frametime": 1
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.5 KiB

View File

@@ -0,0 +1,6 @@
{
"animation": {
"interpolate": false,
"frametime": 1
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 489 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 536 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 151 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 599 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 595 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 589 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB