Mineuniverse
Log in Register
Mods

Mob gater

Allows blocking specific mob spawning controlled by advancement
by Krosenut
Download Claim this project
16 downloads
0 likes
Updated Jul 6, 2026
0 hypes
Mobs Server Utility Utility & QoL

Mob Gater gives players an ability to block specific mob spawning based on advancements. Players can define what advancements are necessary for a mob to spawn, including from spawners.

This is done in the "mob-gater.json" configuration file. Make an entity type id entry per every mob you want to gate, and write a list of advancement ids needed. An example:

{
	"arphex:hornet_harbinger" : [
		"minecraft:story/smelt_iron",
		"minecraft:story/obtain_armor"
	],
	"arphex:hornet_harbinger_giant" : [
		"minecraft:story/smelt_iron",
		"minecraft:story/obtain_armor"
	],
	"born_in_chaos_v1:lifestealer" : [
		"minecraft:story/shiny_gear"
	],
	"born_in_chaos_v1:nightmare_stalker" : [
		"minecraft:nether/netherite_armor"
	],
	"born_in_chaos_v1:scarlet_persecutor" : [
		"minecraft:story/shiny_gear"
	],
	"arphex:spider_obstructer" : [
		"minecraft:story/smelt_iron",
		"minecraft:story/obtain_armor"
	],
	"arphex:spider_lunger" : [
		"minecraft:nether/netherite_armor"
	],
	"arphex:spider_moth" : [
		"minecraft:nether/netherite_armor",
		"minecraft:nether/brew_potion"
	]
}

 

Mob Gater creates 2 files when a server starts in the "mob-gater" directory: "all-advancements.txt", which contains all advancement ids, and "all-entity-types.txt", which contains all entity ids, so you don't have to search them.

It also adds a command "mob-gater-reload" that reparses the configuration file and reloads the rules, so you can make changes while the game is running. It will tell if there are any errors in the file. This command requires permission level 3.

When a player gets all advancements defined in any rule, a toast will appear on the screen that will tell what mob has been unlocked.

Mob Gater allows creating more balanced progression, preventing players from encountering strong mobs before they have a capability to kill them.

Mob Gater works in singleplayer and multiplayer.

mob_gater-0.0.1.jar
MC 1.21.1, NeoForge
Beta 2026-02-04 Get

More from Krosenut

Stasis cage
993
Thaumic Calculations
92,595
Fine Technology
9,196
Satako library
7,828,078
Trading Table
62,333
Extra Features
601

You Might Also Like

APTweaks: Items (11.x Classic)
Item clustering (fallen blocks, experience orbs, ...) and garbage cleanup.
9,884,514
VanillaDeathChest (Fabric)
Places containers when players die that contain their items.
994,762
Styled Nicknames
Simple, but configurable nicknaming mod allowing your server's players (and admins) to change their nickname with full formatting support
989,499
Tiquality
Make server lag the problem of the source player.
99,489
Blame (Fabric)
Those gosh darn crashlogs not saying which worldgen feature is crashing!
99,012
Weathering with You
Forecast Minecraft weather with a radar or a hat!
98,579