T - The TileWorking class, mostly just the extension class.public abstract class ContainerScreenTileWorking<C extends ContainerTileWorking<T>,T extends TileWorking<T,?>> extends ContainerScreenContainerTankInventory<C,T> implements WidgetUpgradeTab.SlotEnabledCallback
TileWorking.| Modifier and Type | Field and Description |
|---|---|
static int |
UPGRADES_OFFSET_X |
container, offsetX, offsetY, texturedragSplitting, dragSplittingSlots, guiLeft, guiTop, hoveredSlot, INVENTORY_BACKGROUND, playerInventory, playerInventoryTitleX, playerInventoryTitleY, slotColor, titleX, titleY, xSize, ySize| Constructor and Description |
|---|
ContainerScreenTileWorking(C container,
net.minecraft.entity.player.PlayerInventory playerInventory,
net.minecraft.util.text.ITextComponent title) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
drawGuiContainerBackgroundLayer(com.mojang.blaze3d.matrix.MatrixStack matrixStack,
float f,
int x,
int y) |
protected int |
getProgressXScaled(int width) |
protected boolean |
isShowProgress() |
boolean |
isSlotEnabled(int upgradeSlotId) |
drawAdditionalForeground, drawBarTooltipTank, drawCurrentScreen, drawForgegroundString, drawGuiContainerForegroundLayer, drawTank, drawTooltips, getName, getProgressYScaled, setProgress, setTank, shouldRenderTankconstructGuiTexture, createServerPressable, drawTooltip, getBaseXSize, getBaseYSize, getGuiLeftTotal, getGuiTexture, getGuiTopTotal, getValueNotifiableType, init, isPointInRegion, isPointInRegion, isSlotSelected, onUpdate, refreshValues, rendercloseScreen, getContainer, getGuiLeft, getGuiTop, getSlotColor, getSlotUnderMouse, getXSize, getYSize, handleMouseClick, hasClickedOutside, isPauseScreen, itemStackMoved, keyPressed, mouseClicked, mouseDragged, mouseReleased, onClose, renderHoveredTooltip, tickaddButton, addListener, addPacks, func_243308_b, getEventListeners, getMinecraft, getNarrationMessage, getTitle, getTooltipFromItem, handleComponentClicked, hasAltDown, hasControlDown, hasShiftDown, init, insertText, isCopy, isCut, isMouseOver, isPaste, isSelectAll, isValidCharacterForName, renderBackground, renderBackground, renderComponentHoverEffect, renderDirtBackground, renderTooltip, renderTooltip, renderTooltip, renderToolTip, renderWrappedToolTip, resize, sendMessage, sendMessage, shouldCloseOnEsc, wrapScreenErrorgetListener, isDragging, setDragging, setListenerblit, blit, blit, blit, blit, blitBlackOutline, drawCenteredString, drawCenteredString, drawString, drawString, fill, fillGradient, fillGradient, getBlitOffset, hLine, setBlitOffset, vLineclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpublic static final int UPGRADES_OFFSET_X
public ContainerScreenTileWorking(C container, net.minecraft.entity.player.PlayerInventory playerInventory, net.minecraft.util.text.ITextComponent title)
public boolean isSlotEnabled(int upgradeSlotId)
isSlotEnabled in interface WidgetUpgradeTab.SlotEnabledCallbackprotected boolean isShowProgress()
isShowProgress in class ContainerScreenContainerTankInventory<C extends ContainerTileWorking<T>,T extends TileWorking<T,?>>protected int getProgressXScaled(int width)
getProgressXScaled in class ContainerScreenContainerTankInventory<C extends ContainerTileWorking<T>,T extends TileWorking<T,?>>protected void drawGuiContainerBackgroundLayer(com.mojang.blaze3d.matrix.MatrixStack matrixStack,
float f,
int x,
int y)
drawGuiContainerBackgroundLayer in class ContainerScreenContainerTankInventory<C extends ContainerTileWorking<T>,T extends TileWorking<T,?>>