Enum Class ItemFilter

java.lang.Object
java.lang.Enum<ItemFilter>
com.viaversion.viafabricplus.api.settings.impl.ItemFilter
All Implemented Interfaces:
EnumSetting.EnumValue, Serializable, Comparable<ItemFilter>, Constable

public enum ItemFilter extends Enum<ItemFilter> implements EnumSetting.EnumValue
  • Enum Constant Details

    • VANILLA_AND_MODDED

      public static final ItemFilter VANILLA_AND_MODDED
    • VANILLA_ONLY

      public static final ItemFilter VANILLA_ONLY
    • OFF

      public static final ItemFilter OFF
  • Method Details

    • values

      public static ItemFilter[] 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 ItemFilter 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
    • component

      public net.minecraft.network.chat.Component component()
      Description copied from interface: EnumSetting.EnumValue
      The component of the enum value. Used for displaying the value in the settings menu.
      Specified by:
      component in interface EnumSetting.EnumValue
      Returns:
      The component of the enum value.