public interface IRecipeLayout
IRecipeCategory.setRecipe(IRecipeLayout, Object, IIngredients)
.IRecipeLayoutDrawable
Modifier and Type | Method and Description |
---|---|
IGuiFluidStackGroup |
getFluidStacks()
Contains all the fluidStacks displayed on this recipe layout.
|
IFocus<?> |
getFocus()
The current search focus.
|
<V> IFocus<V> |
getFocus(IIngredientType<V> ingredientType)
The current search focus.
|
<T> IGuiIngredientGroup<T> |
getIngredientsGroup(IIngredientType<T> ingredientType)
Get all the ingredients of one type that are displayed on this recipe layout.
|
IGuiItemStackGroup |
getItemStacks()
Contains all the itemStacks displayed on this recipe layout.
|
IRecipeCategory<?> |
getRecipeCategory()
The current recipe category.
|
void |
moveRecipeTransferButton(int posX,
int posY)
Moves the recipe transfer button's position relative to the recipe layout.
|
void |
setShapeless()
Adds a shapeless icon to the top right of the recipe, that shows a tooltip saying "shapeless" when hovered over.
|
IGuiItemStackGroup getItemStacks()
IGuiFluidStackGroup getFluidStacks()
<T> IGuiIngredientGroup<T> getIngredientsGroup(IIngredientType<T> ingredientType)
IModIngredientRegistration
.getItemStacks()
,
getFluidStacks()
@Nullable IFocus<?> getFocus()
@Nullable <V> IFocus<V> getFocus(IIngredientType<V> ingredientType)
IRecipeCategory<?> getRecipeCategory()
void moveRecipeTransferButton(int posX, int posY)
void setShapeless()