public class RecipeLayout
extends java.lang.Object
implements mezz.jei.api.gui.IRecipeLayoutDrawable
| Modifier and Type | Method and Description |
|---|---|
static <T> RecipeLayout |
create(int index,
mezz.jei.api.recipe.category.IRecipeCategory<T> recipeCategory,
T recipe,
Focus focus,
int posX,
int posY) |
void |
drawOverlays(int mouseX,
int mouseY) |
void |
drawRecipe(int mouseX,
int mouseY) |
mezz.jei.api.gui.ingredient.IGuiFluidStackGroup |
getFluidStacks() |
Focus<?> |
getFocus() |
GuiIngredient<?> |
getGuiIngredientUnderMouse(double mouseX,
double mouseY) |
<T> mezz.jei.api.gui.ingredient.IGuiIngredientGroup<T> |
getIngredientsGroup(mezz.jei.api.ingredients.IIngredientType<T> ingredientType) |
java.lang.Object |
getIngredientUnderMouse(int mouseX,
int mouseY) |
GuiItemStackGroup |
getItemStacks() |
int |
getPosX() |
int |
getPosY() |
mezz.jei.api.recipe.category.IRecipeCategory |
getRecipeCategory() |
RecipeTransferButton |
getRecipeTransferButton() |
boolean |
handleClick(double mouseX,
double mouseY,
int mouseButton) |
boolean |
isMouseOver(double mouseX,
double mouseY) |
void |
moveRecipeTransferButton(int posX,
int posY) |
void |
setPosition(int posX,
int posY) |
void |
setShapeless() |
@Nullable public static <T> RecipeLayout create(int index, mezz.jei.api.recipe.category.IRecipeCategory<T> recipeCategory, T recipe, @Nullable Focus focus, int posX, int posY)
public void setPosition(int posX,
int posY)
setPosition in interface mezz.jei.api.gui.IRecipeLayoutDrawablepublic void drawRecipe(int mouseX,
int mouseY)
drawRecipe in interface mezz.jei.api.gui.IRecipeLayoutDrawablepublic void drawOverlays(int mouseX,
int mouseY)
drawOverlays in interface mezz.jei.api.gui.IRecipeLayoutDrawablepublic boolean isMouseOver(double mouseX,
double mouseY)
isMouseOver in interface mezz.jei.api.gui.IRecipeLayoutDrawable@Nullable
public java.lang.Object getIngredientUnderMouse(int mouseX,
int mouseY)
getIngredientUnderMouse in interface mezz.jei.api.gui.IRecipeLayoutDrawable@Nullable public GuiIngredient<?> getGuiIngredientUnderMouse(double mouseX, double mouseY)
public boolean handleClick(double mouseX,
double mouseY,
int mouseButton)
public GuiItemStackGroup getItemStacks()
getItemStacks in interface mezz.jei.api.gui.IRecipeLayoutpublic mezz.jei.api.gui.ingredient.IGuiFluidStackGroup getFluidStacks()
getFluidStacks in interface mezz.jei.api.gui.IRecipeLayoutpublic <T> mezz.jei.api.gui.ingredient.IGuiIngredientGroup<T> getIngredientsGroup(mezz.jei.api.ingredients.IIngredientType<T> ingredientType)
getIngredientsGroup in interface mezz.jei.api.gui.IRecipeLayoutpublic void moveRecipeTransferButton(int posX,
int posY)
moveRecipeTransferButton in interface mezz.jei.api.gui.IRecipeLayoutpublic void setShapeless()
setShapeless in interface mezz.jei.api.gui.IRecipeLayout@Nullable public Focus<?> getFocus()
getFocus in interface mezz.jei.api.gui.IRecipeLayout@Nullable public RecipeTransferButton getRecipeTransferButton()
public mezz.jei.api.recipe.category.IRecipeCategory getRecipeCategory()
getRecipeCategory in interface mezz.jei.api.gui.IRecipeLayoutpublic int getPosX()
public int getPosY()