public abstract class RecipeGuiTab extends java.lang.Object implements IMouseHandler
| Modifier and Type | Field and Description |
|---|---|
static int |
TAB_HEIGHT |
static int |
TAB_WIDTH |
protected int |
x |
protected int |
y |
| Constructor and Description |
|---|
RecipeGuiTab(int x,
int y) |
| Modifier and Type | Method and Description |
|---|---|
void |
draw(boolean selected,
com.mojang.blaze3d.matrix.MatrixStack matrixStack,
int mouseX,
int mouseY) |
abstract java.util.List<net.minecraft.util.text.ITextComponent> |
getTooltip() |
boolean |
isMouseOver(double mouseX,
double mouseY) |
abstract boolean |
isSelected(IRecipeCategory<?> selectedCategory) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waithandleClick, handleMouseClickedOut, handleMouseScrolledpublic static final int TAB_HEIGHT
public static final int TAB_WIDTH
protected final int x
protected final int y
public boolean isMouseOver(double mouseX,
double mouseY)
public abstract boolean isSelected(IRecipeCategory<?> selectedCategory)
public void draw(boolean selected,
com.mojang.blaze3d.matrix.MatrixStack matrixStack,
int mouseX,
int mouseY)
public abstract java.util.List<net.minecraft.util.text.ITextComponent> getTooltip()