All Mods Resource Packs Data Packs Shaders Modpacks Plugins
Mob Stages

Mob Stages

by Darkhax • Downloads: 0 • Followers: 0
Description
Gallery
Changelog
Versions

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");

All Versions

+ Add Version
Name Game version Platforms Published Downloads Actions
1.12.2
Forge
last yr. 1
1.12.2
Forge
last yr. 1
1.12.2
Forge
last yr. 1
1.12.2
Forge
last yr. 1
1.12.2
Forge
last yr. 1
1.12.2
Forge
last yr. 1
1.12.2
Forge
last yr. 1
1.12.2
Forge
last yr. 1
1.12.2
Forge
last yr. 1
1.12.2
Forge
last yr. 1
1.12.2
Forge
last yr. 1
1.12.x
Forge
last yr. 1
<ul>
<li>Moved to new gradle build secrets system, and added thanks to patreons in changelog. - Tyler Hancock</li>
</ul>
<p>Huge thanks to my supporters on <a href="https://www.patreon.com/Darkhax?MCChangelog?MobStages" rel="nofollow">Patreon</a></p>
<ul>
<li>Niels Pilgaard Gr�ndahl</li>
<li>yaibatoken</li>
<li>Darkosto</li>
</ul>

<ul>
<li>Fixed weird forge gradle issue. - Tyler Hancock</li>
</ul>

<ul>
<li>Merge pull request #6 from jriwanek/master - Tyler Hancock</li>
<li>Update Forge to 2705 - Jasmine Iwanek</li>
<li>Update Gradle to 4.9 - Jasmine Iwanek</li>
</ul>

<ul>
<li>Merge pull request #5 from Poke1650/patch-1 - Tyler Hancock</li>
<li>Update to new nodecraft logo - Antoine</li>
</ul>

<ul>
<li>Fixed error checking running too soon + code formatting. - Tyler Hancock</li>
<li>Updated gradle dep versions. - Tyler Hancock</li>
</ul>

<ul>
<li>Updated to GameStages 2.0 - Tyler Hancock</li>
</ul>

<ul>
<li>Fixed a NPE when trying to toggle a spawner for an unstaged mob. #2 - Tyler Hancock</li>
</ul>

<ul>
<li>Merge pull request #1 from jaredlll08/master - Tyler Hancock</li>
<li>updated gradle to latest version - Jared</li>
</ul>

<ul>
<li>Added error reporting for bad entity ids. - Tyler Hancock</li>
</ul>

<ul>
<li>Fixed mod packages. - Tyler Hancock</li>
</ul>

<ul>
<li>Updated to 1.12.2 - Tyler Hancock</li>
</ul>

<ul>
<li>Added a url in the mod info file. - Tyler Hancock</li>
<li>Fixed curse id. - Tyler Hancock</li>
</ul>

Mob Stages Icon
Download Mob Stages
Select game version
Select platform