Package com.petrolpark.compat.create
Enum Class PetrolparkCreateTags.ItemAttributes
java.lang.Object
java.lang.Enum<PetrolparkCreateTags.ItemAttributes>
com.petrolpark.compat.create.PetrolparkCreateTags.ItemAttributes
- All Implemented Interfaces:
Serializable,Comparable<PetrolparkCreateTags.ItemAttributes>,Constable
- Enclosing class:
PetrolparkCreateTags
public static enum PetrolparkCreateTags.ItemAttributes
extends Enum<PetrolparkCreateTags.ItemAttributes>
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionDoesn't use thelevelfield of theItemAttribute.appliesTo(net.minecraft.world.item.ItemStack, net.minecraft.world.level.Level)method.Can't be used as anIngredient Modifier. -
Field Summary
FieldsModifier and TypeFieldDescriptionfinal net.minecraft.tags.TagKey<com.simibubi.create.content.logistics.item.filter.attribute.ItemAttributeType> -
Method Summary
Modifier and TypeMethodDescriptionbooleanmatches(net.minecraft.core.Holder<com.simibubi.create.content.logistics.item.filter.attribute.ItemAttributeType> type) Returns the enum constant of this class with the specified name.static PetrolparkCreateTags.ItemAttributes[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
LEVEL_INDEPDENDENT
Doesn't use thelevelfield of theItemAttribute.appliesTo(net.minecraft.world.item.ItemStack, net.minecraft.world.level.Level)method. -
NOT_FOR_INGREDIENTS
Can't be used as anIngredient Modifier.
-
-
Field Details
-
tag
public final net.minecraft.tags.TagKey<com.simibubi.create.content.logistics.item.filter.attribute.ItemAttributeType> tag
-
-
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
-
matches
public boolean matches(net.minecraft.core.Holder<com.simibubi.create.content.logistics.item.filter.attribute.ItemAttributeType> type)
-