public class IngredientBlacklist extends java.lang.Object implements IIngredientBlacklist
Constructor and Description |
---|
IngredientBlacklist(IIngredientRegistry ingredientRegistry) |
Modifier and Type | Method and Description |
---|---|
<V> void |
addIngredientToBlacklist(V ingredient)
Stop JEI from displaying a specific ingredient in the ingredient list.
|
<V> boolean |
isIngredientBlacklisted(V ingredient)
Returns true if the ingredient is blacklisted and will not be displayed in the ingredient list.
|
<V> boolean |
isIngredientBlacklistedByApi(V ingredient) |
<V> void |
removeIngredientFromBlacklist(V ingredient)
Undo blacklisting an ingredient.
|
public IngredientBlacklist(IIngredientRegistry ingredientRegistry)
public <V> void addIngredientToBlacklist(V ingredient)
IIngredientBlacklist
OreDictionary.WILDCARD_VALUE
meta for wildcard.
Ingredients blacklisted with this API can't be seen in the config or in edit mode.addIngredientToBlacklist
in interface IIngredientBlacklist
public <V> void removeIngredientFromBlacklist(V ingredient)
IIngredientBlacklist
removeIngredientFromBlacklist
in interface IIngredientBlacklist
public <V> boolean isIngredientBlacklisted(V ingredient)
IIngredientBlacklist
isIngredientBlacklisted
in interface IIngredientBlacklist
public <V> boolean isIngredientBlacklistedByApi(V ingredient)