跳到正文

HoggieLibrary

作者:Hoggie

Core library powering all Hoggie mods for Fabric.

收藏

截图

介绍

中文介绍正在准备中,下面暂时显示原文。

Hoggie Library

A comprehensive Fabric modding framework for Minecraft 1.21.11 (Java 21).

Provides a unified API accessible through Hoggie.* covering PvP, practice servers, Bedwars, RPG, bots, GUI/HUD, storage, and more.

Features

  • Central API — Everything accessible through Hoggie.*
  • PvP Framework — Combat, rotation, targeting, reach, damage, CPS, prediction
  • GUI/HUD Framework — Screen management, custom widgets (Button, Label, Slider, TextField, Toggle, Dropdown, ColorPicker, ScrollPanel), HUD elements, themes, animations
  • Entity Framework — Simple entity registration, spawn eggs, model layers, renderers
  • Item & Block API — Register items, food, blocks, item groups with one-liners
  • Command API — Easy Brigadier command registration
  • Storage Framework — JSON, caching, data migration, backup
  • Scheduler — Delayed, repeating, and async task scheduling
  • Event Bus — Subscribe to framework events
  • Keybind Manager — Simple keybinding with on-press callbacks
  • Notifications — Info, success, warning, error toast messages
  • Utilities — Math (clamp, lerp, wrap angle, horizontal distance), color (ARGB, lerp, rainbow), file I/O

How to use

Install hoggielibrary-1.2.1.jar in your mods/ folder alongside Fabric API. Your mods declare "hoggielibrary": "*" in their fabric.mod.json dependencies.

Available on JitPack for Maven/Gradle builds: com.github.hoggie-homerserver:hoggielibrary:v1.2.1

Requirements

  • Minecraft 1.21.11
  • Fabric Loader 0.16.9+
  • Fabric API 0.140.2+
  • Java 21

常见问题

HoggieLibrary 支持哪些 Minecraft 版本?

HoggieLibrary 支持 Minecraft Java 版 1.21.11,可用的加载器:Fabric。下载时注意选择和你游戏版本一致的文件。

HoggieLibrary 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:客户端 / 服务端。

评论

登录后评论和评分