Class NetherFlag

    • Field Detail

      • NETHER_FLAG_DEFAULT

        public static final NetherFlag NETHER_FLAG_DEFAULT
    • Method Detail

      • parse

        public NetherFlag parse​(@NotNull
                                @NotNull String input)
                         throws FlagParseException
        Description copied from class: WorldFlag
        Parse a string into a flag, and throw an exception in the case that the string does not represent a valid flag value. This instance won't change its state, but instead an instance holding the parsed flag value will be returned.
        Specified by:
        parse in class WorldFlag<String,​NetherFlag>
        Parameters:
        input - String to parse.
        Returns:
        Parsed value, if valid.
        Throws:
        FlagParseException - If the value could not be parsed.
      • merge

        public NetherFlag merge​(@NotNull
                                @NotNull String newValue)
        Description copied from class: WorldFlag
        Merge this flag's value with another value and return an instance holding the merged value.
        Specified by:
        merge in class WorldFlag<String,​NetherFlag>
        Parameters:
        newValue - New flag value.
        Returns:
        Flag containing parsed flag value.