Class BlueprintScreen
java.lang.Object
net.minecraft.client.gui.GuiComponent
net.minecraft.client.gui.components.events.AbstractContainerEventHandler
net.minecraft.client.gui.screens.Screen
net.minecraft.client.gui.screens.inventory.AbstractContainerScreen<T>
com.simibubi.create.foundation.gui.container.AbstractSimiContainerScreen<BlueprintContainer>
com.simibubi.create.content.curiosities.tools.BlueprintScreen
- All Implemented Interfaces:
net.minecraft.client.gui.components.events.ContainerEventHandler,net.minecraft.client.gui.components.events.GuiEventListener,net.minecraft.client.gui.components.Widget,net.minecraft.client.gui.screens.inventory.MenuAccess<BlueprintContainer>
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.client.gui.screens.Screen
net.minecraft.client.gui.screens.Screen.NarratableSearchResult -
Field Summary
FieldsFields inherited from class com.simibubi.create.foundation.gui.container.AbstractSimiContainerScreen
windowXOffset, windowYOffsetFields inherited from class net.minecraft.client.gui.screens.inventory.AbstractContainerScreen
hoveredSlot, imageHeight, imageWidth, INVENTORY_LOCATION, inventoryLabelX, inventoryLabelY, isQuickCrafting, leftPos, menu, playerInventoryTitle, quickCraftSlots, SLOT_ITEM_BLIT_OFFSET, slotColor, titleLabelX, titleLabelY, topPosFields inherited from class net.minecraft.client.gui.screens.Screen
font, height, itemRenderer, minecraft, passEvents, renderables, title, widthFields inherited from class net.minecraft.client.gui.GuiComponent
BACKGROUND_LOCATION, GUI_ICONS_LOCATION, STATS_ICON_LOCATION -
Constructor Summary
ConstructorsConstructorDescriptionBlueprintScreen(BlueprintContainer container, net.minecraft.world.entity.player.Inventory inv, net.minecraft.network.chat.Component title) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidprotected voidList<net.minecraft.client.renderer.Rect2i>Used for moving JEI out of the way of extra things like block renders.List<net.minecraft.network.chat.Component>getTooltipFromItem(net.minecraft.world.item.ItemStack stack) protected voidinit()protected voidrenderBg(com.mojang.blaze3d.vertex.PoseStack ms, float partialTicks, int mouseX, int mouseY) protected voidrenderTooltip(com.mojang.blaze3d.vertex.PoseStack ms, int x, int y) protected voidMethods inherited from class com.simibubi.create.foundation.gui.container.AbstractSimiContainerScreen
addRenderableWidgets, addRenderableWidgets, debugExtraAreas, debugWindowArea, getLeftOfCentered, removeWidgets, removeWidgets, render, renderForeground, renderLabels, renderPlayerInventory, setWindowOffset, setWindowSizeMethods inherited from class net.minecraft.client.gui.screens.inventory.AbstractContainerScreen
checkHotbarKeyPressed, getGuiLeft, getGuiTop, getMenu, getSlotColor, getSlotUnderMouse, getXSize, getYSize, hasClickedOutside, isHovering, isPauseScreen, keyPressed, mouseClicked, mouseDragged, mouseReleased, onClose, removed, renderSlotHighlight, renderSlotHighlight, slotClicked, tickMethods inherited from class net.minecraft.client.gui.screens.Screen
addRenderableOnly, addRenderableWidget, addWidget, afterKeyboardAction, afterMouseAction, afterMouseMove, children, clearWidgets, findNarratableWidget, getMinecraft, getNarrationMessage, getTitle, handleComponentClicked, handleDelayedNarration, hasAltDown, hasControlDown, hasShiftDown, init, insertText, isCopy, isCut, isMouseOver, isPaste, isSelectAll, isValidCharacterForName, narrationEnabled, onFilesDrop, removeWidget, renderBackground, renderBackground, renderComponentHoverEffect, renderComponentTooltip, renderComponentTooltip, renderComponentTooltip, renderComponentTooltip, renderDirtBackground, renderTooltip, renderTooltip, renderTooltip, renderTooltip, renderTooltip, renderTooltip, renderTooltip, renderTooltip, resize, sendMessage, sendMessage, shouldCloseOnEsc, triggerImmediateNarration, updateNarratedWidget, updateNarrationState, wrapScreenErrorMethods inherited from class net.minecraft.client.gui.components.events.AbstractContainerEventHandler
getFocused, isDragging, setDragging, setFocusedMethods inherited from class net.minecraft.client.gui.GuiComponent
blit, blit, blit, blit, blit, blitOutlineBlack, drawCenteredString, drawCenteredString, drawCenteredString, drawString, drawString, drawString, fill, fillGradient, fillGradient, fillGradient, getBlitOffset, hLine, setBlitOffset, vLineMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.client.gui.components.events.ContainerEventHandler
changeFocus, charTyped, getChildAt, keyReleased, magicalSpecialHackyFocus, mouseScrolled, setInitialFocusMethods inherited from interface net.minecraft.client.gui.components.events.GuiEventListener
mouseMoved
-
Field Details
-
background
-
-
Constructor Details
-
BlueprintScreen
public BlueprintScreen(BlueprintContainer container, net.minecraft.world.entity.player.Inventory inv, net.minecraft.network.chat.Component title)
-
-
Method Details
-
init
protected void init()- Overrides:
initin classAbstractSimiContainerScreen<BlueprintContainer>
-
renderBg
protected void renderBg(com.mojang.blaze3d.vertex.PoseStack ms, float partialTicks, int mouseX, int mouseY) - Specified by:
renderBgin classnet.minecraft.client.gui.screens.inventory.AbstractContainerScreen<BlueprintContainer>
-
renderTooltip
protected void renderTooltip(com.mojang.blaze3d.vertex.PoseStack ms, int x, int y) - Overrides:
renderTooltipin classnet.minecraft.client.gui.screens.inventory.AbstractContainerScreen<BlueprintContainer>
-
getTooltipFromItem
public List<net.minecraft.network.chat.Component> getTooltipFromItem(net.minecraft.world.item.ItemStack stack) - Overrides:
getTooltipFromItemin classnet.minecraft.client.gui.screens.Screen
-
containerTick
protected void containerTick()- Overrides:
containerTickin classAbstractSimiContainerScreen<BlueprintContainer>
-
contentsCleared
protected void contentsCleared() -
sendOptionUpdate
-
getExtraAreas
Description copied from class:AbstractSimiContainerScreenUsed for moving JEI out of the way of extra things like block renders.- Overrides:
getExtraAreasin classAbstractSimiContainerScreen<BlueprintContainer>- Returns:
- the space that the GUI takes up outside the normal rectangle defined by
ContainerScreen.
-