Reduce the humongous amount of empty (But not really) space on texture atlas
@ -247,11 +247,11 @@ fun addDecorativeData(blockStateProvider: MatteryBlockStateProvider, itemModelPr
|
||||
blockModelProvider.exec {
|
||||
for (crate in MRegistry.CARGO_CRATES.blocks.values) {
|
||||
it.withExistingParent("${crate.registryName!!.path}_closed", modLocation("${MNames.CARGO_CRATE}_closed"))
|
||||
.texture("texture", "block/cargo_crates/${crate.registryName!!.path}")
|
||||
.texture("body", "block/cargo_crates/${crate.registryName!!.path}")
|
||||
.texture("particle", "block/cargo_crates/${crate.registryName!!.path}")
|
||||
|
||||
it.withExistingParent("${crate.registryName!!.path}_open", modLocation("${MNames.CARGO_CRATE}_open"))
|
||||
.texture("texture", "block/cargo_crates/${crate.registryName!!.path}")
|
||||
.texture("body", "block/cargo_crates/${crate.registryName!!.path}")
|
||||
.texture("particle", "block/cargo_crates/${crate.registryName!!.path}")
|
||||
}
|
||||
}
|
||||
|
@ -1,8 +1,11 @@
|
||||
{
|
||||
"credit": "Made with Blockbench",
|
||||
"parent": "block/block",
|
||||
"texture_size": [16, 32],
|
||||
"textures": {
|
||||
"texture": "overdrive_that_matters:block/cargo_crates/cargo_crate",
|
||||
"particle": "overdrive_that_matters:block/cargo_crates/cargo_crate"
|
||||
"particle": "overdrive_that_matters:block/cargo_crates/cargo_crate",
|
||||
"body": "overdrive_that_matters:block/cargo_crates/cargo_crate",
|
||||
"core": "overdrive_that_matters:block/cargo_crates/cargo_crate_core"
|
||||
},
|
||||
"elements": [
|
||||
{
|
||||
@ -10,25 +13,11 @@
|
||||
"from": [0, 0, 0],
|
||||
"to": [16, 13, 16],
|
||||
"faces": {
|
||||
"north": {"uv": [0, 4.75, 8, 8], "texture": "#texture"},
|
||||
"east": {"uv": [0, 4.75, 8, 8], "texture": "#texture"},
|
||||
"south": {"uv": [0, 4.75, 8, 8], "texture": "#texture"},
|
||||
"west": {"uv": [0, 4.75, 8, 8], "texture": "#texture"},
|
||||
"up": {"uv": [0, 0, 8, 4], "texture": "#texture"},
|
||||
"down": {"uv": [0, 8, 8, 12], "texture": "#texture"}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "inside",
|
||||
"from": [2, 13, 2],
|
||||
"to": [14, 15, 14],
|
||||
"faces": {
|
||||
"north": {"uv": [9, 0, 15, 0.5], "texture": "#texture"},
|
||||
"east": {"uv": [9, 0, 15, 0.5], "texture": "#texture"},
|
||||
"south": {"uv": [9, 0, 15, 0.5], "texture": "#texture"},
|
||||
"west": {"uv": [9, 0, 15, 0.5], "texture": "#texture"},
|
||||
"up": {"uv": [0, 0, 6, 3], "texture": "#missing"},
|
||||
"down": {"uv": [0, 0, 6, 3], "texture": "#missing"}
|
||||
"north": {"uv": [0, 9.5, 16, 16], "texture": "#body"},
|
||||
"east": {"uv": [0, 9.5, 16, 16], "texture": "#body"},
|
||||
"south": {"uv": [0, 9.5, 16, 16], "texture": "#body"},
|
||||
"west": {"uv": [0, 9.5, 16, 16], "texture": "#body"},
|
||||
"down": {"uv": [0, 0, 16, 8], "texture": "#core"}
|
||||
}
|
||||
},
|
||||
{
|
||||
@ -36,65 +25,13 @@
|
||||
"from": [0, 13, 0],
|
||||
"to": [16, 16, 16],
|
||||
"faces": {
|
||||
"north": {"uv": [0, 4, 8, 4.75], "texture": "#texture"},
|
||||
"east": {"uv": [0, 4, 8, 4.75], "texture": "#texture"},
|
||||
"south": {"uv": [0, 4, 8, 4.75], "texture": "#texture"},
|
||||
"west": {"uv": [0, 4, 8, 4.75], "texture": "#texture"},
|
||||
"up": {"uv": [0, 0, 8, 4], "texture": "#texture"},
|
||||
"down": {"uv": [0, 0, 8, 4], "texture": "#texture"}
|
||||
}
|
||||
},
|
||||
{
|
||||
"from": [0, 13, 7],
|
||||
"to": [0, 15, 9],
|
||||
"rotation": {"angle": 0, "axis": "y", "origin": [0, 14, 8]},
|
||||
"faces": {
|
||||
"north": {"uv": [0, 0, 0, 0.5], "texture": "#missing"},
|
||||
"east": {"uv": [3.5, 4.25, 4.5, 4.75], "texture": "#texture"},
|
||||
"south": {"uv": [0, 0, 0, 0.5], "texture": "#missing"},
|
||||
"west": {"uv": [3.5, 4.75, 4.5, 5.25], "texture": "#texture"},
|
||||
"up": {"uv": [0, 0, 0, 0.5], "texture": "#missing"},
|
||||
"down": {"uv": [0, 0, 0, 0.5], "texture": "#missing"}
|
||||
}
|
||||
},
|
||||
{
|
||||
"from": [16, 13, 7],
|
||||
"to": [16, 15, 9],
|
||||
"rotation": {"angle": 0, "axis": "y", "origin": [0, 14, 8]},
|
||||
"faces": {
|
||||
"north": {"uv": [0, 0, 0, 0.5], "texture": "#missing"},
|
||||
"east": {"uv": [3.5, 4.25, 4.5, 4.75], "texture": "#texture"},
|
||||
"south": {"uv": [0, 0, 0, 0.5], "texture": "#missing"},
|
||||
"west": {"uv": [3.5, 4.75, 4.5, 5.25], "texture": "#texture"},
|
||||
"up": {"uv": [0, 0, 0, 0.5], "texture": "#missing"},
|
||||
"down": {"uv": [0, 0, 0, 0.5], "texture": "#missing"}
|
||||
}
|
||||
},
|
||||
{
|
||||
"from": [7, 13, 16],
|
||||
"to": [9, 15, 16],
|
||||
"rotation": {"angle": 0, "axis": "y", "origin": [8, 14, 16]},
|
||||
"faces": {
|
||||
"north": {"uv": [3.5, 4.75, 4.5, 5.25], "texture": "#texture"},
|
||||
"east": {"uv": [0, 0, 0, 0.5], "texture": "#missing"},
|
||||
"south": {"uv": [3.5, 4.25, 4.5, 4.75], "texture": "#texture"},
|
||||
"west": {"uv": [0, 0, 0, 0.5], "texture": "#missing"},
|
||||
"up": {"uv": [0, 0, 0, 0.5], "rotation": 90, "texture": "#missing"},
|
||||
"down": {"uv": [0, 0, 0, 0.5], "rotation": 270, "texture": "#missing"}
|
||||
}
|
||||
},
|
||||
{
|
||||
"from": [7, 13, 0],
|
||||
"to": [9, 15, 0],
|
||||
"rotation": {"angle": 0, "axis": "y", "origin": [8, 14, 16]},
|
||||
"faces": {
|
||||
"north": {"uv": [3.5, 4.75, 4.5, 5.25], "texture": "#texture"},
|
||||
"east": {"uv": [0, 0, 0, 0.5], "texture": "#missing"},
|
||||
"south": {"uv": [3.5, 4.25, 4.5, 4.75], "texture": "#texture"},
|
||||
"west": {"uv": [0, 0, 0, 0.5], "texture": "#missing"},
|
||||
"up": {"uv": [0, 0, 0, 0.5], "rotation": 90, "texture": "#missing"},
|
||||
"down": {"uv": [0, 0, 0, 0.5], "rotation": 270, "texture": "#missing"}
|
||||
"north": {"uv": [0, 8, 16, 9.5], "texture": "#body"},
|
||||
"east": {"uv": [0, 8, 16, 9.5], "texture": "#body"},
|
||||
"south": {"uv": [0, 8, 16, 9.5], "texture": "#body"},
|
||||
"west": {"uv": [0, 8, 16, 9.5], "texture": "#body"},
|
||||
"up": {"uv": [0, 0, 16, 8], "texture": "#body"}
|
||||
}
|
||||
}
|
||||
]
|
||||
],
|
||||
"display": {}
|
||||
}
|
@ -1,8 +1,11 @@
|
||||
{
|
||||
"credit": "Made with Blockbench",
|
||||
"parent": "block/block",
|
||||
"texture_size": [16, 32],
|
||||
"textures": {
|
||||
"texture": "overdrive_that_matters:block/cargo_crates/cargo_crate",
|
||||
"particle": "overdrive_that_matters:block/cargo_crates/cargo_crate"
|
||||
"particle": "overdrive_that_matters:block/cargo_crates/cargo_crate",
|
||||
"body": "overdrive_that_matters:block/cargo_crates/cargo_crate",
|
||||
"core": "overdrive_that_matters:block/cargo_crates/cargo_crate_core"
|
||||
},
|
||||
"elements": [
|
||||
{
|
||||
@ -10,12 +13,12 @@
|
||||
"from": [0, 0, 0],
|
||||
"to": [16, 13, 16],
|
||||
"faces": {
|
||||
"north": {"uv": [0, 4.75, 8, 8], "texture": "#texture"},
|
||||
"east": {"uv": [0, 4.75, 8, 8], "texture": "#texture"},
|
||||
"south": {"uv": [0, 4.75, 8, 8], "texture": "#texture"},
|
||||
"west": {"uv": [0, 4.75, 8, 8], "texture": "#texture"},
|
||||
"up": {"uv": [0, 0, 8, 4], "texture": "#texture"},
|
||||
"down": {"uv": [0, 8, 8, 12], "texture": "#texture"}
|
||||
"north": {"uv": [0, 9.5, 16, 16], "texture": "#body"},
|
||||
"east": {"uv": [0, 9.5, 16, 16], "texture": "#body"},
|
||||
"south": {"uv": [0, 9.5, 16, 16], "texture": "#body"},
|
||||
"west": {"uv": [0, 9.5, 16, 16], "texture": "#body"},
|
||||
"up": {"uv": [0, 0, 16, 8], "texture": "#body"},
|
||||
"down": {"uv": [0, 0, 16, 8], "texture": "#core"}
|
||||
}
|
||||
},
|
||||
{
|
||||
@ -23,12 +26,10 @@
|
||||
"from": [2, 13, 2],
|
||||
"to": [14, 15, 14],
|
||||
"faces": {
|
||||
"north": {"uv": [9, 0, 15, 0.5], "texture": "#texture"},
|
||||
"east": {"uv": [9, 0, 15, 0.5], "texture": "#texture"},
|
||||
"south": {"uv": [9, 0, 15, 0.5], "texture": "#texture"},
|
||||
"west": {"uv": [9, 0, 15, 0.5], "texture": "#texture"},
|
||||
"up": {"uv": [0, 0, 6, 3], "texture": "#missing"},
|
||||
"down": {"uv": [0, 0, 6, 3], "texture": "#missing"}
|
||||
"north": {"uv": [0, 8, 16, 9], "texture": "#core"},
|
||||
"east": {"uv": [0, 8, 16, 9], "texture": "#core"},
|
||||
"south": {"uv": [0, 8, 16, 9], "texture": "#core"},
|
||||
"west": {"uv": [0, 8, 16, 9], "texture": "#core"}
|
||||
}
|
||||
},
|
||||
{
|
||||
@ -36,12 +37,12 @@
|
||||
"from": [0, 15, 0],
|
||||
"to": [16, 18, 16],
|
||||
"faces": {
|
||||
"north": {"uv": [0, 4, 8, 4.75], "texture": "#texture"},
|
||||
"east": {"uv": [0, 4, 8, 4.75], "texture": "#texture"},
|
||||
"south": {"uv": [0, 4, 8, 4.75], "texture": "#texture"},
|
||||
"west": {"uv": [0, 4, 8, 4.75], "texture": "#texture"},
|
||||
"up": {"uv": [0, 0, 8, 4], "texture": "#texture"},
|
||||
"down": {"uv": [0, 0, 8, 4], "texture": "#texture"}
|
||||
"north": {"uv": [0, 8, 16, 9.5], "texture": "#body"},
|
||||
"east": {"uv": [0, 8, 16, 9.5], "texture": "#body"},
|
||||
"south": {"uv": [0, 8, 16, 9.5], "texture": "#body"},
|
||||
"west": {"uv": [0, 8, 16, 9.5], "texture": "#body"},
|
||||
"up": {"uv": [0, 0, 16, 8], "texture": "#body"},
|
||||
"down": {"uv": [0, 0, 16, 8], "texture": "#body"}
|
||||
}
|
||||
},
|
||||
{
|
||||
@ -49,12 +50,8 @@
|
||||
"to": [0, 15, 9],
|
||||
"rotation": {"angle": 0, "axis": "y", "origin": [0, 14, 8]},
|
||||
"faces": {
|
||||
"north": {"uv": [0, 0, 0, 0.5], "texture": "#missing"},
|
||||
"east": {"uv": [3.5, 4.25, 4.5, 4.75], "texture": "#texture"},
|
||||
"south": {"uv": [0, 0, 0, 0.5], "texture": "#missing"},
|
||||
"west": {"uv": [3.5, 4.75, 4.5, 5.25], "texture": "#texture"},
|
||||
"up": {"uv": [0, 0, 0, 0.5], "texture": "#missing"},
|
||||
"down": {"uv": [0, 0, 0, 0.5], "texture": "#missing"}
|
||||
"east": {"uv": [7, 9.5, 9, 10.5], "texture": "#body"},
|
||||
"west": {"uv": [7, 9.5, 9, 10.5], "texture": "#body"}
|
||||
}
|
||||
},
|
||||
{
|
||||
@ -62,12 +59,8 @@
|
||||
"to": [16, 15, 9],
|
||||
"rotation": {"angle": 0, "axis": "y", "origin": [0, 14, 8]},
|
||||
"faces": {
|
||||
"north": {"uv": [0, 0, 0, 0.5], "texture": "#missing"},
|
||||
"east": {"uv": [3.5, 4.25, 4.5, 4.75], "texture": "#texture"},
|
||||
"south": {"uv": [0, 0, 0, 0.5], "texture": "#missing"},
|
||||
"west": {"uv": [3.5, 4.75, 4.5, 5.25], "texture": "#texture"},
|
||||
"up": {"uv": [0, 0, 0, 0.5], "texture": "#missing"},
|
||||
"down": {"uv": [0, 0, 0, 0.5], "texture": "#missing"}
|
||||
"east": {"uv": [7, 9.5, 9, 10.5], "texture": "#body"},
|
||||
"west": {"uv": [7, 9.5, 9, 10.5], "texture": "#body"}
|
||||
}
|
||||
},
|
||||
{
|
||||
@ -75,12 +68,8 @@
|
||||
"to": [9, 15, 16],
|
||||
"rotation": {"angle": 0, "axis": "y", "origin": [8, 14, 16]},
|
||||
"faces": {
|
||||
"north": {"uv": [3.5, 4.75, 4.5, 5.25], "texture": "#texture"},
|
||||
"east": {"uv": [0, 0, 0, 0.5], "texture": "#missing"},
|
||||
"south": {"uv": [3.5, 4.25, 4.5, 4.75], "texture": "#texture"},
|
||||
"west": {"uv": [0, 0, 0, 0.5], "texture": "#missing"},
|
||||
"up": {"uv": [0, 0, 0, 0.5], "rotation": 90, "texture": "#missing"},
|
||||
"down": {"uv": [0, 0, 0, 0.5], "rotation": 270, "texture": "#missing"}
|
||||
"north": {"uv": [7, 8.5, 9, 9.5], "texture": "#body"},
|
||||
"south": {"uv": [7, 8.5, 9, 9.5], "texture": "#body"}
|
||||
}
|
||||
},
|
||||
{
|
||||
@ -88,13 +77,10 @@
|
||||
"to": [9, 15, 0],
|
||||
"rotation": {"angle": 0, "axis": "y", "origin": [8, 14, 16]},
|
||||
"faces": {
|
||||
"north": {"uv": [3.5, 4.75, 4.5, 5.25], "texture": "#texture"},
|
||||
"east": {"uv": [0, 0, 0, 0.5], "texture": "#missing"},
|
||||
"south": {"uv": [3.5, 4.25, 4.5, 4.75], "texture": "#texture"},
|
||||
"west": {"uv": [0, 0, 0, 0.5], "texture": "#missing"},
|
||||
"up": {"uv": [0, 0, 0, 0.5], "rotation": 90, "texture": "#missing"},
|
||||
"down": {"uv": [0, 0, 0, 0.5], "rotation": 270, "texture": "#missing"}
|
||||
"north": {"uv": [7, 8.5, 9, 9.5], "texture": "#body"},
|
||||
"south": {"uv": [7, 8.5, 9, 9.5], "texture": "#body"}
|
||||
}
|
||||
}
|
||||
]
|
||||
],
|
||||
"display": {}
|
||||
}
|
Before Width: | Height: | Size: 559 B After Width: | Height: | Size: 372 B |
Before Width: | Height: | Size: 559 B After Width: | Height: | Size: 372 B |
Before Width: | Height: | Size: 559 B After Width: | Height: | Size: 372 B |
Before Width: | Height: | Size: 559 B After Width: | Height: | Size: 372 B |
After Width: | Height: | Size: 297 B |
Before Width: | Height: | Size: 559 B After Width: | Height: | Size: 372 B |
Before Width: | Height: | Size: 559 B After Width: | Height: | Size: 372 B |
Before Width: | Height: | Size: 559 B After Width: | Height: | Size: 372 B |
Before Width: | Height: | Size: 559 B After Width: | Height: | Size: 372 B |
Before Width: | Height: | Size: 559 B After Width: | Height: | Size: 372 B |
Before Width: | Height: | Size: 559 B After Width: | Height: | Size: 372 B |
Before Width: | Height: | Size: 559 B After Width: | Height: | Size: 372 B |
Before Width: | Height: | Size: 559 B After Width: | Height: | Size: 372 B |
Before Width: | Height: | Size: 559 B After Width: | Height: | Size: 372 B |
Before Width: | Height: | Size: 559 B After Width: | Height: | Size: 372 B |
Before Width: | Height: | Size: 559 B After Width: | Height: | Size: 372 B |
Before Width: | Height: | Size: 559 B After Width: | Height: | Size: 372 B |
Before Width: | Height: | Size: 559 B After Width: | Height: | Size: 372 B |