COWMODSКаталог модов

Eviction Notice

Keep villagers out of your house or base. Set a zone and villager AI pathfinding routes around it, so they stop using your doors and can't claim a bed or workstation inside. Wandering traders can be kept out too. No barrier blocks to place.

Автор: lislyn.kyja6588обновлён 2 нояб. 2026 г.
Механики игрыМобыУтилиты

Описание

Eviction Notice

Keep villagers out of your house without iron doors. This mod lets you define a zone around your house that keeps villagers away and forces them to leave your beds and workstations alone.

Trading, breeding and everything else keeps working normally, just not on your doorstep.

Without and with Eviction Notice: a villager moves into the house, then walks around it instead
The gold particles mark the zone edge for this clip; an in-game outline is planned.

Quick start

  1. Install Fabric API and Eviction Notice. In singleplayer, add both to your game. On a server, only the server needs them.
  2. Stand in the middle of your house.
  3. Run /eviction set home 24

That's it. You now have a 49×49 zone around you that goes from the bottom of the world to the top.

Good to know

  • Existing claims inside a new zone are released. A villager you haven't traded with yet loses its profession, the same as when you break its workstation. Villagers you've already traded with keep their job.
  • Zones are squares centred on where you stand, with an optional height range.
  • By default, zombie villagers are kept out and iron golems can still walk in. Wandering traders and their llamas can be kept out too. All of this can be changed in the config.

This mod was born out of annoyance in my Hardcore Forever World. Somehow the entire village decided to pathfind into the first floor and even the attic of my home and couldn't be convinced to leave.

What it does

Each zone works in three ways:

  • Villagers walk around it. Their pathfinding treats the zone as blocked, so they go around your house instead of crowding at your door.
  • They can't claim anything inside. Beds and workstations in a zone don't show up when villagers look for one. Claims from before the zone existed are released, so those villagers don't keep coming back.
  • They get moved out. If a villager still ends up inside, for example because it spawned there or got pushed in, it's moved to the nearest safe spot outside your zones. It won't be put on lava, on your roof or into unloaded chunks.

You can make as many zones as you like, each with its own name, size and height range. Zones are saved with your world and belong to the player who made them.

Commands

CommandWhat it does
/eviction set <name> <radius> [yMin] [yMax]Creates a zone centred on you
/eviction listLists your zones
/eviction hereShows if you're standing in one of your zones
/eviction remove <name>Deletes a zone
  • The radius goes up to 256. Leave out yMin and yMax to cover the full height.
  • Zone names are one word (home, base_2) and aren't case-sensitive. You can't use the same name twice, so you need to remove the old zone first.
  • /eviction set home 24 makes a zone 49 blocks wide, not 48, because the block you're standing on counts too, keep that in mind when creating a zone.

Multiplayer and permissions

  • Every player can use /eviction without operator rights or extra permissions.
  • Each player manages their own zones. There's no limit on how many zones a player can have. Zones can have a radius of up to 256 blocks.
  • Zones keep out all villagers, not just the owner's, and nothing stops a zone being placed over someone else's build. Operators are told when a zone is created or removed.
  • There are no admin commands yet. To remove another player's zone, stop the server and edit eviction_notice/zones.json in the world folder.

Right now Eviction Notice is best suited to singleplayer, LAN and servers with players you trust. Server controls are planned.

Configuration

The config is at config/eviction_notice.json. Restart the game or server after changing it.

OptionDefaultWhat it does
evictionIntervalTicks20How often each zone is checked, in ticks (20 ticks = 1 second)
mobs.zombieVillagerstrueKeeps zombie villagers out as well
mobs.ironGolemsfalseKeeps iron golems out as well
mobs.wanderingTraders.enabledfalseKeeps wandering traders out as well
mobs.wanderingTraders.llamastrueKeeps their trader llamas out too. Only works while enabled is on

Config files from 1.2.0 or older are converted to this layout when the game or server starts, and your settings are kept. If the file can't be read, for example because of a typo, the mod uses the defaults and leaves the file alone so you can fix it.

Compatibility

  • Server-side only. It works the same in singleplayer, LAN and on dedicated servers. Players joining a server don't need to install anything.
  • Safe to add to an existing world. Zones only affect villagers where you make them.
  • Safe to remove. Villagers come and go as before. Your zones stay in eviction_notice/zones.json in the world folder, so they're back if you install the mod again.
  • Works with other mods. It only changes villager pathfinding and how villagers find beds and workstations, and it never removes or replaces entities. Only mods that change those same things are likely to conflict. I run it alongside 65+ other mods without issues.
  • Modpacks: Feel free to include it in modpacks. And let me know, so I can check it out!

How it works

The mod changes villager pathfinding so the blocks inside a zone count as unreachable. It filters the search villagers use to find beds and workstations, so the ones inside a zone are never found. A regular check moves any villager that is still inside to the nearest safe spot outside. Zones are looked up by chunk, so checking whether a spot is in a zone stays cheap even with many zones.

Bugs and ideas

Found a bug, had a crash or have an idea? Use the issue tracker. For bugs, please include your versions, your mod list and logs/latest.log.

Галерея

Eviction NoticeNot one step furtherThe long way roundMind the property line

Последние версии

Все версии →
release

Eviction Notice v1.3.0 (26.1-26.3)

1.3.0+26.1-26.3
2 нояб. 2026 г.30Minecraft: 26.1, 26.1.1, 26.1.2, 26.2, 26.3fabric
Скачать
Что нового
- Wandering traders can be kept out of zones with `mobs.wanderingTraders.enabled` (default `false`). - Their trader llamas are kept out with them by default (`mobs.wanderingTraders.llamas`). Trader llamas are never kept out on their own. - The config now groups its options and has a `configVersion`. Files from 1.2.0 are converted when the game or server starts and keep their settings. `affectZombieVillagers` is now `mobs.zombieVillagers`, and `exemptIronGolems` is now `mobs.ironGolems` with the opposite meaning: `true` keeps iron golems out. - A config file that can't be read is no longer replaced with the defaults. The mod uses the defaults until the file is fixed. - Fixed mobs being moved back and forth between two overlapping zones on every check. They're now moved to the nearest spot outside all zones. - Fixed mobs being moved to the bottom of the world when the spot outside the zone was in an unloaded chunk. - Fixed mobs being moved onto lava, onto roofs or onto the Nether ceiling. Mobs are now only moved to safe spots, and a mob under a roof or underground stays near its own height. If there's no safe spot in loaded chunks yet, the mob stays until a later check finds one.
release

Eviction Notice v1.2.0

1.2.0+26.1-26.3
12 окт. 2026 г.491Minecraft: 26.1, 26.1.1, 26.1.2, 26.2, 26.3fabric
Скачать
Что нового
- Added support for Minecraft 26.1 (26.1, 26.1.1, and 26.1.2). A single build now covers 26.1 through 26.3. - The mod is now built against 26.1, the oldest supported version, with Fabric API `0.145.1+26.1`. - Lowered the minimum Fabric Loader to 0.18.4, the same as Fabric API requires on 26.1. - The version and jar name now carry the supported range (`1.2.0+26.1-26.3`) instead of a single Minecraft version. ### Fixes - Fixed villagers keeping a bed or workstation claim inside a zone forever when they were in unloaded chunks at the time the zone was created. They would then hang around the zone edge trying to reach it. Zoned claims are now also released when a villager loads in and when the server starts. - Fixed `/eviction set` silently replacing an existing zone when you reused its name. It now refuses and asks you to remove the old zone first or pick another name.
release

Eviction Notice v1.1.0

1.1.0+26.3
15 сент. 2026 г.100Minecraft: 26.2, 26.3fabric
Скачать
Что нового
- Added support for Minecraft 26.3. A single build now covers both 26.2 and 26.3. - Updated the toolchain to match 26.3: Fabric API `0.160.5+26.3`, Fabric Loader `0.19.5`, and the Gradle wrapper to `9.7.1`. - Corrected the Modrinth "Environment" listing to "Server-side only, works in singleplayer too" (previously client-and-server). This is publish metadata only; the mod still loads on clients so singleplayer and LAN keep working. - No gameplay or functional changes.
release

Eviction Notice v1.0.1

1.0.1+26.2
18 авг. 2026 г.15Minecraft: 26.2fabric
Скачать
Что нового
- Corrected the author name in the mod metadata. - Refreshed the mod icon. - No gameplay or functional changes.
release

Eviction Notice v1.0.0 - Initial release

1.0.0+26.2
5 авг. 2026 г.17Minecraft: 26.2fabric
Скачать
Что нового
## Eviction Notice 1.0.0 - Initial release First release, for Minecraft 26.2 (Fabric). ### Features - Define per-player **home zones**: `/eviction set <name> <radius> [yMin] [yMax]`, plus `remove`, `list`, and `here`. - Villagers **path around** active zones instead of walking into them. - Beds and workstations inside a zone are **hidden from villager searches**, so they can't be claimed and claims that already existed when a zone is created are released automatically. - A periodic **eviction sweep** gently relocates any villager that still ends up inside a zone to the nearest edge. - Configurable via `config/eviction_notice.json`: eviction interval, whether zombie villagers are affected, and whether iron golems are exempt (default: yes). ### Notes - **Server-side only** runs on dedicated servers and in singleplayer/LAN; vanilla clients can join a server running it. - Requires **Fabric API**.