Mineuniverse
Mods
Villager Imprisonment Fix

Villager Imprisonment Fix

MOD
Fixes Mob Imprisonment Tool interactions with villagers and wandering traders on Forge 1.20.1.
by Monthy
Download Claim this project
120 downloads
0 likes
0 followers
Updated Oct 14, 2026
0 hypes
Follow0
Server Utility Technology Utility & QoL
Advertisement Remove ads with Premium →

# Villager Imprisonment Fix

A lightweight compatibility patch for **Industrial Foregoing** that restores the expected behavior of the **Mob Imprisonment Tool** when interacting with villagers.

## What does this fix?

On Forge **1.20.1** with Industrial Foregoing **3.5.22**, the Mob Imprisonment Tool cannot capture:

- Villagers
- Wandering Traders

Instead, Minecraft opens the trading GUI before Industrial Foregoing receives the interaction.

This mod fixes that issue.

When the player:

- Sneaks (Shift)
- Holds an empty Mob Imprisonment Tool
- Right-clicks a Villager or Wandering Trader

the entity is captured normally using Industrial Foregoing's own capture logic, without opening the trading interface.

## Features

✔ Uses Industrial Foregoing's original capture implementation

✔ No duplicated NBT logic

✔ No Mixins

✔ No ASM

✔ No Coremods

✔ Lightweight

✔ Server and client compatible

✔ Configurable

## Configuration

The generated configuration file allows enabling or disabling support for:

- Villagers
- Wandering Traders
- Sneak requirement

## Requirements

- Minecraft 1.20.1
- Forge 47.x
- Industrial Foregoing 3.5.22 or compatible

## Compatibility

This mod only changes interactions with:

- Villager
- Wandering Trader

All other entities continue to behave exactly as Industrial Foregoing intends.

## Source

This project is an independent compatibility patch.

It does **not** include Industrial Foregoing code or assets.

Industrial Foregoing remains a required dependency.

IFVillagerPatch-1.0.1.jar
MC 1.20.1, Forge, Server
Release 2026-07-17 Get
IFVillagerPatch-1.0.jar
MC Client, 1.20.1, Forge, Server
Release 2026-07-16 Get
Advertisement Remove ads with Premium →

You Might Also Like