Class SchematicannonScreen

java.lang.Object
net.minecraft.client.gui.components.events.AbstractContainerEventHandler
net.minecraft.client.gui.screens.Screen
net.minecraft.client.gui.screens.inventory.AbstractContainerScreen<SchematicannonMenu>
com.simibubi.create.foundation.gui.menu.AbstractSimiContainerScreen<SchematicannonMenu>
com.simibubi.create.content.schematics.cannon.SchematicannonScreen
All Implemented Interfaces:
net.minecraft.client.gui.components.events.ContainerEventHandler, net.minecraft.client.gui.components.events.GuiEventListener, net.minecraft.client.gui.components.Renderable, net.minecraft.client.gui.components.TabOrderedElement, net.minecraft.client.gui.screens.inventory.MenuAccess<SchematicannonMenu>

public class SchematicannonScreen extends AbstractSimiContainerScreen<SchematicannonMenu>
  • 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 List<IconButton>
     
    protected List<Indicator>
     
    protected IconButton
     
    protected Indicator
     
    protected IconButton
     
    protected Indicator
     
    protected IconButton
     
    protected Indicator
     

    Fields inherited from class com.simibubi.create.foundation.gui.menu.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

    CUBE_MAP, font, FOOTER_SEPARATOR, HEADER_SEPARATOR, height, INWORLD_FOOTER_SEPARATOR, INWORLD_HEADER_SEPARATOR, MENU_BACKGROUND, minecraft, narratorButton, PANORAMA, renderables, screenExecutor, title, width

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

    DOUBLE_CLICK_THRESHOLD_MS
  • Constructor Summary

    Constructors
    Constructor
    Description
    SchematicannonScreen(SchematicannonMenu menu, 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(net.minecraft.client.gui.GuiGraphics graphics, float partialTicks, int mouseX, int mouseY)
     
    protected void
    renderBlueprintHighlight(net.minecraft.client.gui.GuiGraphics graphics, int x, int y)
     
    protected void
    renderChecklistPrinterProgress(net.minecraft.client.gui.GuiGraphics graphics, int x, int y, float progress)
     
    protected void
    renderForeground(net.minecraft.client.gui.GuiGraphics graphics, int mouseX, int mouseY, float partialTicks)
     
    protected void
    renderFuelBar(net.minecraft.client.gui.GuiGraphics graphics, int x, int y, float amount)
     
    protected void
    renderPrintingProgress(net.minecraft.client.gui.GuiGraphics graphics, int x, int y, float progress)
     
    protected void
     

    Methods inherited from class net.minecraft.client.gui.screens.inventory.AbstractContainerScreen

    checkHotbarKeyPressed, clearDraggingState, getGuiLeft, getGuiTop, getMenu, getSlotColor, getSlotUnderMouse, getTooltipFromContainerItem, getXSize, getYSize, handleSlotStateChanged, hasClickedOutside, isHovering, isPauseScreen, mouseDragged, mouseReleased, onClose, removed, renderBackground, renderSlot, renderSlotContents, renderSlotHighlight, renderSlotHighlight, renderSlotHighlight, renderTooltip, slotClicked, tick

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

    added, addRenderableOnly, addRenderableWidget, addWidget, afterKeyboardAction, afterMouseAction, afterMouseMove, changeFocus, children, clearFocus, clearTooltipForNextRenderPass, clearWidgets, findNarratableWidget, getBackgroundMusic, getMinecraft, getNarrationMessage, getRectangle, getTitle, getTooltipFromItem, getUsageNarration, handleComponentClicked, handleDelayedNarration, hasAltDown, hasControlDown, hasShiftDown, init, insertText, isCopy, isCut, isMouseOver, isPaste, isSelectAll, isValidCharacterForName, onFilesDrop, rebuildWidgets, removeWidget, renderBlurredBackground, renderMenuBackground, renderMenuBackground, renderMenuBackgroundTexture, renderPanorama, renderTransparentBackground, renderWithTooltip, repositionElements, resize, setInitialFocus, setInitialFocus, setTooltipForNextRenderPass, setTooltipForNextRenderPass, setTooltipForNextRenderPass, setTooltipForNextRenderPass, shouldCloseOnEsc, shouldNarrateNavigation, triggerImmediateNarration, updateNarratedWidget, updateNarrationState, updateNarratorStatus, wrapScreenError

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

    isDragging, setDragging, setFocused

    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

    charTyped, getChildAt, getCurrentFocusPath, isFocused, keyReleased, mouseScrolled, nextFocusPath, setFocused

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

    mouseMoved

    Methods inherited from interface net.minecraft.client.gui.components.TabOrderedElement

    getTabOrderGroup
  • Field Details

    • replaceLevelIndicators

      protected List<Indicator> replaceLevelIndicators
    • replaceLevelButtons

      protected List<IconButton> replaceLevelButtons
    • skipMissingButton

      protected IconButton skipMissingButton
    • skipMissingIndicator

      protected Indicator skipMissingIndicator
    • skipBlockEntitiesButton

      protected IconButton skipBlockEntitiesButton
    • skipBlockEntitiesIndicator

      protected Indicator skipBlockEntitiesIndicator
    • 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(SchematicannonMenu menu, net.minecraft.world.entity.player.Inventory inventory, net.minecraft.network.chat.Component title)
  • Method Details

    • init

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

      protected boolean placementSettingsHidden()
    • containerTick

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

      protected void handleTooltips()
    • renderBg

      protected void renderBg(net.minecraft.client.gui.GuiGraphics graphics, float partialTicks, int mouseX, int mouseY)
      Specified by:
      renderBg in class net.minecraft.client.gui.screens.inventory.AbstractContainerScreen<SchematicannonMenu>
    • renderBlueprintHighlight

      protected void renderBlueprintHighlight(net.minecraft.client.gui.GuiGraphics graphics, int x, int y)
    • renderPrintingProgress

      protected void renderPrintingProgress(net.minecraft.client.gui.GuiGraphics graphics, int x, int y, float progress)
    • renderChecklistPrinterProgress

      protected void renderChecklistPrinterProgress(net.minecraft.client.gui.GuiGraphics graphics, int x, int y, float progress)
    • renderFuelBar

      protected void renderFuelBar(net.minecraft.client.gui.GuiGraphics graphics, int x, int y, float amount)
    • renderForeground

      protected void renderForeground(net.minecraft.client.gui.GuiGraphics graphics, int mouseX, int mouseY, float partialTicks)
      Overrides:
      renderForeground in class AbstractSimiContainerScreen<SchematicannonMenu>
    • getFuelLevelTooltip

      protected List<net.minecraft.network.chat.Component> getFuelLevelTooltip(SchematicannonBlockEntity be)
    • 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<SchematicannonMenu>
      Returns:
      the space that the GUI takes up outside the normal rectangle defined by ContainerScreen.