▶️ ЗАБЕРИ СВОИ 8 ПОДАРКОВ 🎁 ПРИ СОЗДАНИИ СВОЕГО МАЙНКРАФТ СЕРВЕРА
Ресурспаки/[HMI] Gous's Hand Poses
[HMI] Gous's Hand Poses

[HMI] Gous's Hand Poses

Added some hand poses for the Hold My Items mod.

226.3K
143

Gous's Hand Poses

Requires Hold My Items Requires Respackopts

Just a small addon for the HMI mod, maybe I'll expand it in the future.

Current Features (toggleable)

throwing

  • Offhand planting pose

planting

  • Shearing pose

shearing

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

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

Совместимость

Minecraft: Java Edition

1.21.x

Поддерживаемые окружения

Клиент

Создатели

Детали

Лицензия:MIT
Опубликован:4 месяца назад
Обновлён:3 месяца назад
Главная