Package org.bukkit.entity
Enum SpawnCategory
- All Implemented Interfaces:
- Serializable,- Comparable<SpawnCategory>,- java.lang.constant.Constable
Represents groups of entities with shared spawn behaviors and mob caps.
- See Also:
- 
Nested Class SummaryNested classes/interfaces inherited from class java.lang.EnumEnum.EnumDesc<E extends Enum<E>>
- 
Enum Constant SummaryEnum ConstantsEnum ConstantDescriptionEntities related to Ambient, eg: Bat.Entities related to Animals, eg: Strider, Cow, Turtle, etc.All the Axolotl are represented by this Category.Entities not related to a mob, eg: Player, ArmorStand, Boat, etc.Entities related to Monsters, eg: Witch, Zombie, Creeper, etc.Entities related to Water Ambient, eg: Cod, PufferFish, Tropical Fish, Salmon, etc.Entities related to Water Animals, eg: Squid or Dolphin.Entities related to Water Underground, eg: Glow Squid.
- 
Method SummaryModifier and TypeMethodDescriptionstatic SpawnCategoryReturns the enum constant of this type with the specified name.static SpawnCategory[]values()Returns an array containing the constants of this enum type, in the order they are declared.
- 
Enum Constant Details- 
MONSTEREntities related to Monsters, eg: Witch, Zombie, Creeper, etc.
- 
ANIMALEntities related to Animals, eg: Strider, Cow, Turtle, etc.
- 
WATER_ANIMALEntities related to Water Animals, eg: Squid or Dolphin.
- 
WATER_AMBIENTEntities related to Water Ambient, eg: Cod, PufferFish, Tropical Fish, Salmon, etc.
- 
WATER_UNDERGROUND_CREATUREEntities related to Water Underground, eg: Glow Squid.
- 
AMBIENTEntities related to Ambient, eg: Bat.
- 
AXOLOTLAll the Axolotl are represented by this Category.
- 
MISCEntities not related to a mob, eg: Player, ArmorStand, Boat, etc.
 
- 
- 
Method Details- 
valuesReturns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
 
- 
valueOfReturns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
- name- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
- IllegalArgumentException- if this enum type has no constant with the specified name
- NullPointerException- if the argument is null
 
 
-