public enum UidContext extends java.lang.Enum<UidContext>
Ingredient subtypes should be more specific than Recipe subtypes.| Enum Constant and Description |
|---|
Ingredient
Context used for comparing ingredients in the ingredient list.
|
Recipe
Context used for comparing ingredients in recipes.
|
| Modifier and Type | Method and Description |
|---|---|
static UidContext |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static UidContext[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final UidContext Ingredient
Recipe.
Used for:
ingredients (see IModIngredientRegistration
blacklists from the config
debug info
bookmarkspublic static final UidContext Recipe
Ingredient, to allow for broader matches in recipes.
Used for:
recipe lookups (see IRecipeCategory.setIngredients(Object, IIngredients))
recipe catalysts (see IRecipeCatalystRegistration)
recipe transfer (since JEI 7.4.0) (see IRecipeTransferRegistrationpublic static UidContext[] values()
for (UidContext c : UidContext.values()) System.out.println(c);
public static UidContext valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is null