Spawn Table Tweaker Mod (1.12.2) – Using The CraftTweaker Interface
Spawn Table Tweaker Mod (1.12.2) is a simple addon that allows players to manipulate the game’s spawn tables using the CraftTweaker interface. The mod enables players to add or remove entities from the spawn table, making it easier to customize which mobs spawn in the game. It supports adding custom entities, adjusting spawn weights, and specifying spawn ranges and biomes. This mod is particularly useful for modpack creators and players who want to fine-tune their game’s spawn mechanics.
Features:
- The goal of this mod is to allow calling EnityRegistry.addSpawn(entClass, weight, min, max, type, biomes); directly from crafttweaker. Also removing spawns from vanilla spawn table is supported.
- Adding an npc to the spawn table still uses the behaviors of the npcs. If an npc has special constraints it might not work.
Configs:
5 methods are callable from crafttweaker scripts: which are defined in this code:
@ZenMethod public static void addSpawn(String registryName, int weight, int min, int max, String creatureType, String[] names) { CraftTweakerAPI.apply(new addSpawnAction(registryName, weight, min, max, creatureType, names, MODE.NAMES)); } @ZenMethod public static void addSpawnTagsWhitelist(String registryName, int weight, int min, int max, String creatureType, String[] names) { CraftTweakerAPI.apply(new addSpawnAction(registryName, weight, min, max, creatureType, names, MODE.TAG_WHITELIST)); } @ZenMethod public static void addSpawnTagsBlacklist(String registryName, int weight, int min, int max, String creatureType, String[] names) { CraftTweakerAPI.apply(new addSpawnAction(registryName, weight, min, max, creatureType, names, MODE.TAG_BLACKLIST)); } @ZenMethod public static void removeSpawn(String registryName, String creatureType, String[] names) { CraftTweakerAPI.apply(new removeSpawnAction(registryName, creatureType, names)); } @ZenMethod public static void removeSpawn(String registryName, String creatureType) { CraftTweakerAPI.apply(new removeSpawnAction(registryName, creatureType)); }
Requires:
How to install:
How To Download & Install Mods with Minecraft Forge
How To Download & Install Fabric Mods
Don’t miss out today’s latest Minecraft Mods
Spawn Table Tweaker Mod (1.12.2) Download Links
For Minecraft 1.12.2
Forge version: Download from Server 1 – Download from Server 2