public class RecipeLayout
extends java.lang.Object
implements mezz.jei.api.gui.IRecipeLayoutDrawable
Modifier and Type | Field and Description |
---|---|
static int |
recipeTransferButtonIndex |
Modifier and Type | Method and Description |
---|---|
static <T extends mezz.jei.api.recipe.IRecipeWrapper> |
create(int index,
mezz.jei.api.recipe.IRecipeCategory<T> recipeCategory,
T recipeWrapper,
mezz.jei.api.recipe.IFocus focus,
int posX,
int posY) |
void |
draw(net.minecraft.client.Minecraft minecraft,
int mouseX,
int mouseY)
Deprecated.
|
void |
drawOverlays(net.minecraft.client.Minecraft minecraft,
int mouseX,
int mouseY) |
void |
drawRecipe(net.minecraft.client.Minecraft minecraft,
int mouseX,
int mouseY) |
mezz.jei.api.gui.IGuiFluidStackGroup |
getFluidStacks() |
mezz.jei.api.recipe.IFocus<?> |
getFocus() |
GuiIngredient<?> |
getGuiIngredientUnderMouse(int mouseX,
int mouseY) |
<T> mezz.jei.api.gui.IGuiIngredientGroup<T> |
getIngredientsGroup(java.lang.Class<T> ingredientClass)
Deprecated.
|
<T> mezz.jei.api.gui.IGuiIngredientGroup<T> |
getIngredientsGroup(mezz.jei.api.recipe.IIngredientType<T> ingredientType) |
java.lang.Object |
getIngredientUnderMouse(int mouseX,
int mouseY) |
GuiItemStackGroup |
getItemStacks() |
int |
getPosX() |
int |
getPosY() |
mezz.jei.api.recipe.IRecipeCategory |
getRecipeCategory() |
RecipeTransferButton |
getRecipeTransferButton() |
boolean |
handleClick(net.minecraft.client.Minecraft minecraft,
int mouseX,
int mouseY,
int mouseButton) |
boolean |
isMouseOver(int mouseX,
int mouseY) |
void |
setPosition(int posX,
int posY) |
void |
setRecipeTransferButton(int posX,
int posY) |
void |
setShapeless() |
public static final int recipeTransferButtonIndex
@Nullable public static <T extends mezz.jei.api.recipe.IRecipeWrapper> RecipeLayout create(int index, mezz.jei.api.recipe.IRecipeCategory<T> recipeCategory, T recipeWrapper, @Nullable mezz.jei.api.recipe.IFocus focus, int posX, int posY)
public void setPosition(int posX, int posY)
setPosition
in interface mezz.jei.api.gui.IRecipeLayoutDrawable
@Deprecated public void draw(net.minecraft.client.Minecraft minecraft, int mouseX, int mouseY)
draw
in interface mezz.jei.api.gui.IRecipeLayoutDrawable
public void drawRecipe(net.minecraft.client.Minecraft minecraft, int mouseX, int mouseY)
drawRecipe
in interface mezz.jei.api.gui.IRecipeLayoutDrawable
public void drawOverlays(net.minecraft.client.Minecraft minecraft, int mouseX, int mouseY)
drawOverlays
in interface mezz.jei.api.gui.IRecipeLayoutDrawable
public boolean isMouseOver(int mouseX, int 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(int mouseX, int mouseY)
public boolean handleClick(net.minecraft.client.Minecraft minecraft, int mouseX, int mouseY, int mouseButton)
public GuiItemStackGroup getItemStacks()
getItemStacks
in interface mezz.jei.api.gui.IRecipeLayout
public mezz.jei.api.gui.IGuiFluidStackGroup getFluidStacks()
getFluidStacks
in interface mezz.jei.api.gui.IRecipeLayout
public <T> mezz.jei.api.gui.IGuiIngredientGroup<T> getIngredientsGroup(mezz.jei.api.recipe.IIngredientType<T> ingredientType)
getIngredientsGroup
in interface mezz.jei.api.gui.IRecipeLayout
@Deprecated public <T> mezz.jei.api.gui.IGuiIngredientGroup<T> getIngredientsGroup(java.lang.Class<T> ingredientClass)
getIngredientsGroup
in interface mezz.jei.api.gui.IRecipeLayout
public void setRecipeTransferButton(int posX, int posY)
setRecipeTransferButton
in interface mezz.jei.api.gui.IRecipeLayout
public void setShapeless()
setShapeless
in interface mezz.jei.api.gui.IRecipeLayout
@Nullable public mezz.jei.api.recipe.IFocus<?> getFocus()
getFocus
in interface mezz.jei.api.gui.IRecipeLayout
@Nullable public RecipeTransferButton getRecipeTransferButton()
public mezz.jei.api.recipe.IRecipeCategory getRecipeCategory()
getRecipeCategory
in interface mezz.jei.api.gui.IRecipeLayout
public int getPosX()
public int getPosY()