public interface IGuiIngredient<T>
IRecipeTransferHandler
and some other advanced cases.
Get these from IGuiIngredientGroup.getGuiIngredients()
.Modifier and Type | Method and Description |
---|---|
void |
drawHighlight(net.minecraft.client.Minecraft minecraft,
java.awt.Color color,
int xOffset,
int yOffset)
Draws a highlight on background of this ingredient.
|
java.util.List<T> |
getAllIngredients()
All ingredient variations that can be shown.
|
IFocus<T> |
getCurrentlyDisplayed()
Deprecated.
since JEI 3.11.0. Use
getDisplayedIngredient() |
T |
getDisplayedIngredient()
The ingredient variation that is shown at this moment.
|
boolean |
isInput()
Returns true if this ingredient is an input for the recipe, otherwise it is an output.
|
@Nullable @Deprecated IFocus<T> getCurrentlyDisplayed()
getDisplayedIngredient()
@Nullable T getDisplayedIngredient()
java.util.List<T> getAllIngredients()
boolean isInput()
void drawHighlight(net.minecraft.client.Minecraft minecraft, java.awt.Color color, int xOffset, int yOffset)