promotional bannermobile promotional banner

Mob Stages

This mod hooks in to the GameStage API, and allows mob spawning to be gated behind custom progression.

Mob Stages

 

 

Description

This mod is an addon for the GameStage API. This allows for mob spawning to be put into a custom progression system. You should check out the GameStage API mod's description for more info. To give a brief run down, stages are parts of the progression system set up by the modpack or server. Stages are given to players through a command, which is typically ran by a questing mod, advancement, or even a Command Block.

 


This project is sponsored by Nodecraft. Use code Darkhax for 30% off your first month of service!

 

Setup

This mod uses CraftTweaker for configuration.

Global Setup

  • mods.MobStages.addStage(String stage, String entityId); - Adds a mob to a stage. When it attempts to spawn in the world, it will check for nearby players that have this stage unlocked. If no valid players are found, the mob will not be able to spawn.
  • mods.MobStages.addReplacement(String entityId, String replacementId); - Adds a replacement for the mob. If it fails to spawn, the replacement will be spawned instead. This requires that you add the mob to a stage first. This is optional.
  • mods.MobStages.addRange(String entityId, int range); - Sets the range to search for players. The fault range is 256, and is automatically set for you. This is optional.
  • mods.MobStages.toggleSpawners(String entityId, boolean allow); - Allows for mob spawners to ignore the stage rules and spawn the mob anyway.

Dimensional Setup

This mod adds dimension specific versions of all the methods in the previous section. The dimension versions accept the numeric dimension id as an additional last parameter. For example, mods.MobStages.addStage(String stage, String entityId); becomes mods.MobStages.addStage(String stage, String entityId, int dimension);. If a mob has a dimensional entry, it will override the global entry.

Example Script

// Creepers require stage one to spawn
mods.MobStages.addStage("one", "minecraft:creeper");

// Skeletons require stage two, or any spawner.
mods.MobStages.addStage("two", "minecraft:skeleton");
mods.MobStages.toggleSpawner("minecraft:skeleton", true);

// Spiders require stage three in the nether.
mods.MobStages.addStage("three", "minecraft:spider", -1);

// Zombies 
mods.MobStages.addStage("four", "minecraft:zombie", -1);
mods.MobStages.toggleSpawner("minecraft:zombie", true, -1);

// Zombies are replaced by bats in other dimensions.
mods.MobStages.addStage("four", "minecraft:zombie");
mods.MobStages.addReplacement("minecraft:zombie", "minecraft:bat");

The Mob Stages Team

AnvilGod tier frameprofile avatar
  • 1.0K
    Followers
  • 162
    Projects
  • 2.2B
    Downloads

Full time game modder. Author of too many mods. Modding everything.

More from DarkhaxDevView all

  • Amnesia project image

    Amnesia

    In Amnesia the whole world have Amnesia. Random recipes, mob drops, block drops, button placements. Broken textures and broken terrain, and much more is also a big part of this pack. This pack also lets you cure the Amnesia.

    • 277.5K
    • July 12, 2026
  • Herd Mentality project image

    Herd Mentality

    Attacking a mob will aggrevate nearby mobs of the same type.

    • 717.1K
    • July 12, 2026
  • Archaeology Banners project image

    Archaeology Banners

    Banner patterns based on Archaeology sherds and designs.

    • 465.9K
    • July 12, 2026
  • Distracting Trims project image

    Distracting Trims

    Armor with a golden trim will distract piglins from attacking you, just like vanilla golden armor.

    • 766.9K
    • July 12, 2026
  • Amnesia project image

    Amnesia

    In Amnesia the whole world have Amnesia. Random recipes, mob drops, block drops, button placements. Broken textures and broken terrain, and much more is also a big part of this pack. This pack also lets you cure the Amnesia.

    • 277.5K
    • July 12, 2026
  • Herd Mentality project image

    Herd Mentality

    Attacking a mob will aggrevate nearby mobs of the same type.

    • 717.1K
    • July 12, 2026
  • Archaeology Banners project image

    Archaeology Banners

    Banner patterns based on Archaeology sherds and designs.

    • 465.9K
    • July 12, 2026
  • Distracting Trims project image

    Distracting Trims

    Armor with a golden trim will distract piglins from attacking you, just like vanilla golden armor.

    • 766.9K
    • July 12, 2026