Enum Class SpawnGroup

java.lang.Object
java.lang.Enum<SpawnGroup>
net.minecraft.entity.SpawnGroup
All Implemented Interfaces:
Serializable, Comparable<SpawnGroup>, Constable

public enum SpawnGroup extends Enum<SpawnGroup>
Mappings:
Namespace Name
intermediary net/minecraft/class_238
glue class_277
server hh
client lk
named net/minecraft/entity/SpawnGroup
  • Enum Constant Details

    • MONSTER

      public static final SpawnGroup MONSTER
      Mappings:
      Namespace Name Mixin selector
      intermediary field_942 Lnet/minecraft/class_238;field_942:Lnet/minecraft/class_238;
      glue field_1143 Lclass_277;field_1143:Lclass_277;
      server a Lhh;a:Lhh;
      client a Llk;a:Llk;
      named MONSTER Lnet/minecraft/entity/SpawnGroup;MONSTER:Lnet/minecraft/entity/SpawnGroup;
    • CREATURE

      public static final SpawnGroup CREATURE
      Mappings:
      Namespace Name Mixin selector
      intermediary field_943 Lnet/minecraft/class_238;field_943:Lnet/minecraft/class_238;
      glue field_1144 Lclass_277;field_1144:Lclass_277;
      server b Lhh;b:Lhh;
      client b Llk;b:Llk;
      named CREATURE Lnet/minecraft/entity/SpawnGroup;CREATURE:Lnet/minecraft/entity/SpawnGroup;
    • WATER_CREATURE

      public static final SpawnGroup WATER_CREATURE
      Mappings:
      Namespace Name Mixin selector
      intermediary field_944 Lnet/minecraft/class_238;field_944:Lnet/minecraft/class_238;
      glue field_1145 Lclass_277;field_1145:Lclass_277;
      server c Lhh;c:Lhh;
      client c Llk;c:Llk;
      named WATER_CREATURE Lnet/minecraft/entity/SpawnGroup;WATER_CREATURE:Lnet/minecraft/entity/SpawnGroup;
  • Field Details

    • creatureClass

      private final Class creatureClass
      Mappings:
      Namespace Name Mixin selector
      intermediary field_945 Lnet/minecraft/class_238;field_945:Ljava/lang/Class;
      glue field_1146 Lclass_277;field_1146:Ljava/lang/Class;
      server d Lhh;d:Ljava/lang/Class;
      client d Llk;d:Ljava/lang/Class;
      named creatureClass Lnet/minecraft/entity/SpawnGroup;creatureClass:Ljava/lang/Class;
    • capacity

      private final int capacity
      Mappings:
      Namespace Name Mixin selector
      intermediary field_946 Lnet/minecraft/class_238;field_946:I
      glue field_1147 Lclass_277;field_1147:I
      server e Lhh;e:I
      client e Llk;e:I
      named capacity Lnet/minecraft/entity/SpawnGroup;capacity:I
    • spawnMaterial

      private final Material spawnMaterial
      Mappings:
      Namespace Name Mixin selector
      intermediary field_947 Lnet/minecraft/class_238;field_947:Lnet/minecraft/class_15;
      glue field_1148 Lclass_277;field_1148:Lclass_280;
      server f Lhh;f:Lhj;
      client f Llk;f:Lln;
      named spawnMaterial Lnet/minecraft/entity/SpawnGroup;spawnMaterial:Lnet/minecraft/block/material/Material;
    • peaceful

      private final boolean peaceful
      Mappings:
      Namespace Name Mixin selector
      intermediary field_948 Lnet/minecraft/class_238;field_948:Z
      glue field_1149 Lclass_277;field_1149:Z
      server g Lhh;g:Z
      client g Llk;g:Z
      named peaceful Lnet/minecraft/entity/SpawnGroup;peaceful:Z
  • Constructor Details

    • SpawnGroup

      private SpawnGroup(Class creatureClass, int spawnCap, Material spawnMaterial, boolean peaceful)
      Mappings:
      Namespace Name Mixin selector
      intermediary <init> Lnet/minecraft/class_238;<init>(Ljava/lang/String;ILjava/lang/Class;ILnet/minecraft/class_15;Z)V
      glue <init> Lclass_277;<init>(Ljava/lang/String;ILjava/lang/Class;ILclass_280;Z)V
      server <init> Lhh;<init>(Ljava/lang/String;ILjava/lang/Class;ILhj;Z)V
      client <init> Llk;<init>(Ljava/lang/String;ILjava/lang/Class;ILln;Z)V
      named <init> Lnet/minecraft/entity/SpawnGroup;<init>(Ljava/lang/String;ILjava/lang/Class;ILnet/minecraft/block/material/Material;Z)V
  • Method Details

    • values

      public static SpawnGroup[] 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

      public static SpawnGroup valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • getCreatureClass

      public Class getCreatureClass()
      Mappings:
      Namespace Name Mixin selector
      intermediary method_853 Lnet/minecraft/class_238;method_853()Ljava/lang/Class;
      glue method_1273 Lclass_277;method_1273()Ljava/lang/Class;
      server a Lhh;a()Ljava/lang/Class;
      client a Llk;a()Ljava/lang/Class;
      named getCreatureClass Lnet/minecraft/entity/SpawnGroup;getCreatureClass()Ljava/lang/Class;
    • getCapacity

      public int getCapacity()
      Mappings:
      Namespace Name Mixin selector
      intermediary method_854 Lnet/minecraft/class_238;method_854()I
      glue method_1274 Lclass_277;method_1274()I
      server b Lhh;b()I
      client b Llk;b()I
      named getCapacity Lnet/minecraft/entity/SpawnGroup;getCapacity()I
    • getSpawnMaterial

      public Material getSpawnMaterial()
      Mappings:
      Namespace Name Mixin selector
      intermediary method_855 Lnet/minecraft/class_238;method_855()Lnet/minecraft/class_15;
      glue method_1275 Lclass_277;method_1275()Lclass_280;
      server c Lhh;c()Lhj;
      client c Llk;c()Lln;
      named getSpawnMaterial Lnet/minecraft/entity/SpawnGroup;getSpawnMaterial()Lnet/minecraft/block/material/Material;
    • isPeaceful

      public boolean isPeaceful()
      Mappings:
      Namespace Name Mixin selector
      intermediary method_856 Lnet/minecraft/class_238;method_856()Z
      glue method_1276 Lclass_277;method_1276()Z
      server d Lhh;d()Z
      client d Llk;d()Z
      named isPeaceful Lnet/minecraft/entity/SpawnGroup;isPeaceful()Z