ModsJava
No Building Near Hostiles
Java mod listed for Minecraft 1.20. Downloads from the MC Java Mods app on Android.
⬇ Download on CurseForgeThe author built this one for Minecraft 1.20.1 on Forge. On other versions it may install and then do nothing.
You won't be able to build if you are near a hostile mob that is aggroed to you and has line of sight to you.
This was made for a horror modpack to force you to play more strategically and pay attention to your surroundings.
The mod has a config where you can add custom entities; by default, it includes all hostile mobs.
Quick facts
- Edition: Minecraft Java
- File type: .jar
- Minecraft version listed: 1.20.1
- How to install: Install the matching mod loader (Forge, Fabric or NeoForge) for your Minecraft version. → Download the .jar. → Put it in the .minecraft/mods folder and launch that loader profile.
- Where to get it: Opens on CurseForge — not every file is mirrored on our own servers.
Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.
File checked by MCModsHub
- Ships as no_building_near_hostiles-1.0.1.jar — drop this file into the mods folder
- Download size: 69 KB
- Download link checked 2 Oct 2026 — working
These come from our own check of the pack file, not from the source page.