Class SchematicannonScreen

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<SchematicannonContainer>
com.simibubi.create.content.schematics.block.SchematicannonScreen
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<SchematicannonContainer>

public class SchematicannonScreen extends AbstractSimiContainerScreen<SchematicannonContainer>
  • Nested Class Summary

    Nested classes/interfaces inherited from class net.minecraft.client.gui.screens.Screen

    net.minecraft.client.gui.screens.Screen.NarratableSearchResult
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected IconButton
     
    protected Indicator
     
    protected List<net.minecraft.client.gui.components.AbstractWidget>
     
    protected IconButton
     
    protected Indicator
     
    protected Vector<IconButton>
     
    protected Vector<Indicator>
     
    protected IconButton
     
    protected Indicator
     
    protected IconButton
     
    protected Indicator
     
    protected IconButton
     
    protected Indicator
     

    Fields inherited from class com.simibubi.create.foundation.gui.container.AbstractSimiContainerScreen

    windowXOffset, windowYOffset

    Fields 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, topPos

    Fields inherited from class net.minecraft.client.gui.screens.Screen

    font, height, itemRenderer, minecraft, passEvents, renderables, title, width

    Fields inherited from class net.minecraft.client.gui.GuiComponent

    BACKGROUND_LOCATION, GUI_ICONS_LOCATION, STATS_ICON_LOCATION
  • Constructor Summary

    Constructors
    Constructor
    Description
    SchematicannonScreen(SchematicannonContainer container, net.minecraft.world.entity.player.Inventory inventory, net.minecraft.network.chat.Component title)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected void
     
    List<net.minecraft.client.renderer.Rect2i>
    Used for moving JEI out of the way of extra things like block renders.
    protected List<net.minecraft.network.chat.Component>
     
    protected void
     
    protected void
     
    protected boolean
     
    protected void
    renderBg(com.mojang.blaze3d.vertex.PoseStack ms, float partialTicks, int mouseX, int mouseY)
     
    protected void
    renderBlueprintHighlight(com.mojang.blaze3d.vertex.PoseStack matrixStack, int x, int y)
     
    protected void
    renderChecklistPrinterProgress(com.mojang.blaze3d.vertex.PoseStack matrixStack, int x, int y, float progress)
     
    protected void
    renderForeground(com.mojang.blaze3d.vertex.PoseStack matrixStack, int mouseX, int mouseY, float partialTicks)
     
    protected void
    renderFuelBar(com.mojang.blaze3d.vertex.PoseStack matrixStack, int x, int y, float amount)
     
    protected void
    renderPrintingProgress(com.mojang.blaze3d.vertex.PoseStack matrixStack, int x, int y, float progress)
     
    protected void
     

    Methods 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, renderTooltip, slotClicked, tick

    Methods inherited from class net.minecraft.client.gui.screens.Screen

    addRenderableOnly, addRenderableWidget, addWidget, afterKeyboardAction, afterMouseAction, afterMouseMove, children, clearWidgets, findNarratableWidget, getMinecraft, getNarrationMessage, getTitle, getTooltipFromItem, 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, wrapScreenError

    Methods inherited from class net.minecraft.client.gui.components.events.AbstractContainerEventHandler

    getFocused, isDragging, setDragging, setFocused

    Methods 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, vLine

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface net.minecraft.client.gui.components.events.ContainerEventHandler

    changeFocus, charTyped, getChildAt, keyReleased, magicalSpecialHackyFocus, mouseScrolled, setInitialFocus

    Methods inherited from interface net.minecraft.client.gui.components.events.GuiEventListener

    mouseMoved
  • Field Details

    • replaceLevelIndicators

      protected Vector<Indicator> replaceLevelIndicators
    • replaceLevelButtons

      protected Vector<IconButton> replaceLevelButtons
    • skipMissingButton

      protected IconButton skipMissingButton
    • skipMissingIndicator

      protected Indicator skipMissingIndicator
    • skipTilesButton

      protected IconButton skipTilesButton
    • skipTilesIndicator

      protected Indicator skipTilesIndicator
    • playButton

      protected IconButton playButton
    • playIndicator

      protected Indicator playIndicator
    • pauseButton

      protected IconButton pauseButton
    • pauseIndicator

      protected Indicator pauseIndicator
    • resetButton

      protected IconButton resetButton
    • resetIndicator

      protected Indicator resetIndicator
    • placementSettingWidgets

      protected List<net.minecraft.client.gui.components.AbstractWidget> placementSettingWidgets
  • Constructor Details

    • SchematicannonScreen

      public SchematicannonScreen(SchematicannonContainer container, net.minecraft.world.entity.player.Inventory inventory, net.minecraft.network.chat.Component title)
  • Method Details

    • init

      protected void init()
      Overrides:
      init in class AbstractSimiContainerScreen<SchematicannonContainer>
    • placementSettingsHidden

      protected boolean placementSettingsHidden()
    • containerTick

      protected void containerTick()
      Overrides:
      containerTick in class AbstractSimiContainerScreen<SchematicannonContainer>
    • handleTooltips

      protected void handleTooltips()
    • renderBg

      protected void renderBg(com.mojang.blaze3d.vertex.PoseStack ms, float partialTicks, int mouseX, int mouseY)
      Specified by:
      renderBg in class net.minecraft.client.gui.screens.inventory.AbstractContainerScreen<SchematicannonContainer>
    • renderBlueprintHighlight

      protected void renderBlueprintHighlight(com.mojang.blaze3d.vertex.PoseStack matrixStack, int x, int y)
    • renderPrintingProgress

      protected void renderPrintingProgress(com.mojang.blaze3d.vertex.PoseStack matrixStack, int x, int y, float progress)
    • renderChecklistPrinterProgress

      protected void renderChecklistPrinterProgress(com.mojang.blaze3d.vertex.PoseStack matrixStack, int x, int y, float progress)
    • renderFuelBar

      protected void renderFuelBar(com.mojang.blaze3d.vertex.PoseStack matrixStack, int x, int y, float amount)
    • renderForeground

      protected void renderForeground(com.mojang.blaze3d.vertex.PoseStack matrixStack, int mouseX, int mouseY, float partialTicks)
      Overrides:
      renderForeground in class AbstractSimiContainerScreen<SchematicannonContainer>
    • getFuelLevelTooltip

      protected List<net.minecraft.network.chat.Component> getFuelLevelTooltip(SchematicannonTileEntity te)
    • sendOptionUpdate

      protected void sendOptionUpdate(ConfigureSchematicannonPacket.Option option, boolean set)
    • getExtraAreas

      public List<net.minecraft.client.renderer.Rect2i> getExtraAreas()
      Description copied from class: AbstractSimiContainerScreen
      Used for moving JEI out of the way of extra things like block renders.
      Overrides:
      getExtraAreas in class AbstractSimiContainerScreen<SchematicannonContainer>
      Returns:
      the space that the GUI takes up outside the normal rectangle defined by ContainerScreen.