Class MicromissileScreen

java.lang.Object
net.minecraft.client.gui.GuiComponent
net.minecraft.client.gui.components.events.AbstractContainerEventHandler
net.minecraft.client.gui.screens.Screen
me.desht.pneumaticcraft.client.gui.AbstractPneumaticCraftScreen
me.desht.pneumaticcraft.client.gui.MicromissileScreen
All Implemented Interfaces:
net.minecraft.client.gui.components.events.ContainerEventHandler, net.minecraft.client.gui.components.events.GuiEventListener, net.minecraft.client.gui.components.Renderable

public class MicromissileScreen extends AbstractPneumaticCraftScreen
  • 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 inherited from class me.desht.pneumaticcraft.client.gui.AbstractPneumaticCraftScreen

    guiLeft, guiTop, xSize, ySize

    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

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

    DOUBLE_CLICK_THRESHOLD_MS
  • Method Summary

    Modifier and Type
    Method
    Description
    protected void
    drawForeground(com.mojang.blaze3d.vertex.PoseStack matrixStack, int x, int y, float partialTicks)
    Do GUI-specific foreground drawing here rather than overriding render(), so that tooltips drawn by render are drawn last and stay on top.
    protected net.minecraft.resources.ResourceLocation
     
    void
     
    boolean
     
    boolean
    mouseClicked(double mouseX, double mouseY, int mouseButton)
     
    boolean
    mouseDragged(double mouseX, double mouseY, int mouseButton, double dx, double dy)
     
    boolean
    mouseReleased(double mouseX, double mouseY, int mouseButton)
     
    static void
    openGui(net.minecraft.network.chat.Component title, net.minecraft.world.InteractionHand handIn)
     
    void
    render(com.mojang.blaze3d.vertex.PoseStack matrixStack, int x, int y, float partialTicks)
     
    void
     

    Methods inherited from class me.desht.pneumaticcraft.client.gui.AbstractPneumaticCraftScreen

    addLabel, addLabel

    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, hideWidgets, init, insertText, isCopy, isCut, isMouseOver, isPaste, isSelectAll, isValidCharacterForName, keyPressed, narrationEnabled, onClose, onFilesDrop, rebuildWidgets, removed, removeWidget, renderBackground, renderBackground, renderComponentHoverEffect, renderComponentTooltip, renderComponentTooltip, renderComponentTooltip, renderComponentTooltip, renderDirtBackground, renderTooltip, renderTooltip, renderTooltip, renderTooltip, renderTooltip, renderTooltip, renderTooltip, renderTooltip, renderWithTooltip, resize, setTooltipForNextRenderPass, setTooltipForNextRenderPass, setTooltipForNextRenderPass, setTooltipForNextRenderPass, 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, disableScissor, drawCenteredString, drawCenteredString, drawCenteredString, drawString, drawString, drawString, enableScissor, 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
  • Method Details

    • openGui

      public static void openGui(net.minecraft.network.chat.Component title, net.minecraft.world.InteractionHand handIn)
    • init

      public void init()
      Overrides:
      init in class AbstractPneumaticCraftScreen
    • render

      public void render(com.mojang.blaze3d.vertex.PoseStack matrixStack, int x, int y, float partialTicks)
      Specified by:
      render in interface net.minecraft.client.gui.components.Renderable
      Overrides:
      render in class AbstractPneumaticCraftScreen
    • drawForeground

      protected void drawForeground(com.mojang.blaze3d.vertex.PoseStack matrixStack, int x, int y, float partialTicks)
      Description copied from class: AbstractPneumaticCraftScreen
      Do GUI-specific foreground drawing here rather than overriding render(), so that tooltips drawn by render are drawn last and stay on top.
      Overrides:
      drawForeground in class AbstractPneumaticCraftScreen
      Parameters:
      matrixStack - the matrix stack
      x - mouse X
      y - mouse Y
      partialTicks - partial ticks
    • tick

      public void tick()
      Overrides:
      tick in class AbstractPneumaticCraftScreen
    • isPauseScreen

      public boolean isPauseScreen()
      Overrides:
      isPauseScreen in class net.minecraft.client.gui.screens.Screen
    • getTexture

      protected net.minecraft.resources.ResourceLocation getTexture()
      Specified by:
      getTexture in class AbstractPneumaticCraftScreen
    • mouseClicked

      public boolean mouseClicked(double mouseX, double mouseY, int mouseButton)
    • mouseReleased

      public boolean mouseReleased(double mouseX, double mouseY, int mouseButton)
    • mouseDragged

      public boolean mouseDragged(double mouseX, double mouseY, int mouseButton, double dx, double dy)