Compatibility
Minecraft: Java Edition
26.1–26.1.1
1.21.4–1.21.11
Platforms
Supported environments
Server-side
Client and server
Tags
Creators
Details
Licensed MIT
Published 3 days ago
NoSpawn
NoSpawn is a Fabric mod that disables spawning for selected mob types using in-game commands. It is useful for server management, modpack balancing, custom maps, and any setup that needs precise control over mob spawning.
Features
- Disable any single mob type or multiple mob types, not only the example mobs.
- Supports vanilla mobs and registered modded mob types.
- Supports both
/nsand/nospawn. - Works in singleplayer, LAN worlds, and dedicated servers.
- Saves disabled mob types to
config/nospawn.json, so changes persist after restarts. - Automatically switches between Chinese and English messages based on the player's game language.
- Supports LuckPerms permission groups with OP fallback.
Commands
<type> is a mob ID, such as minecraft:creeper, minecraft:vex, or minecraft:phantom. These are examples only; you can use any valid mob ID. After typing /ns add or /nospawn add , Minecraft will show available mob suggestions.
/ns
/nospawn
/ns add <type>
/ns remove <type>
/nospawn add <type>
/nospawn remove <type>
Examples:
/ns add minecraft:creeper
/ns add minecraft:vex
/nospawn add minecraft:phantom
/ns remove minecraft:vex
Permissions
Either OP permission or a matching LuckPerms node is enough. nospawn.admin allows every NoSpawn command.
nospawn.admin
nospawn.use
nospawn.add
nospawn.remove
LuckPerms examples:
/lp group admin permission set nospawn.admin true
/lp group helper permission set nospawn.use true
/lp group helper permission set nospawn.add true
/lp group helper permission set nospawn.remove true
Compatibility
Minecraft: 1.21.4 - 26.1.1 official releases
Mod Loader: Fabric
Fabric Loader: 0.19.2+
Fabric API: required
Download the jar that matches your Minecraft version.
Author And Credits
- Developer: bentianjia
- Contributor: ZURAN_
Special thanks to ZURAN_ for the design inspiration and valuable testing opportunities.
Links
- Source code: https://github.com/bentianjia/NoSpawn


