Villager Imprisonment Fix

Quick rating

Villager Imprisonment Fix

No reviews yet

Fixes Mob Imprisonment Tool interactions with villagers and wandering traders on Forge 1.20.1.

Tech
QoL & Tweaks
Mod Loaders
Forge
Minecraft

Community voices

Reviews

Versions
Loading versions…
Match includes

Click once to include, again to exclude, again to clear

Rating Any
Any 0.5 1.0 1.5 2.0 2.5 3.0 3.5 4.0 4.5 5.0
Min
Max
Play Status
Reviews
Time Played
hrs+
Verified developers only
Has developer response
List view
Grid view
Compact view
Sort by
Date
Rating
Helpful
Unhelpful
Edited
Sort ascending
Delete this review?

This removes your review from the project. You can write a new review after.

Review submitted for moderation

Your review has been sent to moderators, who will check that it meets our guidelines before it appears publicly.

No reviews yet. Be the first to review this project!

Get it on

Available Platforms

About

Project Details

Type
Mod
Latest Version
IFVillagerPatch-1.0.1.jar
Authors

For authors

Embed Badge

If you're the author of this project, you can embed a live badge anywhere that supports HTML or Markdown. It updates automatically whenever ratings change.

Custom banner text
ModDex rating badge preview

Use HTML for any page that supports it, or Markdown for README files and Markdown-based descriptions.

Identifiers

Platform IDs

CurseForge ID

Resources

External Links

Source Issues Wiki Discord

About

Description

# 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.

Screenshots

Gallery

This project has no gallery images yet.

Versions

Files

Relations

Project Relations

More like this

Similar Mods

Suggestions use data such as tags, dependencies, dependents, descriptions, titles, and more to rank how much they overlap with this mod.

On ModDex

Community snapshot

0
Ratings
0
Followers
0
In stacks

By the numbers

Statistics

<1,000
Downloads
Last Updated
Created
Last synced
When ModDex last fetched this project from CurseForge or Modrinth. Every project is re-checked on a schedule, and any project that ships a new file is synced automatically within hours of the release.
New file updates sync automatically
How syncing works