public abstract class IngredientGrid extends java.lang.Object implements IShowsRecipeFocuses, IPaged
| Modifier and Type | Field and Description |
|---|---|
protected GuiIngredientFastList |
guiIngredientList |
| Constructor and Description |
|---|
IngredientGrid(mezz.jei.api.ingredients.IIngredientRegistry ingredientRegistry) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canSetFocusWithMouse() |
void |
draw(net.minecraft.client.Minecraft minecraft,
int mouseX,
int mouseY) |
void |
drawTooltips(net.minecraft.client.Minecraft minecraft,
int mouseX,
int mouseY) |
java.awt.Rectangle |
getArea() |
IIngredientListElement |
getElementUnderMouse() |
IClickedIngredient<?> |
getIngredientUnderMouse(int mouseX,
int mouseY) |
abstract int |
getPageCount() |
abstract int |
getPageNum() |
abstract java.util.List<IIngredientListElement> |
getVisibleElements() |
boolean |
handleMouseClicked(int mouseX,
int mouseY) |
boolean |
isMouseOver(int mouseX,
int mouseY) |
void |
updateBounds(java.awt.Rectangle area,
java.util.Collection<java.awt.Rectangle> exclusionAreas) |
void |
updateLayout(java.util.Collection<java.awt.Rectangle> guiExclusionAreas) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waithasNext, hasPrevious, nextPage, previousPageprotected final GuiIngredientFastList guiIngredientList
public IngredientGrid(mezz.jei.api.ingredients.IIngredientRegistry ingredientRegistry)
public void updateBounds(java.awt.Rectangle area,
java.util.Collection<java.awt.Rectangle> exclusionAreas)
public void updateLayout(java.util.Collection<java.awt.Rectangle> guiExclusionAreas)
public java.awt.Rectangle getArea()
public void draw(net.minecraft.client.Minecraft minecraft,
int mouseX,
int mouseY)
public void drawTooltips(net.minecraft.client.Minecraft minecraft,
int mouseX,
int mouseY)
public boolean isMouseOver(int mouseX,
int mouseY)
public boolean handleMouseClicked(int mouseX,
int mouseY)
@Nullable public IIngredientListElement getElementUnderMouse()
@Nullable public IClickedIngredient<?> getIngredientUnderMouse(int mouseX, int mouseY)
getIngredientUnderMouse in interface IShowsRecipeFocusespublic boolean canSetFocusWithMouse()
canSetFocusWithMouse in interface IShowsRecipeFocusespublic abstract int getPageCount()
public abstract int getPageNum()
public abstract java.util.List<IIngredientListElement> getVisibleElements()