优化SKS模型,添加AK12的轻型枪托

This commit is contained in:
Atsuihsio 2024-10-21 01:00:34 +08:00
parent ac232d6fc5
commit 09d28532d4
7 changed files with 6136 additions and 6098 deletions

View file

@ -131,6 +131,14 @@ public class AK12ItemRenderer extends GeoItemRenderer<AK12Item> {
bone.setHidden(itemStack.getOrCreateTag().getInt("barrel_type") != 2); bone.setHidden(itemStack.getOrCreateTag().getInt("barrel_type") != 2);
} }
if (name.equals("originstock")) {
bone.setHidden(itemStack.getOrCreateTag().getInt("stock_type") != 0);
}
if (name.equals("light_stock")) {
bone.setHidden(itemStack.getOrCreateTag().getInt("stock_type") != 1);
}
} }

View file

@ -10,10 +10,10 @@
"bones": { "bones": {
"0": { "0": {
"rotation": { "rotation": {
"vector": [-22.5, -22.5, -22.5] "vector": [2.28664, -70.21598, -13.21611]
}, },
"position": { "position": {
"vector": [0.5, 2.5, -4.75] "vector": [2.6, 2.6, -6.45]
} }
}, },
"Lefthand": { "Lefthand": {
@ -23,6 +23,14 @@
"position": { "position": {
"vector": [-4, -10, 20] "vector": [-4, -10, 20]
} }
},
"Righthand": {
"rotation": {
"vector": [1.90371, -57.62597, -9.69366]
},
"position": {
"vector": [9.7, -12.5, 17]
}
} }
} }
}, },

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

Binary file not shown.

Before

Width:  |  Height:  |  Size: 60 KiB

After

Width:  |  Height:  |  Size: 65 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 31 KiB

After

Width:  |  Height:  |  Size: 36 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 37 KiB

After

Width:  |  Height:  |  Size: 39 KiB