public class DungeonHooks
extends java.lang.Object
| 修飾子とタイプ | クラスと説明 | 
|---|---|
| static class  | DungeonHooks.DungeonMob | 
| コンストラクタと説明 | 
|---|
| DungeonHooks() | 
| 修飾子とタイプ | メソッドと説明 | 
|---|---|
| static float | addDungeonMob(EntityType<?> type,
             int rarity)Adds a mob to the possible list of creatures the spawner will create. | 
| static EntityType<?> | getRandomDungeonMob(java.util.Random rand)Gets a random mob name from the list. | 
| static int | removeDungeonMob(EntityType<?> name)Will completely remove a Mob from the dungeon spawn list. | 
public static float addDungeonMob(EntityType<?> type, int rarity)
type - Monster typerarity - 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(EntityType<?> name)
name - The name of the mob to removepublic static EntityType<?> getRandomDungeonMob(java.util.Random rand)
rand - World generation random number generator