Class NetherFlag

    • Field Detail


        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>
        input - String to parse.
        Parsed value, if valid.
        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>
        newValue - New flag value.
        Flag containing parsed flag value.