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) |
drawGuiContainerForegroundLayer, func_195363_d, getContainer, getGuiLeft, getGuiTop, getSlotColor, getSlotUnderMouse, getXSize, getYSize, handleMouseClick, hasClickedOutside, init, isPauseScreen, isPointInRegion, keyPressed, mouseClicked, mouseDragged, mouseReleased, removed, render, renderHoveredToolTip, shouldCloseOnEsc, tickaddButton, 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, wrapScreenErrorgetFocused, isDragging, setDragging, setFocusedblit, blit, blit, blit, blit, drawCenteredString, drawRightAlignedString, drawString, fill, fillGradient, hLine, innerBlit, vLineclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitprotected 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>