- Hostile: Dirt Monster, Tree Monster, Sand Monster, Stone Monster, Oerkki, Dungeon Master, and Wolf
- Peaceful: Boar, Sheep, Chicken, Cow, Horses (all original varieties), and Rat
However, instead of stopping there, we decided we needed a way to keep hostile mobs out of places that should be peaceful without having to place lights all over God's creation. So, I took ShadowNinja's [areas] mod (viewtopic.php?f=11&t=7239) and added a few functions to allow for basic setting of what mobs can appear in your areas. After creating an area, use the command '/area_mobs <id> <type>' to set what will appear. <id> is the id of the area, not the name, and <type> can be "hostile", "peaceful", "all", or "none". The default when not set is "all". Note that due to this, expansions to this mod require an additional argument to mobs.register_mob() to tell the engine whether the mod is hostile or peaceful.
ex.:
Code: Select all
mobs:register_spawn("mobsplus:dirt_monster", {"default:dirt_with_grass"}, 3, -1, 7000, 3, 31000, "hostile")
Licenses:
areas: LGPLv2+
mobsplus: WTFPL
mobmeat: WTFPL
The original license for kpgmobs was The MIT License (MIT) https://www.dropbox.com/s/mij0dptwvvztl5b/README.txt
GitHub: https://github.com/HeroOfTheWinds/mobs- ... ack-master
Download: https://github.com/HeroOfTheWinds/mobs- ... master.zip
Screenshots coming soon!