public class ToolboxScreen extends AbstractSimiContainerScreen<ToolboxContainer>
| Modifier and Type | Field and Description |
|---|---|
protected net.minecraft.inventory.container.Slot |
hoveredToolboxSlot |
widgets, windowXOffset, windowYOffsethoveredSlot, imageHeight, imageWidth, inventory, INVENTORY_LOCATION, inventoryLabelX, inventoryLabelY, isQuickCrafting, leftPos, menu, quickCraftSlots, slotColor, titleLabelX, titleLabelY, topPos| Constructor and Description |
|---|
ToolboxScreen(ToolboxContainer container,
net.minecraft.entity.player.PlayerInventory inv,
net.minecraft.util.text.ITextComponent title) |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<net.minecraft.client.renderer.Rectangle2d> |
getExtraAreas()
Used for moving JEI out of the way of extra things like Flexcrate renders.
|
protected void |
init() |
boolean |
mouseClicked(double x,
double y,
int button) |
void |
render(com.mojang.blaze3d.matrix.MatrixStack matrixStack,
int mouseX,
int mouseY,
float partialTicks) |
protected void |
renderWindow(com.mojang.blaze3d.matrix.MatrixStack ms,
int mouseX,
int mouseY,
float partialTicks) |
protected void |
renderWindowForeground(com.mojang.blaze3d.matrix.MatrixStack matrixStack,
int mouseX,
int mouseY,
float partialTicks) |
void |
setBlitOffset(int p_230926_1_) |
charTyped, debugExtraAreas, debugWindowArea, getItemCountTextScale, getLeftOfCentered, keyPressed, mouseReleased, mouseScrolled, renderBg, renderItemOverlayIntoGUI, renderLabels, renderPlayerInventory, setWindowOffset, setWindowSizecheckHotbarKeyPressed, getGuiLeft, getGuiTop, getMenu, getSlotColor, getSlotUnderMouse, getXSize, getYSize, hasClickedOutside, isHovering, isPauseScreen, mouseDragged, onClose, removed, renderTooltip, slotClicked, tickaddButton, 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, wrapScreenErrorgetFocused, isDragging, setDragging, setFocusedblit, blit, blit, blit, blit, blitOutlineBlack, drawCenteredString, drawCenteredString, drawString, drawString, fill, fillGradient, fillGradient, getBlitOffset, hLine, vLineclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpublic ToolboxScreen(ToolboxContainer container, net.minecraft.entity.player.PlayerInventory inv, net.minecraft.util.text.ITextComponent title)
protected void init()
init in class AbstractSimiContainerScreen<ToolboxContainer>public void render(com.mojang.blaze3d.matrix.MatrixStack matrixStack,
int mouseX,
int mouseY,
float partialTicks)
render in interface net.minecraft.client.gui.IRenderablerender in class AbstractSimiContainerScreen<ToolboxContainer>public void setBlitOffset(int p_230926_1_)
setBlitOffset in class net.minecraft.client.gui.AbstractGuiprotected void renderWindow(com.mojang.blaze3d.matrix.MatrixStack ms,
int mouseX,
int mouseY,
float partialTicks)
renderWindow in class AbstractSimiContainerScreen<ToolboxContainer>protected void renderWindowForeground(com.mojang.blaze3d.matrix.MatrixStack matrixStack,
int mouseX,
int mouseY,
float partialTicks)
renderWindowForeground in class AbstractSimiContainerScreen<ToolboxContainer>public boolean mouseClicked(double x,
double y,
int button)
mouseClicked in interface net.minecraft.client.gui.IGuiEventListenermouseClicked in interface net.minecraft.client.gui.INestedGuiEventHandlermouseClicked in class AbstractSimiContainerScreen<ToolboxContainer>public java.util.List<net.minecraft.client.renderer.Rectangle2d> getExtraAreas()
AbstractSimiContainerScreenThis screen class must be bound to a SlotMover instance for this method to work.
getExtraAreas in class AbstractSimiContainerScreen<ToolboxContainer>ContainerScreen.