Simple Minecraft spawn table addon with crafttweaker interface
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.
The reason I made this mod is to be able to add Techguns npc as regular spawns so they are compatible with other spawn manipulating mods, but the problem is generic enough to be released as standalone mod and can be used with all vanilla or modded npcs.
Important note: adding an npc to the spawn table still uses the behaviors of the npcs. If an npc has special constraints it might not work.
The only requirements for this mod are crafttweaker and forge.
5 methods are callable from crafttweaker scripts: which are defined in this code:
The Wiki (https://github.com/pWn3d1337/SpawnTableTweaker/wiki) shows examples for these methods.
More info on Github: https://github.com/pWn3d1337/SpawnTableTweaker
This doesn't seem to affect chunk spawns, I needed BiomeTweaker for that
backport to 1.7.10 plz?
No matter what I do I get a zenscript error. could not find spawntabletweaker
tried several versions of craftTweaker and Forge
In reply to paperclone22:
Did you write the import line in you script?
Thanks! that fixed it
Does this support daytime and nighttime spawns. How would they look like if so.
In reply to Rashard_Givens101:
It only handles registering the spawns to the vanilla spawn table. Stuff like Night/daytime is decided by the mob.
In reply to Forge_User_67866412:
OK.
Thanks for making this, I'm having a similar issue with TechGuns and vanilla mob tables, I'd like to spread the mobs further :D
Side question not related to this mod, but to mob spawning, is there a way to dump current spawn tables to a file? I'm also using MobStages, but when a mob is unlocked, it seems that unlocked mobs have a high weight, so end up spawning everywhere.
In reply to golrith:
If you want to use techguns with mobstages, disable mob spawning in techguns config:
set "Techguns Spawnweight Overworld" to 0 and "Techguns Spawnweight NEther" to 0., this will stop all regular world spawns from techguns. (Spawners in structures still work)
then add all techguns mobs you want with this crafttweaker addon to spawntables. Then they should work together with scripts like game stages.
In reply to Forge_User_67866412:
Interesting, that's opened up a whole new world of pain :D
In reply to golrith:
you can even add the techguns npcs that don't spawn otherwise, like mutants.
In reply to Forge_User_67866412:
This mod is working perfectly, and so straightforward to use. Many thanks!