Enum Class ClassifyFilterItem.FilterCondition
java.lang.Object
java.lang.Enum<ClassifyFilterItem.FilterCondition>
me.desht.pneumaticcraft.common.item.ClassifyFilterItem.FilterCondition
- All Implemented Interfaces:
Serializable,Comparable<ClassifyFilterItem.FilterCondition>,Constable,Predicate<net.minecraft.world.item.ItemStack>,ITranslatableEnum
- Enclosing class:
- ClassifyFilterItem
public static enum ClassifyFilterItem.FilterCondition
extends Enum<ClassifyFilterItem.FilterCondition>
implements ITranslatableEnum, Predicate<net.minecraft.world.item.ItemStack>
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescription -
Method Summary
Modifier and TypeMethodDescriptionnet.minecraft.world.item.ItemStackgetIcon()booleantest(net.minecraft.world.item.ItemStack stack) Returns the enum constant of this class with the specified name.static ClassifyFilterItem.FilterCondition[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
FUEL_ITEM
-
EDIBLE
-
PLACEABLE
-
FLUID_CONTAINER
-
UNSTACKABLE
-
WEARABLE
-
TOOL
-
WEAPON
-
ENCHANTABLE
-
ENCHANTED
-
SMELTABLE
-
BLASTABLE
-
SMOKABLE
-
CAMPFIRE_COOKABLE
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-
getIcon
public net.minecraft.world.item.ItemStack getIcon() -
test
public boolean test(net.minecraft.world.item.ItemStack stack) -
getTranslationKey
- Specified by:
getTranslationKeyin interfaceITranslatableEnum
-