public abstract class GuiAnalyzerProvider<C extends net.minecraft.inventory.Container> extends GuiForestryTitled<C> implements IGeneticAnalyzerProvider, ISlotChangeWatcher
| Modifier and Type | Field and Description |
|---|---|
IGeneticAnalyzer |
analyzer |
protected boolean |
deactivated |
protected static Drawable |
SELECTED_COMB_SLOT |
protected static Drawable |
TOGGLE_BUTTON |
container, ledgerManager, textLayout, textureFile, widgetManager, windowdragSplitting, dragSplittingSlots, guiLeft, guiTop, INVENTORY_BACKGROUND, inventorySlots, xSize, ySize| Constructor and Description |
|---|
GuiAnalyzerProvider(java.lang.String texture,
C container,
ITitled titled,
int buttonX,
int buttonY,
int screenDistance,
boolean hasBoarder,
int slots,
int firstSlot) |
GuiAnalyzerProvider(java.lang.String texture,
C container,
ITitled titled,
int buttonX,
int buttonY,
int slots,
int firstSlot) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
actionPerformed(net.minecraft.client.gui.GuiButton button) |
protected void |
drawGuiContainerBackgroundLayer(float f,
int mouseX,
int mouseY) |
void |
drawScreen(int mouseX,
int mouseY,
float partialTicks) |
protected abstract void |
drawSelectedSlot(int selectedSlot) |
int |
getFirstSlot() |
int |
getSelectedSlot(int index) |
int |
getSlotCount() |
protected boolean |
hasErrors() |
void |
initGui() |
void |
onSlotChanged(net.minecraft.inventory.IInventory inventory,
int slot) |
centeredTitleaddClimateLedger, addErrorLedger, addErrorLedger, addHintLedger, addHintLedger, addLedgers, addOwnerLedger, addPowerLedger, bindTexture, drawBackground, drawGradientRect, drawGuiContainerForegroundLayer, drawWidgets, getExtraGuiAreas, getFluidStackAtPosition, getFontColor, getFontRenderer, getGuiLeft, getGuiTop, getMC, getSizeX, getSizeY, getSlotAtPosition, getTextLayout, hasClickedOutside, keyTyped, mouseClicked, mouseReleased, onGuiClosed, setWorldAndResolution, setZLevel, updateScreencheckHotbarKeys, doesGuiPauseGame, getSlotUnderMouse, getXSize, getYSize, handleMouseClick, isPointInRegion, mouseClickMove, renderHoveredToolTipaddButton, confirmClicked, drawBackground, drawDefaultBackground, drawHoveringText, drawHoveringText, drawHoveringText, drawWorldBackground, getClipboardString, getItemToolTip, handleComponentClick, handleComponentHover, handleInput, handleKeyboardInput, handleMouseInput, isAltKeyDown, isCtrlKeyDown, isFocused, isKeyComboCtrlA, isKeyComboCtrlC, isKeyComboCtrlV, isKeyComboCtrlX, isShiftKeyDown, onResize, renderToolTip, sendChatMessage, sendChatMessage, setClipboardString, setFocused, setGuiSize, setTextdrawCenteredString, drawHorizontalLine, drawModalRectWithCustomSizedTexture, drawRect, drawScaledCustomSizeModalRect, drawString, drawTexturedModalRect, drawTexturedModalRect, drawTexturedModalRect, drawVerticalLineclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetSpecimen, onSelection, onUpdateSelectedprotected static final Drawable SELECTED_COMB_SLOT
protected static final Drawable TOGGLE_BUTTON
public final IGeneticAnalyzer analyzer
protected boolean deactivated
public GuiAnalyzerProvider(java.lang.String texture,
C container,
ITitled titled,
int buttonX,
int buttonY,
int slots,
int firstSlot)
protected boolean hasErrors()
protected abstract void drawSelectedSlot(int selectedSlot)
public void initGui()
initGui in class GuiForestry<C extends net.minecraft.inventory.Container>public void drawScreen(int mouseX,
int mouseY,
float partialTicks)
drawScreen in class GuiForestry<C extends net.minecraft.inventory.Container>protected void actionPerformed(net.minecraft.client.gui.GuiButton button)
throws java.io.IOException
actionPerformed in class net.minecraft.client.gui.GuiScreenjava.io.IOExceptionprotected void drawGuiContainerBackgroundLayer(float f,
int mouseX,
int mouseY)
drawGuiContainerBackgroundLayer in class GuiForestryTitled<C extends net.minecraft.inventory.Container>public void onSlotChanged(net.minecraft.inventory.IInventory inventory,
int slot)
onSlotChanged in interface ISlotChangeWatcherpublic int getSelectedSlot(int index)
getSelectedSlot in interface IGeneticAnalyzerProviderpublic int getSlotCount()
getSlotCount in interface IGeneticAnalyzerProviderpublic int getFirstSlot()
getFirstSlot in interface IGeneticAnalyzerProvider