Enum BiomeAmbience.GrassColorModifier

    • Method Detail

      • values

        public static BiomeAmbience.GrassColorModifier[] 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 (BiomeAmbience.GrassColorModifier c : BiomeAmbience.GrassColorModifier.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static BiomeAmbience.GrassColorModifier 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
      • modifyColor

        public int modifyColor​(double p_241853_1_,
                               double p_241853_3_,
                               int p_241853_5_)
      • init

        public void init()
        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
      • getName

        public java.lang.String getName()