public class DungeonHooks extends Object
| Modifier and Type | Class and Description | 
|---|---|
static class  | 
DungeonHooks.DungeonMob  | 
| Constructor and Description | 
|---|
DungeonHooks()  | 
| Modifier and Type | Method and Description | 
|---|---|
static float | 
addDungeonMob(String name,
                          int rarity)
Adds a mob to the possible list of creatures the spawner will create. 
 | 
static String | 
getRandomDungeonMob(Random rand)
Gets a random mob name from the list. 
 | 
static int | 
removeDungeonMob(String name)
Will completely remove a Mob from the dungeon spawn list. 
 | 
public DungeonHooks()
public static float addDungeonMob(String name, int rarity)
name - The name of the monster, use the same name used when registering the entity.rarity - The rarity of selecting this mob over others. Must be greater then 0.
        Vanilla Minecraft has the following mobs:
        Spider   100
        Skeleton 100
        Zombie   200
        Meaning, Zombies are twice as common as spiders or skeletons.public static int removeDungeonMob(String name)
name - The name of the mob to removepublic static String getRandomDungeonMob(Random rand)
rand - World generation random number generator