public class GuiRepair extends GuiContainer implements IContainerListener
dragSplitting, dragSplittingSlots, guiLeft, guiTop, hoveredSlot, INVENTORY_BACKGROUND, inventorySlots, slotColor, xSize, ySize
allowUserInput, buttons, children, fontRenderer, height, itemRender, labels, mc, width
ICONS, OPTIONS_BACKGROUND, STAT_ICONS, zLevel
Constructor and Description |
---|
GuiRepair(InventoryPlayer inventoryIn,
World worldIn) |
Modifier and Type | Method and Description |
---|---|
protected void |
drawGuiContainerBackgroundLayer(float partialTicks,
int mouseX,
int mouseY) |
protected void |
drawGuiContainerForegroundLayer(int mouseX,
int mouseY) |
IGuiEventListener |
getFocused() |
protected void |
initGui() |
void |
onGuiClosed() |
void |
onResize(Minecraft mcIn,
int w,
int h) |
void |
render(int mouseX,
int mouseY,
float partialTicks) |
void |
sendAllContents(Container containerToSend,
NonNullList<ItemStack> itemsList) |
void |
sendAllWindowProperties(Container containerIn,
IInventory inventory) |
void |
sendSlotContents(Container containerToSend,
int slotInd,
ItemStack stack) |
void |
sendWindowProperty(Container containerIn,
int varToUpdate,
int newValue) |
allowCloseWithEscape, doesGuiPauseGame, func_195361_a, func_195363_d, getGuiLeft, getGuiTop, getSlotColor, getSlotUnderMouse, getXSize, getYSize, handleMouseClick, isPointInRegion, keyPressed, mouseClicked, mouseDragged, mouseReleased, renderHoveredToolTip, tick
addButton, close, confirmResult, drawBackground, drawDefaultBackground, drawHoveringText, drawHoveringText, drawHoveringText, drawWorldBackground, getChildren, getItemToolTip, handleComponentClick, handleComponentHover, isAltKeyDown, isCtrlKeyDown, isKeyComboCtrlA, isKeyComboCtrlC, isKeyComboCtrlV, isKeyComboCtrlX, isShiftKeyDown, renderToolTip, runOrMakeCrashReport, sendChatMessage, sendChatMessage, setText, setWorldAndResolution
focusNext, focusOn, setDragging, setFocused
drawCenteredString, drawGradientRect, drawHorizontalLine, drawModalRectWithCustomSizedTexture, drawRect, drawScaledCustomSizeModalRect, drawString, drawTexturedModalRect, drawTexturedModalRect, drawTexturedModalRect, drawVerticalLine
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
charTyped, keyReleased, mouseScrolled
canFocus, focusChanged
public GuiRepair(InventoryPlayer inventoryIn, World worldIn)
public IGuiEventListener getFocused()
getFocused
in interface IGuiEventListenerDeferred
getFocused
in class GuiEventHandler
protected void initGui()
initGui
in class GuiContainer
public void onGuiClosed()
onGuiClosed
in class GuiContainer
protected void drawGuiContainerForegroundLayer(int mouseX, int mouseY)
drawGuiContainerForegroundLayer
in class GuiContainer
public void render(int mouseX, int mouseY, float partialTicks)
render
in class GuiContainer
protected void drawGuiContainerBackgroundLayer(float partialTicks, int mouseX, int mouseY)
drawGuiContainerBackgroundLayer
in class GuiContainer
public void sendAllContents(Container containerToSend, NonNullList<ItemStack> itemsList)
sendAllContents
in interface IContainerListener
public void sendSlotContents(Container containerToSend, int slotInd, ItemStack stack)
sendSlotContents
in interface IContainerListener
public void sendWindowProperty(Container containerIn, int varToUpdate, int newValue)
sendWindowProperty
in interface IContainerListener
public void sendAllWindowProperties(Container containerIn, IInventory inventory)
sendAllWindowProperties
in interface IContainerListener