public class RecipeCatalysts extends java.lang.Object implements IShowsRecipeFocuses
RecipesGui
that shows which items can craft the current recipe category.Constructor and Description |
---|
RecipeCatalysts() |
Modifier and Type | Method and Description |
---|---|
boolean |
canSetFocusWithMouse() |
GuiIngredient |
draw(int mouseX,
int mouseY) |
IClickedIngredient<?> |
getIngredientUnderMouse(double mouseX,
double mouseY) |
int |
getWidth() |
boolean |
isEmpty() |
void |
updateLayout(java.util.List<java.lang.Object> ingredients,
RecipesGui recipesGui) |
public boolean isEmpty()
public int getWidth()
public void updateLayout(java.util.List<java.lang.Object> ingredients, RecipesGui recipesGui)
@Nullable public GuiIngredient draw(int mouseX, int mouseY)
@Nullable public IClickedIngredient<?> getIngredientUnderMouse(double mouseX, double mouseY)
getIngredientUnderMouse
in interface IShowsRecipeFocuses
public boolean canSetFocusWithMouse()
canSetFocusWithMouse
in interface IShowsRecipeFocuses