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,
int mouseX,
int mouseY) |
int |
getPageCount() |
int |
getPageNumber() |
boolean |
handleMouseClicked(int mouseX,
int mouseY,
int mouseButton) |
boolean |
handleMouseScrolled(int mouseX,
int mouseY,
int scrollDelta) |
boolean |
hasNext() |
boolean |
hasPrevious() |
void |
initLayout(RecipesGui recipesGui) |
boolean |
isMouseOver(int mouseX,
int mouseY) |
boolean |
nextPage() |
boolean |
previousPage() |
public RecipeGuiTabs(IRecipeGuiLogic recipeGuiLogic)
public void initLayout(RecipesGui recipesGui)
public void draw(net.minecraft.client.Minecraft minecraft, int mouseX, int mouseY)
public boolean isMouseOver(int mouseX, int mouseY)
isMouseOver
in interface IMouseHandler
public boolean handleMouseClicked(int mouseX, int mouseY, int mouseButton)
handleMouseClicked
in interface IMouseHandler
public boolean handleMouseScrolled(int mouseX, int mouseY, int scrollDelta)
handleMouseScrolled
in interface IMouseHandler
public boolean previousPage()
previousPage
in interface IPaged
public boolean hasPrevious()
hasPrevious
in interface IPaged
public int getPageCount()
getPageCount
in interface IPaged
public int getPageNumber()
getPageNumber
in interface IPaged