public class RecipeGuiLogic extends java.lang.Object implements IRecipeGuiLogic
Constructor and Description |
---|
RecipeGuiLogic(IRecipeManager recipeManager,
RecipeTransferManager recipeTransferManager,
IRecipeLogicStateListener stateListener,
IngredientManager ingredientManager,
IModIdHelper modIdHelper) |
Modifier and Type | Method and Description |
---|---|
boolean |
back() |
void |
clearHistory() |
java.lang.String |
getPageString() |
java.util.List<java.lang.Object> |
getRecipeCatalysts() |
java.util.List<java.lang.Object> |
getRecipeCatalysts(IRecipeCategory<?> recipeCategory) |
com.google.common.collect.ImmutableList<IRecipeCategory<?>> |
getRecipeCategories() |
java.util.List<RecipeLayout<?>> |
getRecipeLayouts(int posX,
int posY,
int spacingY) |
IRecipeCategory<?> |
getSelectedRecipeCategory() |
boolean |
hasAllCategories() |
boolean |
hasMultipleCategories() |
boolean |
hasMultiplePages() |
void |
nextPage() |
void |
nextRecipeCategory() |
void |
previousPage() |
void |
previousRecipeCategory() |
boolean |
setCategoryFocus() |
boolean |
setCategoryFocus(java.util.List<net.minecraft.util.ResourceLocation> recipeCategoryUids) |
<V> boolean |
setFocus(Focus<V> focus) |
void |
setRecipeCategory(IRecipeCategory<?> category) |
void |
setRecipesPerPage(int recipesPerPage) |
public RecipeGuiLogic(IRecipeManager recipeManager, RecipeTransferManager recipeTransferManager, IRecipeLogicStateListener stateListener, IngredientManager ingredientManager, IModIdHelper modIdHelper)
public <V> boolean setFocus(Focus<V> focus)
setFocus
in interface IRecipeGuiLogic
public boolean back()
back
in interface IRecipeGuiLogic
public void clearHistory()
clearHistory
in interface IRecipeGuiLogic
public boolean setCategoryFocus()
setCategoryFocus
in interface IRecipeGuiLogic
public boolean setCategoryFocus(java.util.List<net.minecraft.util.ResourceLocation> recipeCategoryUids)
setCategoryFocus
in interface IRecipeGuiLogic
public java.util.List<java.lang.Object> getRecipeCatalysts()
getRecipeCatalysts
in interface IRecipeGuiLogic
public java.util.List<java.lang.Object> getRecipeCatalysts(IRecipeCategory<?> recipeCategory)
getRecipeCatalysts
in interface IRecipeGuiLogic
public void setRecipesPerPage(int recipesPerPage)
setRecipesPerPage
in interface IRecipeGuiLogic
public IRecipeCategory<?> getSelectedRecipeCategory()
getSelectedRecipeCategory
in interface IRecipeGuiLogic
public com.google.common.collect.ImmutableList<IRecipeCategory<?>> getRecipeCategories()
getRecipeCategories
in interface IRecipeGuiLogic
public java.util.List<RecipeLayout<?>> getRecipeLayouts(int posX, int posY, int spacingY)
getRecipeLayouts
in interface IRecipeGuiLogic
public void nextRecipeCategory()
nextRecipeCategory
in interface IRecipeGuiLogic
public void setRecipeCategory(IRecipeCategory<?> category)
setRecipeCategory
in interface IRecipeGuiLogic
public boolean hasMultiplePages()
hasMultiplePages
in interface IRecipeGuiLogic
public void previousRecipeCategory()
previousRecipeCategory
in interface IRecipeGuiLogic
public void nextPage()
nextPage
in interface IRecipeGuiLogic
public void previousPage()
previousPage
in interface IRecipeGuiLogic
public java.lang.String getPageString()
getPageString
in interface IRecipeGuiLogic
public boolean hasMultipleCategories()
hasMultipleCategories
in interface IRecipeGuiLogic
public boolean hasAllCategories()
hasAllCategories
in interface IRecipeGuiLogic