
Mob Stages
This mod hooks in to the GameStage API, and allows mob spawning to be gated behind custom progression.
Обновлён 7 июня 2023 г. · опубликован 7 июня 2023 г.
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");
Версии
| Версия | Канал | Игра | Загрузчики | Дата | Скачать |
|---|---|---|---|---|---|
| 2.0.13 | Альфа | 1.12.2 | forge | 7 июня 2023 г. | .jar (24 КБ) |
| 2.0.12 | Альфа | 1.12.2 | forge | 7 июня 2023 г. | .jar (24 КБ) |
| 2.0.11 | Альфа | 1.12.2 | forge | 7 июня 2023 г. | .jar (24 КБ) |
| 2.0.10 | Альфа | 1.12.2 | forge | 7 июня 2023 г. | .jar (24 КБ) |
| 2.0.9 | Альфа | 1.12.2 | forge | 7 июня 2023 г. | .jar (24 КБ) |
| 2.0.8 | Релиз | 1.12.2 | forge | 7 июня 2023 г. | .jar (24 КБ) |
| 1.0.7 | Релиз | 1.12.2 | forge | 7 июня 2023 г. | .jar (24 КБ) |
| 1.0.6 | Альфа | 1.12.2 | forge | 7 июня 2023 г. | .jar (23 КБ) |
| 1.0.5 | Релиз | 1.12.2 | forge | 7 июня 2023 г. | .jar (23 КБ) |
| 1.0.4 | Релиз | 1.12.2 | forge | 7 июня 2023 г. | .jar (23 КБ) |
| 1.0.3 | Альфа | 1.12.2 | forge | 7 июня 2023 г. | .jar (23 КБ) |
| 1.0.2 | Релиз | 1.12, 1.12.1 | forge | 7 июня 2023 г. | .jar (23 КБ) |
Ченджлог
2.0.13Альфа1.12.2 · 7 июня 2023 г.
- Moved to new gradle build secrets system, and added thanks to patreons in changelog. - Tyler Hancock
Huge thanks to my supporters on Patreon
- Niels Pilgaard Gr�ndahl
- yaibatoken
- Darkosto
2.0.12Альфа1.12.2 · 7 июня 2023 г.
- Fixed weird forge gradle issue. - Tyler Hancock
2.0.11Альфа1.12.2 · 7 июня 2023 г.
- Merge pull request #6 from jriwanek/master - Tyler Hancock
- Update Forge to 2705 - Jasmine Iwanek
- Update Gradle to 4.9 - Jasmine Iwanek
2.0.10Альфа1.12.2 · 7 июня 2023 г.
- Merge pull request #5 from Poke1650/patch-1 - Tyler Hancock
- Update to new nodecraft logo - Antoine
2.0.9Альфа1.12.2 · 7 июня 2023 г.
- Fixed error checking running too soon + code formatting. - Tyler Hancock
- Updated gradle dep versions. - Tyler Hancock
2.0.8Релиз1.12.2 · 7 июня 2023 г.
- Updated to GameStages 2.0 - Tyler Hancock
1.0.7Релиз1.12.2 · 7 июня 2023 г.
- Fixed a NPE when trying to toggle a spawner for an unstaged mob. #2 - Tyler Hancock
1.0.6Альфа1.12.2 · 7 июня 2023 г.
- Merge pull request #1 from jaredlll08/master - Tyler Hancock
- updated gradle to latest version - Jared
Полная история изменений — на Modrinth.
Комментарии
Загружаем…
