public class GuiDatabase extends GuiAnalyzerProvider<ContainerDatabase> implements IScrollable
| Modifier and Type | Field and Description |
|---|---|
TileDatabase |
tile |
analyzer, deactivated, SELECTED_COMB_SLOT, TOGGLE_BUTTONcontainer, ledgerManager, textLayout, textureFile, widgetManager, windowdragSplitting, dragSplittingSlots, guiLeft, guiTop, INVENTORY_BACKGROUND, inventorySlots, xSize, ySize| Constructor and Description |
|---|
GuiDatabase(TileDatabase tile,
net.minecraft.entity.player.EntityPlayer player) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
actionPerformed(net.minecraft.client.gui.GuiButton button) |
protected void |
addLedgers() |
protected boolean |
centeredTitle() |
protected void |
drawBackground() |
protected void |
drawGuiContainerBackgroundLayer(float f,
int mouseX,
int mouseY) |
void |
drawScreen(int mouseX,
int mouseY,
float partialTicks) |
protected void |
drawSelectedSlot(int selectedSlot) |
DatabaseItem |
getItem(int index) |
int |
getRealSize() |
DatabaseItem |
getSelectedItem() |
net.minecraft.item.ItemStack |
getSelectedItemStack() |
int |
getSelectedSlot(int index) |
int |
getSize() |
net.minecraft.item.ItemStack |
getSpecimen(int index) |
void |
initGui() |
boolean |
isFocused(int mouseX,
int mouseY) |
protected void |
keyTyped(char typedChar,
int keyCode) |
void |
markForSorting() |
protected void |
mouseClicked(int mouseX,
int mouseY,
int mouseButton) |
void |
onScroll(int value) |
void |
onSelection(int index,
boolean changed) |
void |
onSlotChanged(net.minecraft.inventory.IInventory inventory,
int slot) |
boolean |
onUpdateSelected() |
getFirstSlot, getSlotCount, hasErrorsaddClimateLedger, addErrorLedger, addErrorLedger, addHintLedger, addHintLedger, addOwnerLedger, addPowerLedger, bindTexture, drawGradientRect, drawGuiContainerForegroundLayer, drawWidgets, getExtraGuiAreas, getFluidStackAtPosition, getFontColor, getFontRenderer, getGuiLeft, getGuiTop, getMC, getSizeX, getSizeY, getSlotAtPosition, getTextLayout, hasClickedOutside, 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, setTextpublic final TileDatabase tile
public GuiDatabase(TileDatabase tile, net.minecraft.entity.player.EntityPlayer player)
@Nullable public DatabaseItem getSelectedItem()
public int getSize()
sortedpublic int getRealSize()
public net.minecraft.item.ItemStack getSelectedItemStack()
public void markForSorting()
@Nullable public DatabaseItem getItem(int index)
public void initGui()
initGui in class GuiAnalyzerProvider<ContainerDatabase>public void drawScreen(int mouseX,
int mouseY,
float partialTicks)
drawScreen in class GuiAnalyzerProvider<ContainerDatabase>protected void keyTyped(char typedChar,
int keyCode)
throws java.io.IOException
keyTyped in class GuiForestry<ContainerDatabase>java.io.IOExceptionprotected void mouseClicked(int mouseX,
int mouseY,
int mouseButton)
throws java.io.IOException
mouseClicked in class GuiForestry<ContainerDatabase>java.io.IOExceptionprotected void actionPerformed(net.minecraft.client.gui.GuiButton button)
throws java.io.IOException
actionPerformed in class GuiAnalyzerProvider<ContainerDatabase>java.io.IOExceptionprotected void drawGuiContainerBackgroundLayer(float f,
int mouseX,
int mouseY)
drawGuiContainerBackgroundLayer in class GuiAnalyzerProvider<ContainerDatabase>protected void drawBackground()
drawBackground in class GuiForestry<ContainerDatabase>protected void addLedgers()
addLedgers in class GuiForestry<ContainerDatabase>protected boolean centeredTitle()
centeredTitle in class GuiForestryTitled<ContainerDatabase>protected void drawSelectedSlot(int selectedSlot)
drawSelectedSlot in class GuiAnalyzerProvider<ContainerDatabase>public net.minecraft.item.ItemStack getSpecimen(int index)
getSpecimen in interface IGeneticAnalyzerProviderpublic boolean onUpdateSelected()
onUpdateSelected in interface IGeneticAnalyzerProviderpublic void onSelection(int index,
boolean changed)
onSelection in interface IGeneticAnalyzerProviderpublic int getSelectedSlot(int index)
getSelectedSlot in interface IGeneticAnalyzerProvidergetSelectedSlot in class GuiAnalyzerProvider<ContainerDatabase>public void onScroll(int value)
onScroll in interface IScrollablepublic boolean isFocused(int mouseX,
int mouseY)
isFocused in interface IScrollablemouseX - the mouse x position relative to the screenmouseY - the mouse y position relative to the screenpublic void onSlotChanged(net.minecraft.inventory.IInventory inventory,
int slot)
onSlotChanged in interface ISlotChangeWatcheronSlotChanged in class GuiAnalyzerProvider<ContainerDatabase>