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) |
isMouseOver
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
handleMouseClickedOut, handleMouseScrolled
public 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 RecipeGuiTab
public boolean isSelected(IRecipeCategory<?> selectedCategory)
isSelected
in class RecipeGuiTab
public java.util.List<net.minecraft.util.text.ITextComponent> getTooltip()
getTooltip
in class RecipeGuiTab