connect four, and some minor fixes

This commit is contained in:
2026-03-22 17:31:09 +01:00
parent df80fed3fa
commit ff8e52f95d
18 changed files with 741 additions and 7 deletions

View File

@@ -0,0 +1,5 @@
{
"variants": {
"": { "model": "szar:block/connectfour" }
}
}

View File

@@ -187,5 +187,6 @@
"advancement.szar.backrooms.title": "Where did the world go?",
"advancement.szar.backrooms.description": "Step into the Backrooms",
"block.szar.tictactoe": "Tic Tac Toe"
"block.szar.tictactoe": "Tic Tac Toe",
"block.szar.connectfour": "Connect Four"
}

View File

@@ -0,0 +1,64 @@
{
"format_version": "1.9.0",
"credit": "Made with Blockbench",
"parent": "block/block",
"texture_size": [32, 32],
"textures": {
"0": "szar:block/plank",
"1": "szar:block/connect4",
"particle": "szar:block/plank"
},
"elements": [
{
"from": [0, 0, 0],
"to": [16, 12, 16],
"faces": {
"north": {"uv": [0, 0, 16, 12], "texture": "#0"},
"east": {"uv": [0, 0, 16, 12], "texture": "#0"},
"south": {"uv": [0, 0, 16, 12], "texture": "#0"},
"west": {"uv": [0, 0, 16, 12], "texture": "#0"},
"up": {"uv": [0, 0, 16, 16], "texture": "#0"},
"down": {"uv": [0, 0, 16, 16], "texture": "#0"}
}
},
{
"from": [7, 14, 0],
"to": [9, 24, 16],
"rotation": {"angle": 0, "axis": "y", "origin": [1, 12, 0]},
"faces": {
"north": {"uv": [9, 0, 10, 5], "texture": "#1"},
"east": {"uv": [0, 0, 8, 5], "texture": "#1"},
"south": {"uv": [9, 5, 10, 10], "texture": "#1"},
"west": {"uv": [0, 5, 8, 10], "texture": "#1"},
"up": {"uv": [9, 8, 8, 0], "texture": "#1"},
"down": {"uv": [9, 8, 8, 16], "texture": "#1"}
}
},
{
"from": [7, 12, 0],
"to": [9, 14, 1],
"rotation": {"angle": 0, "axis": "y", "origin": [1, 10, 0]},
"faces": {
"north": {"uv": [0, 10, 1, 11], "texture": "#1"},
"east": {"uv": [2, 10, 2.5, 11], "texture": "#1"},
"south": {"uv": [10, 0, 11, 1], "texture": "#1"},
"west": {"uv": [10, 2, 10.5, 3], "texture": "#1"},
"up": {"uv": [3.5, 10.5, 2.5, 10], "texture": "#1"},
"down": {"uv": [11, 3, 10, 3.5], "texture": "#1"}
}
},
{
"from": [7, 12, 15],
"to": [9, 14, 16],
"rotation": {"angle": 0, "axis": "y", "origin": [1, 10, 15]},
"faces": {
"north": {"uv": [1, 10, 2, 11], "texture": "#1"},
"east": {"uv": [3.5, 10, 4, 11], "texture": "#1"},
"south": {"uv": [10, 1, 11, 2], "texture": "#1"},
"west": {"uv": [10, 3.5, 10.5, 4.5], "texture": "#1"},
"up": {"uv": [5, 10.5, 4, 10], "texture": "#1"},
"down": {"uv": [11, 4.5, 10, 5], "texture": "#1"}
}
}
]
}

View File

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 257 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 761 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 694 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 688 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

View File

@@ -2,6 +2,7 @@
"values": [
"szar:roulette",
"szar:slot_machine",
"szar:tictactoe"
"szar:tictactoe",
"szar:connectfour"
]
}

View File

@@ -0,0 +1,14 @@
{
"type": "minecraft:block",
"pools": [
{
"rolls": 1,
"entries": [
{
"type": "minecraft:item",
"name": "szar:connectfour"
}
]
}
]
}

View File

@@ -0,0 +1,23 @@
{
"type": "minecraft:crafting_shaped",
"pattern": [
"RBR",
"BPB",
"RBR"
],
"key": {
"R": {
"item": "minecraft:red_dye"
},
"B": {
"item": "minecraft:yellow_dye"
},
"P": {
"tag": "minecraft:planks"
}
},
"result": {
"item": "szar:connectfour",
"count": 1
}
}