FennecLib is a lightweight shared library for the MaidTown mod ecosystem and Touhou Little Maid extensions.
It provides reusable framework components for maid work behaviors and user interfaces, helping other mods implement complex features without duplicating common code.
FennecLib provides a flexible weighted behavior system for selecting and executing child behaviors.
The framework includes:
WeightedPicker for weighted random selectionWeightedChildBehavior for managing weighted child behaviorsThis system is designed for mods that need maids to choose between different tasks based on weights, conditions, priorities, or available resources.
FennecLib also provides reusable GUI and screen components for NeoForge mods.
Available components include:
C_Container container screen templatesW_EntryList entry list widgetsW_StatBar statistic and progress barsW_Scrollbar scroll bar componentsThese components are intended to make it easier for dependent mods to create consistent and functional interfaces.
FennecLib is primarily a developer library and does not add a standalone gameplay system by itself.
It is used by other projects in the MaidTown ecosystem, including MaidMoreWork, to provide common behavior and UI functionality for Touhou Little Maid-based systems.
Installing FennecLib alone may not add noticeable gameplay content. It is required by mods that use its APIs and framework components.
Install the required dependencies first, then place the FennecLib .jar file into your Minecraft mods folder.
FennecLib is currently under active development and its APIs may be expanded or adjusted as the MaidTown mod ecosystem grows.
FennecLib 是 MaidTown 模组系列和 Touhou Little Maid 扩展模组使用的轻量级基础库。
它为女仆工作行为和用户界面提供可复用的框架组件,帮助其他模组实现复杂功能,避免重复编写通用代码。
FennecLib 提供了灵活的加权行为系统,用于选择和执行不同的子行为。
主要包括:
WeightedPicker 实现加权随机选择WeightedChildBehavior 管理加权子行为该系统适用于需要女仆根据任务权重、环境条件、资源状态或优先级选择不同工作的模组。
FennecLib 还为 NeoForge 模组提供了可复用的 GUI 和界面组件。
目前包括:
C_Container 容器界面模板W_EntryList 条目列表控件W_StatBar 统计条和进度条控件W_Scrollbar 滚动条控件这些组件可以帮助依赖模组快速创建风格统一且功能完整的界面。
FennecLib 主要面向开发者,本身不会直接添加完整的独立玩法系统。
它被 MaidTown 模组系列中的其他项目使用,例如 MaidMoreWork,用于提供 Touhou Little Maid 相关的行为框架和界面功能。
单独安装 FennecLib 可能不会带来明显的游戏内容,它主要为使用其 API 和框架组件的其他模组提供支持。
请先安装所有必需依赖,然后将 FennecLib 的 .jar 文件放入 Minecraft 的 mods 文件夹中。
FennecLib 目前仍在积极开发中,随着 MaidTown 模组系列的发展,其 API 和功能可能会继续扩展或调整。