mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-27 23:33:08 +00:00
reduce size of pressurised reaction chamber (python does mess up json formatting though...
This commit is contained in:
1 parent
0f1fbfc1ee
commit
c2d42adb85
3 files changed
+632
-83
No files matched your search
@@ -1,6 +1,7 @@
|
||||
import json
|
||||
|
||||
with open("fluid_tank.json") as f:
|
||||
s = "pressurized_reaction_chamber.json"
|
||||
with open(s) as f:
|
||||
raw = f.read()
|
||||
j = json.loads(raw)
|
||||
for entry in j.get("elements"):
|
||||
@@ -9,5 +10,5 @@ with open("fluid_tank.json") as f:
|
||||
faces[key]["uv"] = [i*2 for i in faces[key]["uv"]]
|
||||
|
||||
|
||||
with open("fluid_tank_new.json", "w") as newf:
|
||||
with open(s, "w") as newf:
|
||||
newf.write(json.dumps(j, indent=4))
|
||||
+629
-81
@@ -3,132 +3,680 @@
|
||||
"elements": [
|
||||
{
|
||||
"__comment": "frontDivider1",
|
||||
"from": [13, 3.5, 0.5],
|
||||
"to": [15, 15.5, 6.5],
|
||||
"from": [13,
|
||||
3.5,
|
||||
0.5],
|
||||
"to": [15,
|
||||
15.5, 6.5
|
||||
],
|
||||
"faces": {
|
||||
"down": {"uv": [7.75, 2.5, 7.5, 3.25], "texture": "#all"},
|
||||
"up": {"uv": [7.5, 3.25, 7.25, 2.5], "texture": "#all"},
|
||||
"north": {"uv": [7.25, 3.25, 7.5, 4.75], "texture": "#all"},
|
||||
"south": {"uv": [8.25, 3.25, 8.5, 4.75], "texture": "#all"},
|
||||
"west": {"uv": [7.5, 3.25, 8.25, 4.75], "texture": "#all"},
|
||||
"east": {"uv": [6.5, 3.25, 7.25, 4.75], "texture": "#all"}
|
||||
"down": {"uv": [15.5, 5.0, 15.0, 6.5], "texture": "#all"},
|
||||
"up": {
|
||||
"uv": [
|
||||
15.0,
|
||||
6.5,
|
||||
14.5,
|
||||
5.0
|
||||
],
|
||||
"texture": "#all"
|
||||
},
|
||||
"north": {
|
||||
"uv": [
|
||||
14.5,
|
||||
6.5,
|
||||
15.0,
|
||||
9.5
|
||||
],
|
||||
"texture": "#all"
|
||||
},
|
||||
"south": {
|
||||
"uv": [
|
||||
0,
|
||||
10.5,
|
||||
0.5,
|
||||
13.5
|
||||
],
|
||||
"texture": "#all"
|
||||
},
|
||||
"west": {
|
||||
"uv": [
|
||||
0.5,
|
||||
10.5,
|
||||
2,
|
||||
13.5
|
||||
],
|
||||
"texture": "#all"
|
||||
},
|
||||
"east": {
|
||||
"uv": [
|
||||
13.0,
|
||||
6.5,
|
||||
14.5,
|
||||
9.5
|
||||
],
|
||||
"texture": "#all"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"__comment": "body",
|
||||
"from": [0, 4, 6],
|
||||
"to": [16, 16, 16],
|
||||
"from": [
|
||||
0,
|
||||
4,
|
||||
6
|
||||
],
|
||||
"to": [
|
||||
16,
|
||||
16,
|
||||
16
|
||||
],
|
||||
"faces": {
|
||||
"down": {"uv": [5.25, 2.5, 3.25, 3.75], "texture": "#all"},
|
||||
"up": {"uv": [3.25, 3.75, 1.25, 2.5], "texture": "#all"},
|
||||
"north": {"uv": [1.25, 3.75, 3.25, 5.25], "texture": "#all"},
|
||||
"south": {"uv": [4.5, 3.75, 6.5, 5.25], "texture": "#all"},
|
||||
"west": {"uv": [3.25, 3.75, 4.5, 5.25], "texture": "#all"},
|
||||
"east": {"uv": [0, 3.75, 1.25, 5.25], "texture": "#all"}
|
||||
"down": {
|
||||
"uv": [
|
||||
10.5,
|
||||
5.0,
|
||||
6.5,
|
||||
7.5
|
||||
],
|
||||
"texture": "#all"
|
||||
},
|
||||
"up": {
|
||||
"uv": [
|
||||
6.5,
|
||||
7.5,
|
||||
2.5,
|
||||
5.0
|
||||
],
|
||||
"texture": "#all"
|
||||
},
|
||||
"north": {
|
||||
"uv": [
|
||||
2.5,
|
||||
7.5,
|
||||
6.5,
|
||||
10.5
|
||||
],
|
||||
"texture": "#all"
|
||||
},
|
||||
"south": {
|
||||
"uv": [
|
||||
9.0,
|
||||
7.5,
|
||||
13.0,
|
||||
10.5
|
||||
],
|
||||
"texture": "#all"
|
||||
},
|
||||
"west": {
|
||||
"uv": [
|
||||
6.5,
|
||||
7.5,
|
||||
9.0,
|
||||
10.5
|
||||
],
|
||||
"texture": "#all"
|
||||
},
|
||||
"east": {
|
||||
"uv": [
|
||||
0,
|
||||
7.5,
|
||||
2.5,
|
||||
10.5
|
||||
],
|
||||
"texture": "#all"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"__comment": "frontDivider2",
|
||||
"from": [10, 3.5, 0.5],
|
||||
"to": [12, 15.5, 6.5],
|
||||
"from": [
|
||||
10,
|
||||
3.5,
|
||||
0.5
|
||||
],
|
||||
"to": [
|
||||
12,
|
||||
15.5,
|
||||
6.5
|
||||
],
|
||||
"faces": {
|
||||
"down": {"uv": [7.75, 2.5, 7.5, 3.25], "texture": "#all"},
|
||||
"up": {"uv": [7.5, 3.25, 7.25, 2.5], "texture": "#all"},
|
||||
"north": {"uv": [7.25, 3.25, 7.5, 4.75], "texture": "#all"},
|
||||
"south": {"uv": [8.25, 3.25, 8.5, 4.75], "texture": "#all"},
|
||||
"west": {"uv": [7.5, 3.25, 8.25, 4.75], "texture": "#all"},
|
||||
"east": {"uv": [6.5, 3.25, 7.25, 4.75], "texture": "#all"}
|
||||
"down": {
|
||||
"uv": [
|
||||
15.5,
|
||||
5.0,
|
||||
15.0,
|
||||
6.5
|
||||
],
|
||||
"texture": "#all"
|
||||
},
|
||||
"up": {
|
||||
"uv": [
|
||||
15.0,
|
||||
6.5,
|
||||
14.5,
|
||||
5.0
|
||||
],
|
||||
"texture": "#all"
|
||||
},
|
||||
"north": {
|
||||
"uv": [
|
||||
14.5,
|
||||
6.5,
|
||||
15.0,
|
||||
9.5
|
||||
],
|
||||
"texture": "#all"
|
||||
},
|
||||
"south": {
|
||||
"uv": [
|
||||
0,
|
||||
10.5,
|
||||
0.5,
|
||||
13.5
|
||||
],
|
||||
"texture": "#all"
|
||||
},
|
||||
"west": {
|
||||
"uv": [
|
||||
0.5,
|
||||
10.5,
|
||||
2,
|
||||
13.5
|
||||
],
|
||||
"texture": "#all"
|
||||
},
|
||||
"east": {
|
||||
"uv": [
|
||||
13.0,
|
||||
6.5,
|
||||
14.5,
|
||||
9.5
|
||||
],
|
||||
"texture": "#all"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"__comment": "bar1",
|
||||
"from": [12, 5, 1],
|
||||
"to": [13, 6, 6],
|
||||
"from": [
|
||||
12,
|
||||
5,
|
||||
1
|
||||
],
|
||||
"to": [
|
||||
13,
|
||||
6,
|
||||
6
|
||||
],
|
||||
"faces": {
|
||||
"down": {"uv": [0.875, 0, 0.75, 0.625], "texture": "#all"},
|
||||
"up": {"uv": [0.75, 0.625, 0.625, 0], "texture": "#all"},
|
||||
"north": {"uv": [0.625, 0.625, 0.75, 0.75], "texture": "#all"},
|
||||
"south": {"uv": [1.375, 0.625, 1.5, 0.75], "texture": "#all"},
|
||||
"west": {"uv": [0.75, 0.625, 1.375, 0.75], "texture": "#all"},
|
||||
"east": {"uv": [0, 0.625, 0.625, 0.75], "texture": "#all"}
|
||||
"down": {
|
||||
"uv": [
|
||||
1.75,
|
||||
0,
|
||||
1.5,
|
||||
1.25
|
||||
],
|
||||
"texture": "#all"
|
||||
},
|
||||
"up": {
|
||||
"uv": [
|
||||
1.5,
|
||||
1.25,
|
||||
1.25,
|
||||
0
|
||||
],
|
||||
"texture": "#all"
|
||||
},
|
||||
"north": {
|
||||
"uv": [
|
||||
1.25,
|
||||
1.25,
|
||||
1.5,
|
||||
1.5
|
||||
],
|
||||
"texture": "#all"
|
||||
},
|
||||
"south": {
|
||||
"uv": [
|
||||
2.75,
|
||||
1.25,
|
||||
3.0,
|
||||
1.5
|
||||
],
|
||||
"texture": "#all"
|
||||
},
|
||||
"west": {
|
||||
"uv": [
|
||||
1.5,
|
||||
1.25,
|
||||
2.75,
|
||||
1.5
|
||||
],
|
||||
"texture": "#all"
|
||||
},
|
||||
"east": {
|
||||
"uv": [
|
||||
0,
|
||||
1.25,
|
||||
1.25,
|
||||
1.5
|
||||
],
|
||||
"texture": "#all"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"__comment": "bar5",
|
||||
"from": [12, 13, 1],
|
||||
"to": [13, 14, 6],
|
||||
"from": [
|
||||
12,
|
||||
13,
|
||||
1
|
||||
],
|
||||
"to": [
|
||||
13,
|
||||
14,
|
||||
6
|
||||
],
|
||||
"faces": {
|
||||
"down": {"uv": [0.875, 0, 0.75, 0.625], "texture": "#all"},
|
||||
"up": {"uv": [0.75, 0.625, 0.625, 0], "texture": "#all"},
|
||||
"north": {"uv": [0.625, 0.625, 0.75, 0.75], "texture": "#all"},
|
||||
"south": {"uv": [1.375, 0.625, 1.5, 0.75], "texture": "#all"},
|
||||
"west": {"uv": [0.75, 0.625, 1.375, 0.75], "texture": "#all"},
|
||||
"east": {"uv": [0, 0.625, 0.625, 0.75], "texture": "#all"}
|
||||
"down": {
|
||||
"uv": [
|
||||
1.75,
|
||||
0,
|
||||
1.5,
|
||||
1.25
|
||||
],
|
||||
"texture": "#all"
|
||||
},
|
||||
"up": {
|
||||
"uv": [
|
||||
1.5,
|
||||
1.25,
|
||||
1.25,
|
||||
0
|
||||
],
|
||||
"texture": "#all"
|
||||
},
|
||||
"north": {
|
||||
"uv": [
|
||||
1.25,
|
||||
1.25,
|
||||
1.5,
|
||||
1.5
|
||||
],
|
||||
"texture": "#all"
|
||||
},
|
||||
"south": {
|
||||
"uv": [
|
||||
2.75,
|
||||
1.25,
|
||||
3.0,
|
||||
1.5
|
||||
],
|
||||
"texture": "#all"
|
||||
},
|
||||
"west": {
|
||||
"uv": [
|
||||
1.5,
|
||||
1.25,
|
||||
2.75,
|
||||
1.5
|
||||
],
|
||||
"texture": "#all"
|
||||
},
|
||||
"east": {
|
||||
"uv": [
|
||||
0,
|
||||
1.25,
|
||||
1.25,
|
||||
1.5
|
||||
],
|
||||
"texture": "#all"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"__comment": "bar2",
|
||||
"from": [12, 7, 1],
|
||||
"to": [13, 8, 6],
|
||||
"from": [
|
||||
12,
|
||||
7,
|
||||
1
|
||||
],
|
||||
"to": [
|
||||
13,
|
||||
8,
|
||||
6
|
||||
],
|
||||
"faces": {
|
||||
"down": {"uv": [0.875, 0, 0.75, 0.625], "texture": "#all"},
|
||||
"up": {"uv": [0.75, 0.625, 0.625, 0], "texture": "#all"},
|
||||
"north": {"uv": [0.625, 0.625, 0.75, 0.75], "texture": "#all"},
|
||||
"south": {"uv": [1.375, 0.625, 1.5, 0.75], "texture": "#all"},
|
||||
"west": {"uv": [0.75, 0.625, 1.375, 0.75], "texture": "#all"},
|
||||
"east": {"uv": [0, 0.625, 0.625, 0.75], "texture": "#all"}
|
||||
"down": {
|
||||
"uv": [
|
||||
1.75,
|
||||
0,
|
||||
1.5,
|
||||
1.25
|
||||
],
|
||||
"texture": "#all"
|
||||
},
|
||||
"up": {
|
||||
"uv": [
|
||||
1.5,
|
||||
1.25,
|
||||
1.25,
|
||||
0
|
||||
],
|
||||
"texture": "#all"
|
||||
},
|
||||
"north": {
|
||||
"uv": [
|
||||
1.25,
|
||||
1.25,
|
||||
1.5,
|
||||
1.5
|
||||
],
|
||||
"texture": "#all"
|
||||
},
|
||||
"south": {
|
||||
"uv": [
|
||||
2.75,
|
||||
1.25,
|
||||
3.0,
|
||||
1.5
|
||||
],
|
||||
"texture": "#all"
|
||||
},
|
||||
"west": {
|
||||
"uv": [
|
||||
1.5,
|
||||
1.25,
|
||||
2.75,
|
||||
1.5
|
||||
],
|
||||
"texture": "#all"
|
||||
},
|
||||
"east": {
|
||||
"uv": [
|
||||
0,
|
||||
1.25,
|
||||
1.25,
|
||||
1.5
|
||||
],
|
||||
"texture": "#all"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"__comment": "front",
|
||||
"from": [1, 4, 1],
|
||||
"to": [10, 15, 6],
|
||||
"from": [
|
||||
1,
|
||||
4,
|
||||
1
|
||||
],
|
||||
"to": [
|
||||
10,
|
||||
15,
|
||||
6
|
||||
],
|
||||
"faces": {
|
||||
"down": {"uv": [8.875, 0, 7.75, 0.625], "texture": "#all"},
|
||||
"up": {"uv": [7.75, 0.625, 6.625, 0], "texture": "#all"},
|
||||
"north": {"uv": [6.625, 0.625, 7.75, 2], "texture": "#all"},
|
||||
"south": {"uv": [8.375, 0.625, 9.5, 2], "texture": "#all"},
|
||||
"west": {"uv": [7.75, 0.625, 8.375, 2], "texture": "#all"},
|
||||
"east": {"uv": [6, 0.625, 6.625, 2], "texture": "#all"}
|
||||
"down": {
|
||||
"uv": [
|
||||
4.25,
|
||||
10.5,
|
||||
2.0,
|
||||
11.75
|
||||
],
|
||||
"texture": "#all"
|
||||
},
|
||||
"up": {
|
||||
"uv": [
|
||||
15.5,
|
||||
1.25,
|
||||
13.25,
|
||||
0
|
||||
],
|
||||
"texture": "#all"
|
||||
},
|
||||
"north": {
|
||||
"uv": [
|
||||
13.25,
|
||||
1.25,
|
||||
15.5,
|
||||
4
|
||||
],
|
||||
"texture": "#all"
|
||||
},
|
||||
"south": {
|
||||
"uv": [
|
||||
4.25,
|
||||
10.5,
|
||||
6.5,
|
||||
13.25
|
||||
],
|
||||
"texture": "#all"
|
||||
},
|
||||
"west": {
|
||||
"uv": [
|
||||
6.5,
|
||||
10.5,
|
||||
7.75,
|
||||
13.25
|
||||
],
|
||||
"texture": "#all"
|
||||
},
|
||||
"east": {
|
||||
"uv": [
|
||||
12,
|
||||
1.25,
|
||||
13.25,
|
||||
4
|
||||
],
|
||||
"texture": "#all"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"__comment": "base",
|
||||
"from": [0, 0, 0],
|
||||
"to": [16, 4, 16],
|
||||
"from": [
|
||||
0,
|
||||
0,
|
||||
0
|
||||
],
|
||||
"to": [
|
||||
16,
|
||||
4,
|
||||
16
|
||||
],
|
||||
"faces": {
|
||||
"down": {"uv": [6, 0, 4, 2], "texture": "#all"},
|
||||
"up": {"uv": [4, 2, 2, 0], "texture": "#all"},
|
||||
"north": {"uv": [2, 2, 4, 2.5], "texture": "#all"},
|
||||
"south": {"uv": [6, 2, 8, 2.5], "texture": "#all"},
|
||||
"west": {"uv": [4, 2, 6, 2.5], "texture": "#all"},
|
||||
"east": {"uv": [0, 2, 2, 2.5], "texture": "#all"}
|
||||
"down": {
|
||||
"uv": [
|
||||
12,
|
||||
0,
|
||||
8,
|
||||
4
|
||||
],
|
||||
"texture": "#all"
|
||||
},
|
||||
"up": {
|
||||
"uv": [
|
||||
8,
|
||||
4,
|
||||
4,
|
||||
0
|
||||
],
|
||||
"texture": "#all"
|
||||
},
|
||||
"north": {
|
||||
"uv": [
|
||||
4,
|
||||
4,
|
||||
8,
|
||||
5.0
|
||||
],
|
||||
"texture": "#all"
|
||||
},
|
||||
"south": {
|
||||
"uv": [
|
||||
12,
|
||||
4,
|
||||
16,
|
||||
5.0
|
||||
],
|
||||
"texture": "#all"
|
||||
},
|
||||
"west": {
|
||||
"uv": [
|
||||
8,
|
||||
4,
|
||||
12,
|
||||
5.0
|
||||
],
|
||||
"texture": "#all"
|
||||
},
|
||||
"east": {
|
||||
"uv": [
|
||||
0,
|
||||
4,
|
||||
4,
|
||||
5.0
|
||||
],
|
||||
"texture": "#all"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"__comment": "bar3",
|
||||
"from": [12, 9, 1],
|
||||
"to": [13, 10, 6],
|
||||
"from": [
|
||||
12,
|
||||
9,
|
||||
1
|
||||
],
|
||||
"to": [
|
||||
13,
|
||||
10,
|
||||
6
|
||||
],
|
||||
"faces": {
|
||||
"down": {"uv": [0.875, 0, 0.75, 0.625], "texture": "#all"},
|
||||
"up": {"uv": [0.75, 0.625, 0.625, 0], "texture": "#all"},
|
||||
"north": {"uv": [0.625, 0.625, 0.75, 0.75], "texture": "#all"},
|
||||
"south": {"uv": [1.375, 0.625, 1.5, 0.75], "texture": "#all"},
|
||||
"west": {"uv": [0.75, 0.625, 1.375, 0.75], "texture": "#all"},
|
||||
"east": {"uv": [0, 0.625, 0.625, 0.75], "texture": "#all"}
|
||||
"down": {
|
||||
"uv": [
|
||||
1.75,
|
||||
0,
|
||||
1.5,
|
||||
1.25
|
||||
],
|
||||
"texture": "#all"
|
||||
},
|
||||
"up": {
|
||||
"uv": [
|
||||
1.5,
|
||||
1.25,
|
||||
1.25,
|
||||
0
|
||||
],
|
||||
"texture": "#all"
|
||||
},
|
||||
"north": {
|
||||
"uv": [
|
||||
1.25,
|
||||
1.25,
|
||||
1.5,
|
||||
1.5
|
||||
],
|
||||
"texture": "#all"
|
||||
},
|
||||
"south": {
|
||||
"uv": [
|
||||
2.75,
|
||||
1.25,
|
||||
3.0,
|
||||
1.5
|
||||
],
|
||||
"texture": "#all"
|
||||
},
|
||||
"west": {
|
||||
"uv": [
|
||||
1.5,
|
||||
1.25,
|
||||
2.75,
|
||||
1.5
|
||||
],
|
||||
"texture": "#all"
|
||||
},
|
||||
"east": {
|
||||
"uv": [
|
||||
0,
|
||||
1.25,
|
||||
1.25,
|
||||
1.5
|
||||
],
|
||||
"texture": "#all"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"__comment": "bar4",
|
||||
"from": [12, 11, 1],
|
||||
"to": [13, 12, 6],
|
||||
"from": [
|
||||
12,
|
||||
11,
|
||||
1
|
||||
],
|
||||
"to": [
|
||||
13,
|
||||
12,
|
||||
6
|
||||
],
|
||||
"faces": {
|
||||
"down": {"uv": [0.875, 0, 0.75, 0.625], "texture": "#all"},
|
||||
"up": {"uv": [0.75, 0.625, 0.625, 0], "texture": "#all"},
|
||||
"north": {"uv": [0.625, 0.625, 0.75, 0.75], "texture": "#all"},
|
||||
"south": {"uv": [1.375, 0.625, 1.5, 0.75], "texture": "#all"},
|
||||
"west": {"uv": [0.75, 0.625, 1.375, 0.75], "texture": "#all"},
|
||||
"east": {"uv": [0, 0.625, 0.625, 0.75], "texture": "#all"}
|
||||
"down": {
|
||||
"uv": [
|
||||
1.75,
|
||||
0,
|
||||
1.5,
|
||||
1.25
|
||||
],
|
||||
"texture": "#all"
|
||||
},
|
||||
"up": {
|
||||
"uv": [
|
||||
1.5,
|
||||
1.25,
|
||||
1.25,
|
||||
0
|
||||
],
|
||||
"texture": "#all"
|
||||
},
|
||||
"north": {
|
||||
"uv": [
|
||||
1.25,
|
||||
1.25,
|
||||
1.5,
|
||||
1.5
|
||||
],
|
||||
"texture": "#all"
|
||||
},
|
||||
"south": {
|
||||
"uv": [
|
||||
2.75,
|
||||
1.25,
|
||||
3.0,
|
||||
1.5
|
||||
],
|
||||
"texture": "#all"
|
||||
},
|
||||
"west": {
|
||||
"uv": [
|
||||
1.5,
|
||||
1.25,
|
||||
2.75,
|
||||
1.5
|
||||
],
|
||||
"texture": "#all"
|
||||
},
|
||||
"east": {
|
||||
"uv": [
|
||||
0,
|
||||
1.25,
|
||||
1.25,
|
||||
1.5
|
||||
],
|
||||
"texture": "#all"
|
||||
}
|
||||
}
|
||||
}
|
||||
],
|
||||
@@ -136,4 +684,4 @@
|
||||
"all": "mekanism:blocks/models/pressurized_reaction_chamber",
|
||||
"particle": "mekanism:blocks/SteelCasing"
|
||||
}
|
||||
}
|
||||
}
|
||||
BIN
Binary file not shown.
|
Before Width: | Height: | Size: 4.4 KiB After Width: | Height: | Size: 9.8 KiB |
Reference in new issue
Block a user