public class GuiBase
extends net.minecraft.client.gui.inventory.GuiContainer
dragSplitting, dragSplittingSlots, guiLeft, guiTop, INVENTORY_BACKGROUND, inventorySlots, xSize, ySize| Constructor and Description |
|---|
GuiBase(net.minecraft.inventory.Container container,
net.minecraft.tileentity.TileEntity tile,
net.minecraft.entity.player.EntityPlayer player,
java.lang.String name) |
| Modifier and Type | Method and Description |
|---|---|
void |
drawGeneratorProgress(int x,
int y,
GeneratorBase tile) |
protected void |
drawGuiContainerBackgroundLayer(float partialTicks,
int mouseX,
int mouseY) |
protected void |
drawGuiContainerForegroundLayer(int mx,
int my) |
void |
drawMachineProgress(int itemCycleTime,
int needCycleTime) |
void |
drawMachineProgress(TileEntityMachineBase tile) |
protected void |
drawOutlines() |
void |
drawPowerBar(net.darkhax.tesla.api.implementation.BaseTeslaContainer container,
int mx,
int my) |
java.util.function.Predicate<net.minecraft.item.ItemStack> |
getShouldOutline() |
net.minecraft.util.ResourceLocation |
getTexture() |
void |
initGui() |
boolean |
isTitle() |
void |
setOutlinePredicate(java.util.function.Predicate<net.minecraft.item.ItemStack> predicate) |
void |
setTitle(boolean title) |
checkHotbarKeys, doesGuiPauseGame, drawScreen, getGuiLeft, getGuiTop, getSlotUnderMouse, getXSize, getYSize, handleMouseClick, isPointInRegion, keyTyped, mouseClicked, mouseClickMove, mouseReleased, onGuiClosed, updateScreenactionPerformed, addButton, confirmClicked, drawBackground, drawCreativeTabHoveringText, drawDefaultBackground, drawHoveringText, drawHoveringText, drawWorldBackground, getClipboardString, handleComponentClick, handleComponentHover, handleInput, handleKeyboardInput, handleMouseInput, isAltKeyDown, isCtrlKeyDown, isKeyComboCtrlA, isKeyComboCtrlC, isKeyComboCtrlV, isKeyComboCtrlX, isShiftKeyDown, onResize, renderToolTip, sendChatMessage, sendChatMessage, setClipboardString, setGuiSize, setText, setWorldAndResolutionpublic GuiBase(net.minecraft.inventory.Container container,
net.minecraft.tileentity.TileEntity tile,
net.minecraft.entity.player.EntityPlayer player,
java.lang.String name)
public void initGui()
initGui in class net.minecraft.client.gui.inventory.GuiContainerprotected void drawGuiContainerForegroundLayer(int mx,
int my)
drawGuiContainerForegroundLayer in class net.minecraft.client.gui.inventory.GuiContainerprotected void drawOutlines()
public net.minecraft.util.ResourceLocation getTexture()
public void drawMachineProgress(TileEntityMachineBase tile)
public void drawMachineProgress(int itemCycleTime,
int needCycleTime)
public void drawPowerBar(net.darkhax.tesla.api.implementation.BaseTeslaContainer container,
int mx,
int my)
public void drawGeneratorProgress(int x,
int y,
GeneratorBase tile)
protected void drawGuiContainerBackgroundLayer(float partialTicks,
int mouseX,
int mouseY)
drawGuiContainerBackgroundLayer in class net.minecraft.client.gui.inventory.GuiContainerpublic void setOutlinePredicate(java.util.function.Predicate<net.minecraft.item.ItemStack> predicate)
public java.util.function.Predicate<net.minecraft.item.ItemStack> getShouldOutline()
public boolean isTitle()
public void setTitle(boolean title)