调整DPS发电机贴图
This commit is contained in:
parent
f357ae669d
commit
be15327d5e
5 changed files with 41 additions and 146 deletions
|
@ -19,6 +19,7 @@ public class DPSGeneratorModel extends GeoModel<DPSGeneratorEntity> {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public ResourceLocation getTextureResource(DPSGeneratorEntity entity) {
|
public ResourceLocation getTextureResource(DPSGeneratorEntity entity) {
|
||||||
return Mod.loc("textures/entity/dps_generator.png");
|
int tier = entity.getEntityData().get(DPSGeneratorEntity.LEVEL);
|
||||||
|
return Mod.loc("textures/entity/dps_generator_tier_" + tier + ".png");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,147 +1,41 @@
|
||||||
{
|
{
|
||||||
"format_version": "1.12.0",
|
"format_version": "1.12.0",
|
||||||
"minecraft:geometry": [
|
"minecraft:geometry": [
|
||||||
{
|
{
|
||||||
"description": {
|
"description": {
|
||||||
"identifier": "geometry.unknown",
|
"identifier": "geometry.unknown",
|
||||||
"texture_width": 128,
|
"texture_width": 64,
|
||||||
"texture_height": 128,
|
"texture_height": 64,
|
||||||
"visible_bounds_width": 2,
|
"visible_bounds_width": 2,
|
||||||
"visible_bounds_height": 3.5,
|
"visible_bounds_height": 3.5,
|
||||||
"visible_bounds_offset": [
|
"visible_bounds_offset": [0, 1.25, 0]
|
||||||
0,
|
},
|
||||||
1.25,
|
"bones": [
|
||||||
0
|
{
|
||||||
]
|
"name": "0",
|
||||||
},
|
"pivot": [0, 0, 0]
|
||||||
"bones": [
|
},
|
||||||
{
|
{
|
||||||
"name": "0",
|
"name": "zuo",
|
||||||
"pivot": [
|
"parent": "0",
|
||||||
0,
|
"pivot": [0, 0, 0],
|
||||||
0,
|
"cubes": [
|
||||||
0
|
{"origin": [-8, 2, -1], "size": [1, 2, 2], "uv": [30, 0]},
|
||||||
]
|
{"origin": [-8, 0, -4], "size": [16, 2, 8], "uv": [0, 29]},
|
||||||
},
|
{"origin": [7, 2, -1], "size": [1, 2, 2], "uv": [30, 4]}
|
||||||
{
|
]
|
||||||
"name": "zuo",
|
},
|
||||||
"parent": "0",
|
{
|
||||||
"pivot": [
|
"name": "ba",
|
||||||
0,
|
"parent": "0",
|
||||||
0,
|
"pivot": [0, 3.5, 0],
|
||||||
0
|
"cubes": [
|
||||||
],
|
{"origin": [-7, 4, -0.5], "size": [14, 28, 1], "uv": [0, 0]},
|
||||||
"cubes": [
|
{"origin": [6, 3, -0.5], "size": [1, 1, 1], "uv": [30, 8]},
|
||||||
{
|
{"origin": [-7, 3, -0.5], "size": [1, 1, 1], "uv": [30, 10]}
|
||||||
"origin": [
|
]
|
||||||
-8,
|
}
|
||||||
2,
|
]
|
||||||
-1
|
}
|
||||||
],
|
]
|
||||||
"size": [
|
|
||||||
1,
|
|
||||||
2,
|
|
||||||
2
|
|
||||||
],
|
|
||||||
"uv": [
|
|
||||||
0,
|
|
||||||
29
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"origin": [
|
|
||||||
-8,
|
|
||||||
0,
|
|
||||||
-4
|
|
||||||
],
|
|
||||||
"size": [
|
|
||||||
16,
|
|
||||||
2,
|
|
||||||
8
|
|
||||||
],
|
|
||||||
"uv": [
|
|
||||||
22,
|
|
||||||
21
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"origin": [
|
|
||||||
7,
|
|
||||||
2,
|
|
||||||
-1
|
|
||||||
],
|
|
||||||
"size": [
|
|
||||||
1,
|
|
||||||
2,
|
|
||||||
2
|
|
||||||
],
|
|
||||||
"uv": [
|
|
||||||
6,
|
|
||||||
29
|
|
||||||
]
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "ba",
|
|
||||||
"parent": "0",
|
|
||||||
"pivot": [
|
|
||||||
0,
|
|
||||||
3.5,
|
|
||||||
0
|
|
||||||
],
|
|
||||||
"cubes": [
|
|
||||||
{
|
|
||||||
"origin": [
|
|
||||||
-7,
|
|
||||||
4,
|
|
||||||
-0.5
|
|
||||||
],
|
|
||||||
"size": [
|
|
||||||
14,
|
|
||||||
28,
|
|
||||||
1
|
|
||||||
],
|
|
||||||
"uv": [
|
|
||||||
0,
|
|
||||||
0
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"origin": [
|
|
||||||
6,
|
|
||||||
3,
|
|
||||||
-0.5
|
|
||||||
],
|
|
||||||
"size": [
|
|
||||||
1,
|
|
||||||
1,
|
|
||||||
1
|
|
||||||
],
|
|
||||||
"uv": [
|
|
||||||
10,
|
|
||||||
29
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"origin": [
|
|
||||||
-7,
|
|
||||||
3,
|
|
||||||
-0.5
|
|
||||||
],
|
|
||||||
"size": [
|
|
||||||
1,
|
|
||||||
1,
|
|
||||||
1
|
|
||||||
],
|
|
||||||
"uv": [
|
|
||||||
4,
|
|
||||||
29
|
|
||||||
]
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
}
|
Binary file not shown.
Before Width: | Height: | Size: 659 B |
Binary file not shown.
Before Width: | Height: | Size: 261 B After Width: | Height: | Size: 290 B |
Binary file not shown.
After Width: | Height: | Size: 713 B |
Loading…
Add table
Reference in a new issue