Enum Class Raid.WaveMember

java.lang.Object
java.lang.Enum<Raid.WaveMember>
net.minecraft.world.raid.Raid.WaveMember
All Implemented Interfaces:
Serializable, Comparable<Raid.WaveMember>, Constable, IExtensibleEnum
Enclosing class:
Raid

public static enum Raid.WaveMember extends Enum<Raid.WaveMember> implements IExtensibleEnum
  • Enum Constant Details

  • Field Details

  • Constructor Details

  • Method Details

    • values

      public static Raid.WaveMember[] 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 Raid.WaveMember 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
    • create

      public static Raid.WaveMember create(String name, EntityType<? extends AbstractRaiderEntity> typeIn, int[] waveCountsIn)
      The waveCountsIn integer decides how many entities of the EntityType defined in typeIn will spawn in each wave. For example, one ravager will always spawn in wave 3.
    • init

      @Deprecated public void init()
      Deprecated.
      Description copied from interface: IExtensibleEnum
      Called by generated factory code to do any post-constructor setup required by the enum. Should not be called manually.
      Specified by:
      init in interface IExtensibleEnum