优化SKS模型,添加AK12的轻型枪托
This commit is contained in:
parent
ac232d6fc5
commit
09d28532d4
7 changed files with 6136 additions and 6098 deletions
|
@ -131,6 +131,14 @@ public class AK12ItemRenderer extends GeoItemRenderer<AK12Item> {
|
|||
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);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -10,10 +10,10 @@
|
|||
"bones": {
|
||||
"0": {
|
||||
"rotation": {
|
||||
"vector": [-22.5, -22.5, -22.5]
|
||||
"vector": [2.28664, -70.21598, -13.21611]
|
||||
},
|
||||
"position": {
|
||||
"vector": [0.5, 2.5, -4.75]
|
||||
"vector": [2.6, 2.6, -6.45]
|
||||
}
|
||||
},
|
||||
"Lefthand": {
|
||||
|
@ -23,6 +23,14 @@
|
|||
"position": {
|
||||
"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 |
Loading…
Add table
Reference in a new issue