Fix glider held pose in game

This commit is contained in:
2026-09-20 22:16:01 +03:00
parent 0c55322b7f
commit f9a3380288
3 changed files with 76 additions and 23 deletions
@@ -1,18 +1,11 @@
{ {
"name": "Планер", "name": "Планер",
"material": "minecraft:crossbow", "material": "minecraft:stick",
"model": "astraplus:item/glider", "model": "astraplus:item/glider",
"iconTexture": "astraplus:item/glider", "iconTexture": "astraplus:item/glider",
"components": { "components": {
"minecraft:max_stack_size": 1, "minecraft:max_stack_size": 1,
"minecraft:max_damage": 100, "minecraft:max_damage": 100
"minecraft:charged_projectiles": [
{ "id": "minecraft:arrow" }
],
"minecraft:tooltip_display": {
"hide_tooltip": false,
"hidden_components": ["minecraft:charged_projectiles"]
}
}, },
"properties": { "properties": {
"gliding": { "gliding": {
@@ -44,23 +37,23 @@
"scale": [0.35, 0.35, 0.35] "scale": [0.35, 0.35, 0.35]
}, },
"thirdperson_righthand": { "thirdperson_righthand": {
"rotation": [67.75, 0, 0], "rotation": [0, 0, 0],
"translation": [-6, -0.75, 15], "translation": [-8, 6, 0],
"scale": [1, 1, 1] "scale": [1, 1, 1]
}, },
"thirdperson_lefthand": { "thirdperson_lefthand": {
"rotation": [67.75, 180, 0], "rotation": [0, 180, 0],
"translation": [6, -0.75, 15], "translation": [8, 6, 0],
"scale": [1, 1, 1] "scale": [1, 1, 1]
}, },
"firstperson_righthand": { "firstperson_righthand": {
"rotation": [67.75, 0, 0], "rotation": [0, 0, 0],
"translation": [-3, -1, 8], "translation": [-3, -1, 0],
"scale": [0.45, 0.45, 0.45] "scale": [0.45, 0.45, 0.45]
}, },
"firstperson_lefthand": { "firstperson_lefthand": {
"rotation": [67.75, 180, 0], "rotation": [0, 180, 0],
"translation": [3, -1, 8], "translation": [3, -1, 0],
"scale": [0.45, 0.45, 0.45] "scale": [0.45, 0.45, 0.45]
} }
}, },
@@ -906,14 +906,60 @@
"display": { "display": {
"thirdperson_righthand": { "thirdperson_righthand": {
"rotation": [ "rotation": [
67.75, 0,
0, 0,
0 0
], ],
"translation": [ "translation": [
-6, -8,
-0.75, 6,
15 0
]
},
"thirdperson_lefthand": {
"rotation": [
0,
180,
0
],
"translation": [
8,
6,
0
]
},
"firstperson_righthand": {
"rotation": [
0,
0,
0
],
"translation": [
-3,
-1,
0
],
"scale": [
0.45,
0.45,
0.45
]
},
"firstperson_lefthand": {
"rotation": [
0,
180,
0
],
"translation": [
3,
-1,
0
],
"scale": [
0.45,
0.45,
0.45
] ]
} }
} }
@@ -125,8 +125,22 @@
], ],
"display": { "display": {
"thirdperson_righthand": { "thirdperson_righthand": {
"rotation": [67.75, 0, 0], "rotation": [0, 0, 0],
"translation": [-6, -0.75, 15] "translation": [-8, 6, 0]
},
"thirdperson_lefthand": {
"rotation": [0, 180, 0],
"translation": [8, 6, 0]
},
"firstperson_righthand": {
"rotation": [0, 0, 0],
"translation": [-3, -1, 0],
"scale": [0.45, 0.45, 0.45]
},
"firstperson_lefthand": {
"rotation": [0, 180, 0],
"translation": [3, -1, 0],
"scale": [0.45, 0.45, 0.45]
} }
} }
} }