public class GuiProgrammer extends GuiPneumaticContainerBase<ContainerProgrammer,TileEntityProgrammer>
tehoveredSlot, imageHeight, imageWidth, inventory, INVENTORY_LOCATION, inventoryLabelX, inventoryLabelY, isQuickCrafting, leftPos, menu, quickCraftSlots, slotColor, titleLabelX, titleLabelY, topPos| Constructor and Description |
|---|
GuiProgrammer(ContainerProgrammer container,
net.minecraft.entity.player.PlayerInventory inv,
net.minecraft.util.text.ITextComponent displayString) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doDelayedAction()
Run the delayed action set up by sendDelayed()
|
static IProgWidget |
findWidget(java.util.List<IProgWidget> widgets,
java.lang.Class<? extends IProgWidget> cls) |
protected net.minecraft.util.ResourceLocation |
getGuiTexture() |
protected PointXY |
getInvNameOffset() |
protected PointXY |
getInvTextOffset() |
net.minecraft.client.renderer.Rectangle2d |
getProgrammerBounds() |
void |
init() |
boolean |
isPauseScreen() |
boolean |
isValidPlaced(IProgWidget widget1) |
boolean |
isVisible(IProgWidget w) |
boolean |
keyPressed(int keyCode,
int scanCode,
int modifiers) |
boolean |
mouseClicked(double mouseX,
double mouseY,
int button) |
boolean |
mouseDragged(double mouseX,
double mouseY,
int mouseButton,
double dragX,
double dragY) |
boolean |
mouseReleased(double mouseX,
double mouseY,
int button) |
boolean |
mouseScrolled(double p_mouseScrolled_1_,
double p_mouseScrolled_3_,
double p_mouseScrolled_5_) |
PointXY |
mouseToWidgetCoords(double mouseX,
double mouseY,
IProgWidget p) |
static void |
onCloseFromContainer() |
void |
removed() |
protected void |
renderBg(com.mojang.blaze3d.matrix.MatrixStack matrixStack,
float partialTicks,
int mouseX,
int mouseY) |
protected void |
renderLabels(com.mojang.blaze3d.matrix.MatrixStack matrixStack,
int x,
int y) |
protected boolean |
shouldAddInfoTab() |
protected boolean |
shouldAddProblemTab() |
protected boolean |
shouldDrawBackground() |
void |
tick() |
addAnimatedStat, addAnimatedStat, addAnimatedStat, addButton, addExtraVolumeModifierInfo, addInformation, addInfoTab, addInfoTab, addJeiFilterInfoTab, addLabel, addLabel, addPressureStatInfo, addProblems, addWarnings, getBackgroundTint, getGaugeLocation, getStatWidgets, getTabRectangles, getTargetFluids, getTargetItems, getTitleColor, isUpgradeAvailable, onGuiUpdate, render, sendDelayed, shouldAddPressureTab, shouldAddRedstoneTab, shouldAddSideConfigTabs, shouldAddUpgradeTab, shouldParseVariablesInTooltips, upgradeCategorycheckHotbarKeyPressed, getGuiLeft, getGuiTop, getMenu, getSlotColor, getSlotUnderMouse, getXSize, getYSize, hasClickedOutside, isHovering, onClose, renderTooltip, slotClickedaddWidget, children, getMinecraft, getNarrationMessage, getTitle, getTooltipFromItem, handleComponentClicked, hasAltDown, hasControlDown, hasShiftDown, init, insertText, isCopy, isCut, isMouseOver, isPaste, isSelectAll, isValidCharacterForName, onFilesDrop, renderBackground, renderBackground, renderComponentHoverEffect, renderComponentTooltip, renderDirtBackground, renderTooltip, renderTooltip, renderTooltip, renderToolTip, renderWrappedToolTip, resize, sendMessage, sendMessage, shouldCloseOnEsc, wrapScreenErrorgetFocused, isDragging, setDragging, setFocusedblit, blit, blit, blit, blit, blitOutlineBlack, drawCenteredString, drawCenteredString, drawString, drawString, fill, fillGradient, fillGradient, getBlitOffset, hLine, setBlitOffset, vLineclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpublic GuiProgrammer(ContainerProgrammer container, net.minecraft.entity.player.PlayerInventory inv, net.minecraft.util.text.ITextComponent displayString)
public void init()
init in class GuiPneumaticContainerBase<ContainerProgrammer,TileEntityProgrammer>public boolean isPauseScreen()
isPauseScreen in class net.minecraft.client.gui.screen.inventory.ContainerScreen<ContainerProgrammer>public static void onCloseFromContainer()
public net.minecraft.client.renderer.Rectangle2d getProgrammerBounds()
protected net.minecraft.util.ResourceLocation getGuiTexture()
getGuiTexture in class GuiPneumaticContainerBase<ContainerProgrammer,TileEntityProgrammer>protected boolean shouldAddInfoTab()
shouldAddInfoTab in class GuiPneumaticContainerBase<ContainerProgrammer,TileEntityProgrammer>protected void doDelayedAction()
GuiPneumaticContainerBasedoDelayedAction in class GuiPneumaticContainerBase<ContainerProgrammer,TileEntityProgrammer>protected PointXY getInvNameOffset()
getInvNameOffset in class GuiPneumaticContainerBase<ContainerProgrammer,TileEntityProgrammer>protected PointXY getInvTextOffset()
getInvTextOffset in class GuiPneumaticContainerBase<ContainerProgrammer,TileEntityProgrammer>protected boolean shouldAddProblemTab()
shouldAddProblemTab in class GuiPneumaticContainerBase<ContainerProgrammer,TileEntityProgrammer>protected void renderLabels(com.mojang.blaze3d.matrix.MatrixStack matrixStack,
int x,
int y)
renderLabels in class GuiPneumaticContainerBase<ContainerProgrammer,TileEntityProgrammer>protected void renderBg(com.mojang.blaze3d.matrix.MatrixStack matrixStack,
float partialTicks,
int mouseX,
int mouseY)
renderBg in class GuiPneumaticContainerBase<ContainerProgrammer,TileEntityProgrammer>public boolean keyPressed(int keyCode,
int scanCode,
int modifiers)
keyPressed in interface net.minecraft.client.gui.IGuiEventListenerkeyPressed in interface net.minecraft.client.gui.INestedGuiEventHandlerkeyPressed in class net.minecraft.client.gui.screen.inventory.ContainerScreen<ContainerProgrammer>protected boolean shouldDrawBackground()
shouldDrawBackground in class GuiPneumaticContainerBase<ContainerProgrammer,TileEntityProgrammer>public boolean isValidPlaced(IProgWidget widget1)
public void tick()
tick in interface net.minecraft.client.gui.screen.IScreentick in class GuiPneumaticContainerBase<ContainerProgrammer,TileEntityProgrammer>public PointXY mouseToWidgetCoords(double mouseX, double mouseY, IProgWidget p)
public boolean mouseClicked(double mouseX,
double mouseY,
int button)
mouseClicked in interface net.minecraft.client.gui.IGuiEventListenermouseClicked in interface net.minecraft.client.gui.INestedGuiEventHandlermouseClicked in class net.minecraft.client.gui.screen.inventory.ContainerScreen<ContainerProgrammer>public boolean mouseReleased(double mouseX,
double mouseY,
int button)
mouseReleased in interface net.minecraft.client.gui.IGuiEventListenermouseReleased in interface net.minecraft.client.gui.INestedGuiEventHandlermouseReleased in class GuiPneumaticContainerBase<ContainerProgrammer,TileEntityProgrammer>public boolean mouseScrolled(double p_mouseScrolled_1_,
double p_mouseScrolled_3_,
double p_mouseScrolled_5_)
public boolean mouseDragged(double mouseX,
double mouseY,
int mouseButton,
double dragX,
double dragY)
mouseDragged in interface net.minecraft.client.gui.IGuiEventListenermouseDragged in interface net.minecraft.client.gui.INestedGuiEventHandlermouseDragged in class GuiPneumaticContainerBase<ContainerProgrammer,TileEntityProgrammer>public void removed()
removed in class GuiPneumaticContainerBase<ContainerProgrammer,TileEntityProgrammer>public static IProgWidget findWidget(java.util.List<IProgWidget> widgets, java.lang.Class<? extends IProgWidget> cls)
public boolean isVisible(IProgWidget w)