Package net.minecraft.entity
Enum Class SpawnGroup
- All Implemented Interfaces:
Serializable,Comparable<SpawnGroup>,Constable
- Mappings:
Namespace Name intermediary net/minecraft/class_238glue class_277server hhclient lknamed net/minecraft/entity/SpawnGroup
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateSpawnGroup(Class creatureClass, int spawnCap, Material spawnMaterial, boolean peaceful) -
Method Summary
Modifier and TypeMethodDescriptionintbooleanstatic SpawnGroupReturns the enum constant of this class with the specified name.static SpawnGroup[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
MONSTER
- Mappings:
Namespace Name Mixin selector intermediary field_942Lnet/minecraft/class_238;field_942:Lnet/minecraft/class_238;glue field_1143Lclass_277;field_1143:Lclass_277;server aLhh;a:Lhh;client aLlk;a:Llk;named MONSTERLnet/minecraft/entity/SpawnGroup;MONSTER:Lnet/minecraft/entity/SpawnGroup;
-
CREATURE
- Mappings:
Namespace Name Mixin selector intermediary field_943Lnet/minecraft/class_238;field_943:Lnet/minecraft/class_238;glue field_1144Lclass_277;field_1144:Lclass_277;server bLhh;b:Lhh;client bLlk;b:Llk;named CREATURELnet/minecraft/entity/SpawnGroup;CREATURE:Lnet/minecraft/entity/SpawnGroup;
-
WATER_CREATURE
- Mappings:
Namespace Name Mixin selector intermediary field_944Lnet/minecraft/class_238;field_944:Lnet/minecraft/class_238;glue field_1145Lclass_277;field_1145:Lclass_277;server cLhh;c:Lhh;client cLlk;c:Llk;named WATER_CREATURELnet/minecraft/entity/SpawnGroup;WATER_CREATURE:Lnet/minecraft/entity/SpawnGroup;
-
-
Field Details
-
creatureClass
- Mappings:
Namespace Name Mixin selector intermediary field_945Lnet/minecraft/class_238;field_945:Ljava/lang/Class;glue field_1146Lclass_277;field_1146:Ljava/lang/Class;server dLhh;d:Ljava/lang/Class;client dLlk;d:Ljava/lang/Class;named creatureClassLnet/minecraft/entity/SpawnGroup;creatureClass:Ljava/lang/Class;
-
capacity
private final int capacity- Mappings:
Namespace Name Mixin selector intermediary field_946Lnet/minecraft/class_238;field_946:Iglue field_1147Lclass_277;field_1147:Iserver eLhh;e:Iclient eLlk;e:Inamed capacityLnet/minecraft/entity/SpawnGroup;capacity:I
-
spawnMaterial
- Mappings:
Namespace Name Mixin selector intermediary field_947Lnet/minecraft/class_238;field_947:Lnet/minecraft/class_15;glue field_1148Lclass_277;field_1148:Lclass_280;server fLhh;f:Lhj;client fLlk;f:Lln;named spawnMaterialLnet/minecraft/entity/SpawnGroup;spawnMaterial:Lnet/minecraft/block/material/Material;
-
peaceful
private final boolean peaceful- Mappings:
Namespace Name Mixin selector intermediary field_948Lnet/minecraft/class_238;field_948:Zglue field_1149Lclass_277;field_1149:Zserver gLhh;g:Zclient gLlk;g:Znamed peacefulLnet/minecraft/entity/SpawnGroup;peaceful:Z
-
-
Constructor Details
-
SpawnGroup
- Mappings:
Namespace Name Mixin selector intermediary <init>Lnet/minecraft/class_238;<init>(Ljava/lang/String;ILjava/lang/Class;ILnet/minecraft/class_15;Z)Vglue <init>Lclass_277;<init>(Ljava/lang/String;ILjava/lang/Class;ILclass_280;Z)Vserver <init>Lhh;<init>(Ljava/lang/String;ILjava/lang/Class;ILhj;Z)Vclient <init>Llk;<init>(Ljava/lang/String;ILjava/lang/Class;ILln;Z)Vnamed <init>Lnet/minecraft/entity/SpawnGroup;<init>(Ljava/lang/String;ILjava/lang/Class;ILnet/minecraft/block/material/Material;Z)V
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-
getCreatureClass
- Mappings:
Namespace Name Mixin selector intermediary method_853Lnet/minecraft/class_238;method_853()Ljava/lang/Class;glue method_1273Lclass_277;method_1273()Ljava/lang/Class;server aLhh;a()Ljava/lang/Class;client aLlk;a()Ljava/lang/Class;named getCreatureClassLnet/minecraft/entity/SpawnGroup;getCreatureClass()Ljava/lang/Class;
-
getCapacity
public int getCapacity()- Mappings:
Namespace Name Mixin selector intermediary method_854Lnet/minecraft/class_238;method_854()Iglue method_1274Lclass_277;method_1274()Iserver bLhh;b()Iclient bLlk;b()Inamed getCapacityLnet/minecraft/entity/SpawnGroup;getCapacity()I
-
getSpawnMaterial
- Mappings:
Namespace Name Mixin selector intermediary method_855Lnet/minecraft/class_238;method_855()Lnet/minecraft/class_15;glue method_1275Lclass_277;method_1275()Lclass_280;server cLhh;c()Lhj;client cLlk;c()Lln;named getSpawnMaterialLnet/minecraft/entity/SpawnGroup;getSpawnMaterial()Lnet/minecraft/block/material/Material;
-
isPeaceful
public boolean isPeaceful()- Mappings:
Namespace Name Mixin selector intermediary method_856Lnet/minecraft/class_238;method_856()Zglue method_1276Lclass_277;method_1276()Zserver dLhh;d()Zclient dLlk;d()Znamed isPeacefulLnet/minecraft/entity/SpawnGroup;isPeaceful()Z
-