Skip to content

Commit

Permalink
feat(assets): begin updating stone chest model
Browse files Browse the repository at this point in the history
  • Loading branch information
CallMeEchoCodes committed Dec 13, 2024
1 parent 51b89f0 commit 0d1659f
Show file tree
Hide file tree
Showing 10 changed files with 47 additions and 126 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- uses: gradle/wrapper-validation-action@v1
- uses: gradle/actions/wrapper-validation@v3
- uses: actions/setup-java@v4
with:
java-version: '21'
Expand Down
45 changes: 0 additions & 45 deletions src/main/resources/assets/hollow/models/block/stone_chest.json

This file was deleted.

37 changes: 17 additions & 20 deletions src/main/resources/assets/hollow/models/block/stone_chest_left.json
Original file line number Diff line number Diff line change
@@ -1,35 +1,32 @@
{
"credit": "Made with Blockbench",
"texture_size": [64, 64],
"parent": "block/block",
"textures": {
"0": "hollow:block/stone_chest_double",
"particle": "minecraft:block/chiseled_deepslate"
"all": "hollow:block/stone_chest",
"particle": "block/chiseled_deepslate"
},
"elements": [
{
"name": "chest_right",
"from": [1, 1, 1],
"to": [16, 16, 15],
"from": [0, 0, 0],
"to": [16, 1, 16],
"rotation": {"angle": 0, "axis": "y", "origin": [16, 0, 0]},
"faces": {
"north": {"uv": [1.875, 4, 3.75, 5.875], "texture": "#0"},
"south": {"uv": [4, 1.875, 5.875, 3.75], "texture": "#0"},
"west": {"uv": [1.875, 5.875, 3.625, 7.75], "texture": "#0"},
"up": {"uv": [7.75, 3.625, 5.875, 1.875], "texture": "#0"},
"down": {"uv": [5.5, 5.875, 3.625, 7.625], "texture": "#0"}
"north": {"uv": [4, 11, 8, 11.25], "texture": "#all", "cullface": "north"},
"south": {"uv": [4, 11, 8, 11.25], "texture": "#all", "cullface": "south"},
"west": {"uv": [4, 11, 8, 11.25], "texture": "#all", "cullface": "west"},
"up": {"uv": [8, 15, 4, 11], "texture": "#all"},
"down": {"uv": [8, 11, 4, 15], "texture": "#all", "cullface": "down"}
}
},
{
"name": "base_right",
"from": [0, 0, 0],
"to": [16, 1, 16],
"from": [1, 1, 1],
"to": [16, 16, 15],
"rotation": {"angle": 0, "axis": "y", "origin": [16, 0, 0]},
"faces": {
"north": {"uv": [7.25, 4.125, 9.25, 4.25], "texture": "#0"},
"east": {"uv": [7.25, 4.25, 9.25, 4.375], "texture": "#0"},
"south": {"uv": [7.25, 4.375, 9.25, 4.5], "texture": "#0"},
"west": {"uv": [7.25, 4.5, 9.25, 4.625], "texture": "#0"},
"up": {"uv": [4, 2, 2, 0], "texture": "#0"},
"down": {"uv": [4, 2, 2, 4], "texture": "#0"}
"north": {"uv": [7.25, 7.25, 11, 11], "texture": "#all"},
"south": {"uv": [11, 0, 7.25, 3.75], "texture": "#all"},
"west": {"uv": [11, 7.25, 14.5, 11], "texture": "#all"},
"up": {"uv": [11, 7.25, 7.25, 3.75], "texture": "#all", "cullface": "up"}
}
}
]
Expand Down
24 changes: 0 additions & 24 deletions src/main/resources/assets/hollow/models/block/stone_chest_lid.json

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,22 +1,21 @@
{
"credit": "Made with Blockbench",
"texture_size": [64, 64],
"parent": "block/block",
"texture_size": [32, 32],
"textures": {
"0": "hollow:block/stone_chest_lid_double",
"particle": "minecraft:block/polished_deepslate"
"all": "hollow:block/stone_chest_lid",
"particle": "block/chiseled_deepslate"
},
"elements": [
{
"name": "lid_right",
"from": [1, 0, 1],
"to": [16, 4, 15],
"rotation": {"angle": 0, "axis": "y", "origin": [16, -22, 0]},
"faces": {
"north": {"uv": [7.5, 0, 11.25, 1], "texture": "#0"},
"south": {"uv": [7.5, 1, 11.25, 2], "texture": "#0"},
"west": {"uv": [7.5, 3, 11, 4], "texture": "#0"},
"up": {"uv": [7.5, 3.5, 3.75, 0], "texture": "#0"},
"down": {"uv": [7.5, 3.5, 3.75, 7], "texture": "#0"}
"north": {"uv": [7.5, 2, 15, 4], "texture": "#all"},
"south": {"uv": [15, 0, 7.5, 2], "texture": "#all"},
"west": {"uv": [8, 11, 15, 13], "texture": "#all"},
"up": {"uv": [15, 11, 7.5, 4], "texture": "#all"},
"down": {"uv": [15, 4, 7.5, 11], "texture": "#all", "cullface": "down"}
}
}
]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,22 +1,21 @@
{
"credit": "Made with Blockbench",
"texture_size": [64, 64],
"parent": "block/block",
"texture_size": [32, 32],
"textures": {
"0": "hollow:block/stone_chest_lid_double",
"particle": "minecraft:block/polished_deepslate"
"all": "hollow:block/stone_chest_lid",
"particle": "block/chiseled_deepslate"
},
"elements": [
{
"name": "lid_left",
"from": [0, 0, 1],
"to": [15, 4, 15],
"rotation": {"angle": 0, "axis": "y", "origin": [0, -22, 0]},
"faces": {
"north": {"uv": [0, 7, 3.75, 8], "texture": "#0"},
"east": {"uv": [7.5, 2, 11, 3], "texture": "#0"},
"south": {"uv": [3.75, 7, 7.5, 8], "texture": "#0"},
"up": {"uv": [3.75, 3.5, 0, 0], "texture": "#0"},
"down": {"uv": [3.75, 3.5, 0, 7], "texture": "#0"}
"north": {"uv": [0, 2, 7.5, 4], "texture": "#all"},
"east": {"uv": [0, 11, 7, 13], "texture": "#all"},
"south": {"uv": [7.5, 0, 0, 2], "texture": "#all"},
"up": {"uv": [7.5, 11, 0, 4], "texture": "#all"},
"down": {"uv": [7.5, 4, 0, 11], "texture": "#all", "cullface": "down"}
}
}
]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,35 +1,30 @@
{
"credit": "Made with Blockbench",
"texture_size": [64, 64],
"parent": "block/block",
"textures": {
"0": "hollow:block/stone_chest_double",
"particle": "minecraft:block/chiseled_deepslate"
"all": "hollow:block/stone_chest",
"particle": "block/chiseled_deepslate"
},
"elements": [
{
"name": "chest_left",
"from": [0, 1, 1],
"to": [15, 16, 15],
"faces": {
"north": {"uv": [0, 4, 1.875, 5.875], "texture": "#0"},
"east": {"uv": [3.75, 4, 5.5, 5.875], "texture": "#0"},
"south": {"uv": [4, 0, 5.875, 1.875], "texture": "#0"},
"up": {"uv": [7.375, 7.375, 5.5, 5.625], "texture": "#0"},
"down": {"uv": [1.875, 5.875, 0, 7.625], "texture": "#0"}
"north": {"uv": [3.5, 7.25, 7.25, 11], "texture": "#all"},
"east": {"uv": [0, 7.25, 3.5, 11], "texture": "#all"},
"south": {"uv": [7.25, 0, 3.5, 3.75], "texture": "#all"},
"up": {"uv": [7.25, 7.25, 3.5, 3.75], "texture": "#all", "cullface": "up"}
}
},
{
"name": "base_left",
"from": [0, 0, 0],
"to": [16, 1, 16],
"faces": {
"north": {"uv": [5.875, 3.625, 7.875, 3.75], "texture": "#0"},
"east": {"uv": [7.25, 3.75, 9.25, 3.875], "texture": "#0"},
"south": {"uv": [7.25, 3.875, 9.25, 4], "texture": "#0"},
"west": {"uv": [7.25, 4, 9.25, 4.125], "texture": "#0"},
"up": {"uv": [2, 2, 0, 0], "texture": "#0"},
"down": {"uv": [2, 2, 0, 4], "texture": "#0"}
"north": {"uv": [0, 11, 4, 11.25], "texture": "#all", "cullface": "north"},
"east": {"uv": [0, 11, 4, 11.25], "texture": "#all", "cullface": "east"},
"south": {"uv": [0, 11, 4, 11.25], "texture": "#all", "cullface": "south"},
"up": {"uv": [4, 15, 0, 11], "texture": "#all"},
"down": {"uv": [4, 11, 0, 15], "texture": "#all", "cullface": "down"}
}
}
]
Expand Down
Binary file modified src/main/resources/assets/hollow/textures/block/stone_chest.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/main/resources/assets/hollow/textures/block/stone_chest_lid.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 0d1659f

Please sign in to comment.