public class GuiUniversalSensor extends GuiPneumaticContainerBase<ContainerUniversalSensor,TileEntityUniversalSensor>
tehoveredSlot, imageHeight, imageWidth, inventory, INVENTORY_LOCATION, inventoryLabelX, inventoryLabelY, isQuickCrafting, leftPos, menu, quickCraftSlots, slotColor, titleLabelX, titleLabelY, topPos| Constructor and Description |
|---|
GuiUniversalSensor(ContainerUniversalSensor container,
net.minecraft.entity.player.PlayerInventory inv,
net.minecraft.util.text.ITextComponent displayString) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addPressureStatInfo(java.util.List<net.minecraft.util.text.ITextComponent> pressureStatText) |
protected void |
addProblems(java.util.List<net.minecraft.util.text.ITextComponent> curInfo)
Use this to add problem information; situations that prevent the machine from operating.
|
protected void |
addWarnings(java.util.List<net.minecraft.util.text.ITextComponent> curInfo)
Use this to add warning messages; the machine will run but with potential problems.
|
protected void |
doDelayedAction()
Run the delayed action set up by sendDelayed()
|
protected PointXY |
getGaugeLocation() |
protected net.minecraft.util.ResourceLocation |
getGuiTexture() |
protected PointXY |
getInvTextOffset() |
void |
init() |
boolean |
keyPressed(int keyCode,
int scanCode,
int modifiers) |
static void |
maybeUpdateButtons() |
protected void |
renderLabels(com.mojang.blaze3d.matrix.MatrixStack matrixStack,
int x,
int y) |
void |
tick() |
addAnimatedStat, addAnimatedStat, addAnimatedStat, addButton, addExtraVolumeModifierInfo, addInformation, addInfoTab, addInfoTab, addJeiFilterInfoTab, addLabel, addLabel, getBackgroundTint, getInvNameOffset, getStatWidgets, getTabRectangles, getTargetFluids, getTargetItems, getTitleColor, isUpgradeAvailable, mouseDragged, mouseReleased, onGuiUpdate, removed, render, renderBg, sendDelayed, shouldAddInfoTab, shouldAddPressureTab, shouldAddProblemTab, shouldAddRedstoneTab, shouldAddSideConfigTabs, shouldAddUpgradeTab, shouldDrawBackground, shouldParseVariablesInTooltips, upgradeCategorycheckHotbarKeyPressed, getGuiLeft, getGuiTop, getMenu, getSlotColor, getSlotUnderMouse, getXSize, getYSize, hasClickedOutside, isHovering, isPauseScreen, mouseClicked, 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 GuiUniversalSensor(ContainerUniversalSensor container, net.minecraft.entity.player.PlayerInventory inv, net.minecraft.util.text.ITextComponent displayString)
public static void maybeUpdateButtons()
protected net.minecraft.util.ResourceLocation getGuiTexture()
getGuiTexture in class GuiPneumaticContainerBase<ContainerUniversalSensor,TileEntityUniversalSensor>public void init()
init in class GuiPneumaticContainerBase<ContainerUniversalSensor,TileEntityUniversalSensor>protected void renderLabels(com.mojang.blaze3d.matrix.MatrixStack matrixStack,
int x,
int y)
renderLabels in class GuiPneumaticContainerBase<ContainerUniversalSensor,TileEntityUniversalSensor>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<ContainerUniversalSensor>protected PointXY getInvTextOffset()
getInvTextOffset in class GuiPneumaticContainerBase<ContainerUniversalSensor,TileEntityUniversalSensor>protected PointXY getGaugeLocation()
getGaugeLocation in class GuiPneumaticContainerBase<ContainerUniversalSensor,TileEntityUniversalSensor>protected void doDelayedAction()
GuiPneumaticContainerBasedoDelayedAction in class GuiPneumaticContainerBase<ContainerUniversalSensor,TileEntityUniversalSensor>public void tick()
tick in interface net.minecraft.client.gui.screen.IScreentick in class GuiPneumaticContainerBase<ContainerUniversalSensor,TileEntityUniversalSensor>protected void addPressureStatInfo(java.util.List<net.minecraft.util.text.ITextComponent> pressureStatText)
addPressureStatInfo in class GuiPneumaticContainerBase<ContainerUniversalSensor,TileEntityUniversalSensor>protected void addWarnings(java.util.List<net.minecraft.util.text.ITextComponent> curInfo)
GuiPneumaticContainerBaseaddWarnings in class GuiPneumaticContainerBase<ContainerUniversalSensor,TileEntityUniversalSensor>curInfo - string list to append to, which may already contain some problem textprotected void addProblems(java.util.List<net.minecraft.util.text.ITextComponent> curInfo)
GuiPneumaticContainerBaseaddProblems in class GuiPneumaticContainerBase<ContainerUniversalSensor,TileEntityUniversalSensor>curInfo - string list to append to