public class UContainerScreen<T extends net.minecraft.inventory.container.Container>
extends net.minecraft.client.gui.screen.inventory.ContainerScreen<T>
Modifier and Type | Field and Description |
---|---|
protected net.minecraft.util.ResourceLocation |
background |
protected int |
backgroundHeight |
protected int |
backgroundWidth |
container, dragSplitting, dragSplittingSlots, guiLeft, guiTop, hoveredSlot, INVENTORY_BACKGROUND, playerInventory, slotColor, xSize, ySize
Constructor and Description |
---|
UContainerScreen(T container,
net.minecraft.entity.player.PlayerInventory playerInventory,
net.minecraft.util.text.ITextComponent title,
net.minecraft.util.ResourceLocation background) |
Modifier and Type | Method and Description |
---|---|
protected void |
drawGuiContainerBackgroundLayer(float partialTicks,
int mouseX,
int mouseY) |
void |
setBackground(net.minecraft.util.ResourceLocation background) |
void |
tick() |
drawGuiContainerForegroundLayer, func_195363_d, getContainer, getGuiLeft, getGuiTop, getSlotColor, getSlotUnderMouse, getXSize, getYSize, handleMouseClick, hasClickedOutside, init, isPauseScreen, isPointInRegion, keyPressed, mouseClicked, mouseDragged, mouseReleased, removed, render, renderHoveredToolTip, shouldCloseOnEsc
addButton, children, getMinecraft, getNarrationMessage, getTitle, getTooltipFromItem, handleComponentClicked, hasAltDown, hasControlDown, hasShiftDown, init, insertText, isCopy, isCut, isMouseOver, isPaste, isSelectAll, isValidCharacterForName, onClose, renderBackground, renderBackground, renderComponentHoverEffect, renderDirtBackground, renderTooltip, renderTooltip, renderTooltip, renderTooltip, resize, sendMessage, sendMessage, setSize, wrapScreenError
getFocused, isDragging, setDragging, setFocused
blit, blit, blit, blit, blit, drawCenteredString, drawRightAlignedString, drawString, fill, fill, fillGradient, getBlitOffset, hLine, innerBlit, setBlitOffset, vLine
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
protected net.minecraft.util.ResourceLocation background
protected int backgroundWidth
protected int backgroundHeight
public UContainerScreen(T container, net.minecraft.entity.player.PlayerInventory playerInventory, net.minecraft.util.text.ITextComponent title, net.minecraft.util.ResourceLocation background)
public void setBackground(net.minecraft.util.ResourceLocation background)
protected void drawGuiContainerBackgroundLayer(float partialTicks, int mouseX, int mouseY)
drawGuiContainerBackgroundLayer
in class net.minecraft.client.gui.screen.inventory.ContainerScreen<T extends net.minecraft.inventory.container.Container>
public void tick()
tick
in class net.minecraft.client.gui.screen.inventory.ContainerScreen<T extends net.minecraft.inventory.container.Container>