Описание
Gous's Hand Poses
Just a small addon for the HMI mod, maybe I'll expand it in the future.
## Current Features _(toggleable)_
- Throwing item pose (Resource pack used: [3D Tools and Utils](https://modrinth.com/resourcepack/tools-and-utils))

- Offhand planting pose
.gif)
- Shearing pose

## For other pack creators
I’ve made it so other packs can detect and disable my pack’s features for compatibility. Here’s an example of how to disable features in my pack - you can put it in either `item_addon` or `hand_addon`
```lua
global.GHP_disablePlanting = 0.0;
global.GHP_disableThrowing = 0.0;
global.GHP_disableShearing = 0.0;
global.GHP_disableShearingMPA = 0.0;
global.GHP_customShearsMPA = 0;
global.GHP_leftShearsStart = 0;
global.GHP_leftShearsEnd = 29;
global.GHP_rightShearsStart = 30;
global.GHP_rightShearsEnd = 59;
global.GHP_leftShearsRot = 7.5;
global.GHP_rightShearsRot = -7.5;
global.GHP_isActive = 0.0;
global.GHP_prevIsActive = 0.0;
local isHandPosesActive = (GHP_prevIsActive ~= GHP_isActive) -- check if hand poses pack is active
GHP_disablePlanting = GHP_disablePlanting + 1 -- disable planting
GHP_disableThrowing = GHP_disableThrowing + 1 -- disable throwing
GHP_disableShearing = GHP_disableShearing + 1 -- disable shearing
GHP_disableShearingMPA = GHP_disableShearingMPA + 1 -- disable shears modelpart animation
--------------------------------------------- PUT YOUR SCRIPT UNDER HERE v
-- EXAMPLE
-- do things if hand poses pack is on
if isHandPosesActive then
-- example: move item up by 1 unit
M:moveY(context.matrices, 1)
end
GHP_customShearsMPA = GHP_customShearsMPA + 1 -- enable custom shears modelpart
-- pretty much self explain
GHP_leftShearsStart = 0
GHP_leftShearsEnd = 29
GHP_rightShearsStart = 30
GHP_rightShearsEnd = 59
GHP_leftShearsRot = 7.5;
GHP_rightShearsRot = -7.5;
--------------------------------------------- END OF YOUR SCRIPT ^
-- leave this at the bottom of your script
GHP_prevIsActive = GHP_isActive
```