public class RecipeCategoryTab extends RecipeGuiTab
TAB_HEIGHT, TAB_WIDTH, x, y| Constructor and Description |
|---|
RecipeCategoryTab(IRecipeGuiLogic logic,
IRecipeCategory<?> category,
int x,
int y) |
| Modifier and Type | Method and Description |
|---|---|
void |
draw(boolean selected,
com.mojang.blaze3d.matrix.MatrixStack matrixStack,
int mouseX,
int mouseY) |
java.util.List<net.minecraft.util.text.ITextComponent> |
getTooltip() |
IMouseHandler |
handleClick(net.minecraft.client.gui.screen.Screen screen,
double mouseX,
double mouseY,
int mouseButton,
MouseClickState clickState) |
boolean |
isSelected(IRecipeCategory<?> selectedCategory) |
isMouseOverclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waithandleMouseClickedOut, handleMouseScrolledpublic RecipeCategoryTab(IRecipeGuiLogic logic, IRecipeCategory<?> category, int x, int y)
public IMouseHandler handleClick(net.minecraft.client.gui.screen.Screen screen, double mouseX, double mouseY, int mouseButton, MouseClickState clickState)
public void draw(boolean selected,
com.mojang.blaze3d.matrix.MatrixStack matrixStack,
int mouseX,
int mouseY)
draw in class RecipeGuiTabpublic boolean isSelected(IRecipeCategory<?> selectedCategory)
isSelected in class RecipeGuiTabpublic java.util.List<net.minecraft.util.text.ITextComponent> getTooltip()
getTooltip in class RecipeGuiTab