public class RecipeGuiTabs extends java.lang.Object implements IMouseHandler, 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) |
int |
getPageCount() |
int |
getPageNumber() |
boolean |
handleMouseClicked(double mouseX,
double mouseY,
int mouseButton) |
boolean |
hasNext() |
boolean |
hasPrevious() |
void |
initLayout(RecipesGui recipesGui) |
boolean |
isMouseOver(double mouseX,
double mouseY) |
boolean |
nextPage() |
boolean |
previousPage() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waithandleMouseDragStart, handleMouseScrolledpublic 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 boolean isMouseOver(double mouseX,
double mouseY)
isMouseOver in interface IMouseHandlerpublic boolean handleMouseClicked(double mouseX,
double mouseY,
int mouseButton)
handleMouseClicked in interface IMouseHandlerpublic boolean previousPage()
previousPage in interface IPagedpublic boolean hasPrevious()
hasPrevious in interface IPagedpublic int getPageCount()
getPageCount in interface IPagedpublic int getPageNumber()
getPageNumber in interface IPaged