public class ComponentConstruct extends GuiComponent
| Constructor | Description |
|---|---|
ComponentConstruct(Gui gui,
ICompendiumRecipe recipe,
boolean canConstruct,
java.util.function.Supplier<java.lang.Boolean> consumer) |
| Modifier and Type | Method | Description |
|---|---|---|
ResourceName |
getName() |
|
protected ItemInstance |
getOutput(IGameInstance game) |
|
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, update, updateInactivepublic ComponentConstruct(Gui gui, ICompendiumRecipe recipe, boolean canConstruct, java.util.function.Supplier<java.lang.Boolean> consumer)
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 GuiComponentpublic boolean onMouseAction(IGameInstance game, int button, float x, float y)
onMouseAction in class GuiComponentprotected ItemInstance getOutput(IGameInstance game)
public boolean shouldDoFingerCursor(IGameInstance game)
shouldDoFingerCursor in class GuiComponentpublic ResourceName getName()
getName in class GuiComponent