promotional bannermobile promotional banner

ALI JobSites Fix

all trade show mod JobSites.

ALI JobSites Fix

A Minecraft Forge 1.20.1 compatibility mod that fixes missing or incomplete "Job Site" information for villager professions in Advanced Loot Info (ALI).

Description

Advanced Loot Info (ALI) shows detailed loot and villager trade information. When displaying a villager profession, it also tries to show which job-site blocks the profession can use. The original ALI implementation depends on captured ResourceKey instances from its plugin system. For modded professions, or when that capture information is incomplete, the job-site list can be empty.

This mod replaces ALI's GenericUtils#getJobSites via Mixin. Instead of relying on captured resource keys, it scans all registered PoiTypes from the Forge registry and filters them using the profession's acquirableJobSite() predicate. This makes the job-site display work for both vanilla and modded villager professions.

Features

  • Fixes empty or incomplete job-site lists in ALI.
  • Supports vanilla and modded villager professions / POI blocks.
  • Dynamically resolves job sites from the Forge registry.
  • Caches POI type holders after the first lookup for better performance.
  • Lightweight client/compatibility mod.

Requirements

  • Minecraft: 1.20.1
  • Forge: 47.3.29 or newer [47,)
  • Advanced Loot Info (ALI): 1.12.0+
  • One ALI-supported frontend: JEI, EMI, or REI

Installation

  1. Download the mod jar from the Files page.
  2. Place the jar into your .minecraft/mods folder.
  3. Make sure all required dependencies are installed.
  4. Launch Minecraft with the Forge 1.20.1 profile.

Compatibility

  • This mod is developed against ALI 1.12.0 and supports 1.12.0 or newer.
  • It uses @Overwrite on GenericUtils#getJobSites.
  • Do not use it together with other mods that overwrite the same method.
  • If ALI changes this method in a future version, the mod may need an update.

License

This project is licensed under the GNU General Public License v3.0 (GPL-3.0).

Copyright (c) 2026 yi_ran


ALI JobSites Fix

一个用于 Minecraft Forge 1.20.1 的兼容性修复模组,用于修复 Advanced Loot Info (ALI) 中村民职业「工作站点 / Job Site」显示不全或为空的问题。

简介

Advanced Loot Info (ALI) 会展示战利品表和村民交易相关的详细信息。在显示村民职业时,ALI 还会尝试显示该职业可使用的工作站点方块。原版 ALI 的实现依赖其插件系统捕获的 ResourceKey 列表;当职业来自其他模组,或捕获信息不完整时,工作站点列表就会为空。

本模组通过 Mixin 覆写 ALI 的 GenericUtils#getJobSites,不再依赖捕获的资源键,而是遍历 Forge 注册表中的全部 PoiType,并使用职业的 acquirableJobSite() 谓词进行筛选。这样无论是原版还是模组新增的村民职业,都能正确显示工作站点。

功能特性

  • 修复 ALI 中村民职业工作站点显示为空或不完整的问题。
  • 支持原版及模组新增的村民职业 / POI 方块。
  • 动态从 Forge 注册表解析工作站点。
  • 首次查询后缓存 POI 类型,提升性能。
  • 轻量级兼容修复模组。

依赖要求

  • Minecraft:1.20.1
  • Forge:47.3.29 或更高 [47,)
  • Advanced Loot Info (ALI)1.12.0 或更高
  • ALI 支持的前端之一:JEIEMIREI

安装方法

  1. 在 Files 页面下载本模组 jar。
  2. 将 jar 放入 .minecraft/mods 文件夹。
  3. 确保已安装所有前置依赖模组。
  4. 使用 Forge 1.20.1 配置文件启动游戏。

兼容性说明

  • 本模组针对 ALI 1.12.0 开发,支持 1.12.0 或更高版本。
  • 使用 @Overwrite 覆写 GenericUtils#getJobSites
  • 请勿与其它覆写同一方法的模组同时使用。
  • 如果未来 ALI 修改了该方法,本模组可能需要同步更新。

许可证

本项目使用 GNU General Public License v3.0(GPL-3.0)授权。

Copyright (c) 2026 yi_ran

The ALI JobSites Fix Team

HighCrafter tier frameprofile avatar
  • 18
    Followers
  • 43
    Projects
  • 6.0M
    Downloads

More from yiran1457View all