Enum Raid.WaveMember

    • Method Detail

      • values

        public static Raid.WaveMember[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (Raid.WaveMember c : Raid.WaveMember.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static Raid.WaveMember valueOf​(java.lang.String name)
        Returns 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:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null
      • create

        public static Raid.WaveMember create​(java.lang.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