Requires Forge.
This is a mod I made for Beam interactive, so that the random mob command could be implemented and be used by blipbot's command insertion feature.
The hostile argument in the random mob command spawns a random hostile mob.
The passive argument in the random mob command spawns a random passive mob.
commands:
/randommob, /rmb, /randmob (These are simply the multiple aliases for the same command.)
/randench (random enchant on held item)
/randpot (gives you a random potion effect)
/addhunger (gives you hunger points)
usage:
/randommob hostile (Spawns a random hostile mob.)
/randommob passive (Spawns a random passive mob.)
/randench
/randpot
/addhunger #
Possible spawnings (Before 1.2, in 1.2 and up you can configure by entity id in the config):
Passive: Chicken, Cow, Bat, Pig, Sheep, Mooshroom, Squid, Snow Golem, Iron Golem, Wolf, Ozelot, VillagerGolem, EXP Bottle, Horse.
Hostile: Creeper, Giant, Skeleton, Spider, Zombie, Slime, Magma Cube, Ghast, Pigmen, Enderman, Blaze, Silverfish, Witch, CaveSpider.
Config name: fiberone
everything is fully configurable. - Except for the hunger command, it doesn't really need to be configured.
If there are any issues, please report them to me.