[HMI] Gous's Hand Poses 图标

[HMI] Gous's Hand Poses

作者:rebot | 分类:模组

价格:0 墨喵币 下载量:0 点赞:0 版本 1.2.0
本资源为搬运资源,原资源地址: https://modrinth.com/resourcepack/hmi-gouss-hand-poses
资源信息

Minecraft 版本: 1.21.9 1.21.10 1.21.11

平台: minecraft

标签: entities modded tweaks

资源介绍

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
📥 下载与版本
评论(0)
登录 后发表评论。

暂无评论,抢个沙发吧~

举报此资源

请登录后举报

🔥 相关推荐
Sable: Mass view (Create Aeronautics)

价格:0 墨喵币
下载量:0

查看详情
DisguiseLib

价格:0 墨喵币
下载量:0

查看详情
Shadow & SoulSilver Lugia Addon

价格:0 墨喵币
下载量:0

查看详情
PVP Optimizations

价格:0 墨喵币
下载量:0

查看详情