public class RecipeGuiTabs extends java.lang.Object implements IPaged
RecipesGui that show the recipe categories.| Constructor and Description |
|---|
RecipeGuiTabs(IRecipeGuiLogic recipeGuiLogic) |
| Modifier and Type | Method and Description |
|---|---|
void |
draw(net.minecraft.client.Minecraft minecraft,
com.mojang.blaze3d.matrix.MatrixStack matrixStack,
int mouseX,
int mouseY) |
IMouseHandler |
getMouseHandler() |
int |
getPageCount() |
int |
getPageNumber() |
boolean |
hasNext() |
boolean |
hasPrevious() |
void |
initLayout(RecipesGui recipesGui) |
boolean |
nextPage() |
boolean |
previousPage() |
public RecipeGuiTabs(IRecipeGuiLogic recipeGuiLogic)
public void initLayout(RecipesGui recipesGui)
public void draw(net.minecraft.client.Minecraft minecraft,
com.mojang.blaze3d.matrix.MatrixStack matrixStack,
int mouseX,
int mouseY)
public IMouseHandler getMouseHandler()
public boolean previousPage()
previousPage in interface IPagedpublic boolean hasPrevious()
hasPrevious in interface IPagedpublic int getPageCount()
getPageCount in interface IPagedpublic int getPageNumber()
getPageNumber in interface IPaged