public class ComponentIngredient extends GuiComponent
| Constructor | Description |
|---|---|
ComponentIngredient(Gui gui,
boolean hasItem,
java.util.List<ItemInstance> inputs) |
| Modifier and Type | Method | Description |
|---|---|---|
protected ItemInstance |
getInput(IGameInstance game) |
|
IResourceName |
getName() |
|
boolean |
onMouseAction(IGameInstance game,
int button,
float x,
float y) |
|
void |
render(IGameInstance game,
IAssetManager manager,
IRenderer g,
int x,
int y) |
|
void |
renderOverlay(IGameInstance game,
IAssetManager manager,
IRenderer g,
int x,
int y) |
|
boolean |
shouldDoFingerCursor(IGameInstance game) |
canCloseWithInvKey, getElementColor, getElementOutlineColor, getGuiColor, getHeight, getPriority, getRenderX, getRenderY, getUnselectedElementColor, getWidth, getX, getY, isActive, isMouseOver, isMouseOverPrioritized, onCharInput, onKeyPressed, setActive, setPos, toString, updatepublic ComponentIngredient(Gui gui, boolean hasItem, java.util.List<ItemInstance> inputs)
public void render(IGameInstance game, IAssetManager manager, IRenderer g, int x, int y)
render in class GuiComponentpublic void renderOverlay(IGameInstance game, IAssetManager manager, IRenderer g, int x, int y)
renderOverlay in class GuiComponentprotected ItemInstance getInput(IGameInstance game)
public boolean shouldDoFingerCursor(IGameInstance game)
shouldDoFingerCursor in class GuiComponentpublic IResourceName getName()
getName in class GuiComponentpublic boolean onMouseAction(IGameInstance game, int button, float x, float y)
onMouseAction in class GuiComponent