All Mods Resource Packs Data Packs Shaders Modpacks Plugins
Touhou Maid: Affection

Touhou Maid: Affection

by Unknown • Downloads: 12 • Followers: 0
Description
Gallery
Changelog
Versions

Kiss your maid!

Touhou Maid: Affection

Bring affectionate interactions, bond progression, and lasting companionship to Touhou Little Maid.

中文

MC 1.20.1 Forge Java 17 Touhou Little Maid MIT


Overview

Touhou Maid: Affection is an affection and bond companion expansion for Touhou Little Maid (TLM).

Express your love through affectionate interactions, raise favorability by kissing, and unlock an exclusive Bond System as your relationship deepens. Bond abilities include relaxing Lap Pillows, personalized Morning Kisses, Emergency Rescues in fatal situations, and thoughtful Random Gifts. The mod also integrates with TLM's native AI chat and TTS speech system, alongside full datapack support for custom dialogue and voice lines.

Core Mechanics

Kiss Interaction

  • Keybind Actions: Aim your crosshair at your maid and press the kiss key. When carrying your maid using a saddle, use the dedicated carried kiss key to interact directly.
  • Visual & Audio Feedback: Each kiss brings heart particles, playful sound effects, and a brief close-up camera zoom.
  • Favorability Progression: Kissing steadily increases maid favorability. Higher favorability levels grant shorter kiss cooldowns.
  • Maid's Prayer: Rapid consecutive kisses reward both player and maid with the "Maid's Prayer" regeneration buff.

Bond System

When a maid reaches Favorability Level 3 (Max), the Bond Tab unlocks at the top of her inventory GUI. Players can spend P-Points (PowerPoint items in inventory) to unlock unique bond abilities:

Bond Ability Description
Lap Pillow Rest together sitting or lying down. Supports adjustable offsets, camera lock, and YSM custom animations.
Morning Kiss Scheduled morning greeting upon waking. The maid approaches with a morning kiss, custom lines, and voice playback.
Emergency Rescue When you suffer fatal damage, bonded maids rush in to shield you and restore emergency health with unique rescue lines.
Random Gift Bonded maids gather and present thoughtful gifts over time, with progress tracked directly in the GUI.

AI Morning Kiss & Bilingual Voice System

Morning Kiss can leverage Touhou Little Maid's configured AI chat and TTS providers to pre-generate morning greetings in the background.

  • Bilingual Combinations: Display text and spoken voice languages are completely decoupled, supporting combinations like English text with Japanese voice.
  • Auto Matching: Defaults to auto, where text matches your Minecraft language and voice inherits the maid's TLM AI voice settings.
  • Unified Management: Directly uses your existing TLM AI providers and API keys without redundant setup.

How to Use

Keybindings

Configure the following keys under Options → Controls → Key Binds:

  • Targeted Kiss: Kiss the maid in your crosshair.
  • Carried Maid Kiss: Kiss while carrying a maid with a saddle.
  • Lap Pillow: Trigger the lap pillow rest pose.
  • Lock View Angle: Lock the camera angle during a lap pillow session.

In-Game Settings Panel

Click the gear beside Bond Abilities, inside the panel header, to open settings:

  • Status: Monitoring is grouped by Random Gift and AI Morning Kiss. Select a maid in the gift section; AI switches, languages, and cache statistics form subsections.
  • Features: Toggle bond abilities, adjust AI cache policy, and choose the gift pool, preparation interval, and queue limit.
  • Voice: Switch display/voice languages, edit the Morning Kiss prompt template live, or jump directly to TLM's AI provider settings.
  • Volume: Adjust volume sliders in real-time for kiss sounds, morning kiss voices, rescue lines, and voice previews.

If an upgraded save produces a narrow selection of gifts, turn off Features → Gift preparation → Tag-only pool to select the broad pool. Existing configurations retain their saved choice. The Status tab displays server snapshots; use Refresh to update them. Delivery also depends on distance and cooldown after a gift is prepared. Hover and scroll over the contents row to inspect longer item lists.

Admin Commands

All data and settings follow server-authoritative validation. Operators (Permission Level 2) can manage features via /tma:

/tma morning_kiss status                       # View morning kiss status and AI cache stats
/tma morning_kiss clear_ai_cache [all|maid...]  # Clear generated dialogue and voice cache
/tma rescue on|off|toggle                      # Enable or disable emergency rescue server-wide
/tma bond prune [days]                         # Clean up bond data for maids inactive over N days (default: 90)

Custom Datapack Voices

Expand dialogue pools and .ogg voice lines via Datapacks:

Important Notes

  • Server Authority: Favorability growth, cooldowns, line-of-sight checks, and ability activation are fully validated by the server. Singleplayer and multiplayer servers share identical behavior.
  • Volume Attenuation: In-game volume sliders control client-side attenuation (0.0 for mute, 1.0 for full volume). Increase master/system volume for higher output.
  • Permissions: On dedicated servers, global toggles, language rules, and prompt templates are operator-only. Non-op players view the settings panel in read-only mode.
  • Data Persistence: Maid bond data is safely preserved across maid deaths, chunk unloads, or dimensional transfers. Use /tma bond prune to purge abandoned data.

Miscellaneous & Compatibility

Mod Integrations

  • Touhou Little Maid (TLM): Required core dependency (built against 1.5.3-forge+mc1.20.1).
  • MaidFileManager: Seamlessly carries bond levels, unlocked abilities, and voice settings across .maid file migrations.
  • Epic Fight: Compatible with [史诗战斗:车万女仆] bridge & Epic Fight - Avalon; bond tab automatically avoids GUI tab collisions.
  • Yes Steve Model (YSM): Supports custom animation sync during lap pillows.
  • Tweakerge / Tweakeroo: Fully compatible with Free Camera mode without causing player pose conflicts.

Installation

  1. Install Minecraft 1.20.1 and Forge 47.4.x.
  2. Install Touhou Little Maid for Forge 1.20.1 (1.5.0+).
  3. Place touhou-maid-affection-1.7.5.2.jar into your .minecraft/mods directory.
  4. Launch the game.

Developer & Architecture Docs

License

This project is open-source under the MIT License.

How to Install Touhou Maid: Affection (Mod)

Touhou Maid: Affection by Unknown is verified for Forge, Neoforge across Minecraft versions 1.20.1, 1.21, 1.21.1, 1.21.10, 1.21.11, 1.21.2, 1.21.3, 1.21.4 (latest release: 1.7.5.2+forge1.20.1, file size: 1.5 MB). Follow the steps below to install it safely from ModCraft.tv:

  1. Click the Download button above and select your Minecraft version (1.20.1, 1.21, 1.21.1, 1.21.10, 1.21.11, 1.21.2, 1.21.3, 1.21.4) and platform (Forge, Neoforge).
  2. Make sure you have the compatible loader or environment installed for Forge, Neoforge.
  3. Move the downloaded Touhou Maid: Affection file into your Minecraft .minecraft/mods folder and launch the game.

All Versions

+ Add Version
Name Game version Platforms Published Downloads Actions
1.20.1
Forge
2mo ago 7
1.21.1
Neoforge
2mo ago 3
1.20.1
Forge
2mo ago 2
1.21.1
Neoforge
2mo ago 2
1.20.1
Forge
2mo ago 1
1.21.1
Neoforge
2mo ago 1
1.21.1
Neoforge
2mo ago 1
1.20.1
Forge
2mo ago 1
1.21.1
Neoforge
2mo ago 1
1.20.1
Forge
2mo ago 1
1.21.1
Neoforge
2mo ago 1
1.20.1
Forge
2mo ago 1
1.21.1
Neoforge
2mo ago 1
1.20.1
Forge
2mo ago 1
1.21.1
Neoforge
2mo ago 1
1.20.1
Forge
2mo ago 1
1.21.1
Neoforge
2mo ago 1
1.21.1
Neoforge
2mo ago 1
1.20.1
Forge
2mo ago 1
1.21.1
Neoforge
2mo ago 1
1.20.1
Forge
2mo ago 1
1.21.1
Neoforge
2mo ago 1
1.20.1
Forge
2mo ago 1
1.21.1
Neoforge
2mo ago 1
1.21.1
Neoforge
2mo ago 1
1.21.1
Neoforge
2mo ago 1
1.21.1
Neoforge
2mo ago 1
1.21.x
Neoforge
2mo ago 1
1.21.x
Neoforge
2mo ago 1
## [1.7.5.2] - 2026-10-01

### Fixed
  • 随机礼物的新配置默认恢复广泛物品池。旧配置的 curatedPoolOnly 选择保留,可在「设置 → 功能 → 礼物准备」中关闭「仅标签物品池」,恢复原版与模组物品抽样。黑名单继续优先生效。
  • 模组物品每批备礼重新抽样,避免世界种子固定后长期只从同一小批物品中选择。
  • 礼物详情读取保持只读;查询膝枕等待条件时也保持玩家存档不变。

### Added
  • 全局设置「状态」tab 顶部新增女仆下拉框与固定礼物详情区:查看选中女仆的积攒份数、已准备物品、下一份准备时间、上次送礼记录和等待条件。刷新保留女仆选择,多个网络分页中的女仆均可选择;物品列表较长时可在悬浮提示内滚动。设置页保持原有四个 tab。
  • 「功能」tab 新增礼物池模式、模组物品开关、准备间隔与队列上限,沿用管理员权限校验。
  • 礼物在备好时确定并保存物品,送出时按队列取用。旧存档积攒份数保留,降低队列上限保留已积攒礼物,已准备物品支持随 .maid 导出导入;上次送礼记录保留在原存档。
  • 新增整合包作者教程 [PACK_AUTHORING.md](PACK_AUTHORING.md),说明如何通过数据包定制现有内容,并提供可直接参考的示例与排障指引。

### Changed
  • 设置入口移到「羁绊能力」标题右侧,以边框内的齿轮图标显示;渲染、提示和点击范围保持一致,避开 TLM 顶部页签。
  • 状态页按「随机礼物」「AI 早安吻」两个同级功能分区;女仆选择、开关、语种、缓存与具体数据采用下级缩进和留白。
  • 羁绊面板与二级页的较长文字按可用空间适配缩放,按钮文字限制在按钮宽度内,减少溢出与重叠。

### Notes
  • 界面继续使用 Minecraft 默认字体,保留原有面板背景与整体风格。
  • 准星亲吻与抱起亲吻继续使用自定义按键,Shift+右键仍保留 TLM 原生交互。
[1.7.5.2] v1.7.5.2 by Unknown on Oct 18, 2026
Download
## [1.7.5.2] - 2026-10-01

### Fixed
  • 随机礼物的新配置默认恢复广泛物品池。旧配置的 curatedPoolOnly 选择保留,可在「设置 → 功能 → 礼物准备」中关闭「仅标签物品池」,恢复原版与模组物品抽样。黑名单继续优先生效。
  • 模组物品每批备礼重新抽样,避免世界种子固定后长期只从同一小批物品中选择。
  • 礼物详情读取保持只读;查询膝枕等待条件时也保持玩家存档不变。

### Added
  • 全局设置「状态」tab 顶部新增女仆下拉框与固定礼物详情区:查看选中女仆的积攒份数、已准备物品、下一份准备时间、上次送礼记录和等待条件。刷新保留女仆选择,多个网络分页中的女仆均可选择;物品列表较长时可在悬浮提示内滚动。设置页保持原有四个 tab。
  • 「功能」tab 新增礼物池模式、模组物品开关、准备间隔与队列上限,沿用管理员权限校验。
  • 礼物在备好时确定并保存物品,送出时按队列取用。旧存档积攒份数保留,降低队列上限保留已积攒礼物,已准备物品支持随 .maid 导出导入;上次送礼记录保留在原存档。
  • 新增整合包作者教程 PACK_AUTHORING.md,说明礼物标签数据包、服务端配置、台词与语音资源包的制作方式、覆盖规则及当前定制边界。

### Changed
  • 改善较窄界面中的文字适配缩放及按钮宽度约束,保留原有羁绊面板、二级页和设置背景。
  • 设置入口移到「羁绊能力」标题右侧,使用边框内的 12px 齿轮图标,渲染、提示和点击共用同一矩形,避开 TLM 顶部页签。
  • 状态页按「随机礼物」「AI 早安吻」两个同级功能分区;女仆选择、开关、语种、缓存与具体数据采用下级缩进和留白。
  • 界面继续使用 Minecraft 默认字体,不内封或替换字体。


### Notes
  • 准星亲吻与抱起亲吻继续使用自定义按键。本轮保持 Shift+右键的 TLM 原生交互。
## [1.7.5.1] - 2026-09-25

### Fixed
  • 修复与 Tweakeroo / Tweakerge 自由视角(“灵魂出窍”)在膝枕平躺态下同时使用时的客户端崩溃(issue #7,LocalPlayer.canAutoJump 对 null input 的 NPE):Tweakeroo 的自由摄像机是一个复制了本地玩家 UUID、但 input 为 null 的假 LocalPlayer。膝枕平躺桥接此前以 **UUID 相等** 判定目标玩家,因而也命中了这个摄像机实体,强行让它 onGround() 返回 true;当玩家开启原版“自动跳跃”时,canAutoJump() 越过“在地面”判定继续走到 hasEnoughImpulseToStartSprinting() → this.input.getMoveVector(),对 null input 解引用即崩溃。改为 **实例相等**(player == Minecraft.getInstance().player),平躺桥接只作用于真正的本地玩家;Tweakeroo 摄像机、Replay Mod 摄像机等共享 UUID 的副本实体不再被误伤。
  • 修复与史诗战斗(Epic Fight)等同样往女仆界面顶部加页签的模组同装时,羁绊页签与对方页签重叠、点击无响应(issue #8):附属页签的注册监听器执行顺序不确定,两个模组会各自把页签放到“内建页签之后的第一个槽位”而落到同一坐标。现在在界面 init 完成后(此时所有模组的页签都已是实际控件)复查一次,**仅当** 羁绊页签确实与顶部同排的其他控件重叠时,才把它移到该排第一个空槽(25px 网格);单附属的常见布局保持不变。
[1.7.5.1] v1.7.5.1 by Unknown on Oct 18, 2026
Download
## [1.7.5.1] - 2026-09-25

### Fixed
  • 修复与 Tweakeroo / Tweakerge 自由视角(“灵魂出窍”)在膝枕平躺态下同时使用时的客户端崩溃(issue #7,LocalPlayer.canAutoJump 对 null input 的 NPE):Tweakeroo 的自由摄像机是一个复制了本地玩家 UUID、但 input 为 null 的假 LocalPlayer。膝枕平躺桥接此前以 **UUID 相等** 判定目标玩家,因而也命中了这个摄像机实体,强行让它 onGround() 返回 true;当玩家开启原版“自动跳跃”时,canAutoJump() 越过“在地面”判定继续走到 hasEnoughImpulseToStartSprinting() → this.input.getMoveVector(),对 null input 解引用即崩溃。改为 **实例相等**(player == Minecraft.getInstance().player),平躺桥接只作用于真正的本地玩家;Tweakeroo 摄像机、Replay Mod 摄像机等共享 UUID 的副本实体不再被误伤。
  • 修复与史诗战斗(Epic Fight)等同样往女仆界面顶部加页签的模组同装时,羁绊页签与对方页签重叠、点击无响应(issue #8):附属页签的注册监听器执行顺序不确定,两个模组会各自把页签放到“内建页签之后的第一个槽位”而落到同一坐标。现在在界面 init 完成后(此时所有模组的页签都已是实际控件)复查一次,**仅当** 羁绊页签确实与顶部同排的其他控件重叠时,才把它移到该排第一个空槽(25px 网格);单附属的常见布局保持不变。
Release v1.7.5.0-forge1.20.1. See CHANGELOG.md in the repository.
[1.7.5.0] v1.7.5.0 by Unknown on Oct 18, 2026
Download
## [1.7.5.0] - 2026-09-25

### Added
  • 设置面板「功能」tab 末尾新增「缓存策略」区(bond.settings.section.cache_policy):每池目标条数 / 扫描间隔 两个整数(复用紧凑数值控件 BondNumberField)与 消费即用 胶囊开关,全部走既有服务端权威通道(OP2 + [TMA Settings] 审计 + 状态回推 + pending 状态点,不新造视觉)。为此新增 4 个白名单键——morning_kiss.immediate_fallback_enabled(映射 ModConfig.BOND_MORNING_KISS_AI_DIALOGUE_IMMEDIATE_FALLBACK_ENABLED)、morning_kiss.cache_target_per_pool、morning_kiss.cache_scan_interval_ticks、morning_kiss.cache_consume_on_use(映射 ModConfig.BOND_MORNING_KISS_AI_DIALOGUE_CACHE_CONSUME_ON_USE),白名单从 **10 项扩到 14 项**(9 开关 + 2 语种 + 1 文本 + 2 整数)。TmaSettingsKeys 新增取值类型 Type.INT:只接受纯数字,逐键按 ModConfig defineInRange 的上下界校验(每池目标条数 1..8、扫描间隔 20..72000 tick),非数字/越界一律拒绝,并沿用既有的整包拒绝语义。morning_kiss.cache_consume_on_use 已从「功能」tab 的通用布尔列表里排除(TOGGLE_KEYS 过滤),「消费即用」在整个面板里**只出现一次**(就在缓存策略区内)。
  • 新增紧凑数值输入控件 BondNumberField(单行原版 EditBox,关闭原版边框、复用面板字段式配色;只允许数字、失焦提交、提交前按范围夹取、右侧显示单位如 1200t)。范围跨度 20..72000 用滑块精度不可用,因此不做滑块。
  • 新增中英 lang 键:bond.settings.section.cache_policy、bond.settings.key.morning_kiss.cache_target_per_pool / bond.settings.sub.morning_kiss.cache_target_per_pool、bond.settings.key.morning_kiss.cache_scan_interval_ticks / bond.settings.sub.morning_kiss.cache_scan_interval_ticks、bond.settings.status.pool.general(通用 / Any)、bond.settings.key.morning_kiss.immediate_fallback_enabled 与 bond.settings.sub.morning_kiss.immediate_fallback_enabled、bond.settings.key.morning_kiss.cache_consume_on_use 与 bond.settings.sub.morning_kiss.cache_consume_on_use、bond.settings.number.tip,以及状态页恢复只读后重新引用的 bond.settings.status.language.auto.display / bond.settings.status.language.auto.voice。
  • 新增游戏内「全局设置」面板「语音」tab 的「台词提示词」多行编辑框:直接编辑早安吻 AI 台词模板(占位符 {maid} 女仆名 / {player} 玩家名 / {pool} 时段 / {time} 允许时段),带占位符图例与「恢复默认」按钮。这是服务端权威的新设置类型 TEXT(逻辑键 morning_kiss.text_prompt,上限 1024 字符,保存空值写回内置默认模板),沿用现有 OP2 + 审计日志的写入路径。字数计数画在编辑框**内部右下角**(次要文字色),占位符图例独占编辑框下方一整行、占满内容区整宽(完整显示、不再截断),「恢复默认」按钮移到编辑框上方标签行右对齐,「恢复默认」改用面板通用的文字按钮渲染(与「打开」「清空」同一个 drawTextButton 模板,无权限时置灰)。编辑框本身支持**框内滚动**:新增子类 BondPromptBox 把滚动步长(scrollRate() = 9px)与滚动上限(9 × (总行数 − 可见行数))都吸附到文本行网格,编辑框高度取 9 × 行数 + 4(49px = 5 行 + 内边距),因此文字永远按整行显示、不会从行中间被切断;鼠标在框内滚轮只滚框内文本、不再带动面板,光标移出可视区时由原版光标监听自动滚动保持可见。
  • 新增设置面板「状态」tab:移植 /tma morning_kiss status 与 /tma morning_kiss cache 的信息,**全部只读**——开关(早安吻 / AI 台词 / AI 语音 / 立即兜底)、语种(文本语种 / 配音语种,未配置显示 auto(跟随游戏语言) / auto(跟随女仆 AI 设置))、缓存策略(每池目标 / 扫描间隔 / 消费即用)都用纯文本行渲染(没有胶囊开关 / 下拉框 / 数值框 / pending 状态点),缓存统计(条目语音/纯文本、女仆数 / 在途 / 版本号)与按女仆列表(名字 + 各时段池条目数 + 总条目/目标 + 行内「清空」)同样只读。配套新增只读状态通道 TmaAiStatusRequestPayload / TmaAiStatusPayload 与清缓存操作包 TmaAiCacheClearPayload:状态只回该玩家名下的女仆,清缓存需 OP2 + 审计日志并复用 /tma morning_kiss clear_ai_cache 完全相同的服务方法。
  • 新增设置面板「语音」tab 的「打开车万女仆的 AI 设置」按钮:跳转 TLM 原生 AIChatSettingsHubScreen(parent 传本面板,关闭后回到这里),是全局唯一的 AI 入口;TMA 不自建站点表单。
  • 新增游戏内「全局设置」面板:在羁绊页顶部右侧(原 TMA AI Hub 按钮的槽位)新增「设置」入口,面板与当前女仆无关,分四个 tab——状态(只读)、功能开关(早安吻 / 女仆主动早安吻 / AI 台词 / AI 语音 / 立即兜底 / 残血救护 / 随机礼物 / 少女祈祷 Bu
...
Touhou Maid: Affection Icon
Download Touhou Maid: Affection
Select game version
Select platform