public class InfuserScreen extends net.minecraft.client.gui.screen.inventory.ContainerScreen<InfuserContainer>
Modifier and Type | Field and Description |
---|---|
static net.minecraft.util.ResourceLocation |
infuserGuiTextures |
hoveredSlot, imageHeight, imageWidth, inventory, INVENTORY_LOCATION, inventoryLabelX, inventoryLabelY, isQuickCrafting, leftPos, menu, quickCraftSlots, slotColor, titleLabelX, titleLabelY, topPos
Constructor and Description |
---|
InfuserScreen(InfuserContainer tileInfuser,
net.minecraft.entity.player.PlayerInventory inventoryPlayer,
net.minecraft.util.text.ITextComponent title) |
Modifier and Type | Method and Description |
---|---|
void |
render(com.mojang.blaze3d.matrix.MatrixStack matrix,
int mouseX,
int mouseY,
float partialTicks)
Draws the screen and all the components in it.
|
protected void |
renderBg(com.mojang.blaze3d.matrix.MatrixStack matrix,
float partialTicks,
int x,
int y) |
protected void |
renderLabels(com.mojang.blaze3d.matrix.MatrixStack matrix,
int x,
int y)
Draw the foreground layer for the GuiContainer (everything in front of the items)
|
checkHotbarKeyPressed, getGuiLeft, getGuiTop, getMenu, getSlotColor, getSlotUnderMouse, getXSize, getYSize, hasClickedOutside, init, isHovering, isPauseScreen, keyPressed, mouseClicked, mouseDragged, mouseReleased, onClose, removed, renderTooltip, slotClicked, tick
addButton, addWidget, 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, wrapScreenError
getFocused, isDragging, setDragging, setFocused
blit, blit, blit, blit, blit, blitOutlineBlack, drawCenteredString, drawCenteredString, drawString, drawString, fill, fillGradient, fillGradient, getBlitOffset, hLine, setBlitOffset, vLine
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public static final net.minecraft.util.ResourceLocation infuserGuiTextures
public InfuserScreen(InfuserContainer tileInfuser, net.minecraft.entity.player.PlayerInventory inventoryPlayer, net.minecraft.util.text.ITextComponent title)
public void render(com.mojang.blaze3d.matrix.MatrixStack matrix, int mouseX, int mouseY, float partialTicks)
render
in interface net.minecraft.client.gui.IRenderable
render
in class net.minecraft.client.gui.screen.inventory.ContainerScreen<InfuserContainer>
protected void renderLabels(com.mojang.blaze3d.matrix.MatrixStack matrix, int x, int y)
renderLabels
in class net.minecraft.client.gui.screen.inventory.ContainerScreen<InfuserContainer>
protected void renderBg(com.mojang.blaze3d.matrix.MatrixStack matrix, float partialTicks, int x, int y)
renderBg
in class net.minecraft.client.gui.screen.inventory.ContainerScreen<InfuserContainer>