Package forestry.api.genetics.gatgets
Interface IGeneticAnalyzer
public interface IGeneticAnalyzer
-
Method Summary
Modifier and TypeMethodDescriptionforestry.core.gui.elements.GuiElementintvoidinit()Called at the end of the constructor of the analyzer provider.booleanvoidsetSelectedSlot(int selectedSlot) voidsetVisible(boolean visible) voidupdate()Updates the displayed content of the analyzer.void
-
Method Details
-
getProvider
IGeneticAnalyzerProvider getProvider() -
isVisible
boolean isVisible()- Returns:
- True if the analyzer is currently visible.
-
setVisible
void setVisible(boolean visible) -
init
void init()Called at the end of the constructor of the analyzer provider. -
update
void update()Updates the displayed content of the analyzer. -
getItemElement
forestry.core.gui.elements.GuiElement getItemElement()- Returns:
-
updateSelected
void updateSelected() -
setSelectedSlot
void setSelectedSlot(int selectedSlot) -
getSelected
int getSelected()
-