Class GPSToolScreen

java.lang.Object
net.minecraft.client.gui.components.events.AbstractContainerEventHandler
net.minecraft.client.gui.screens.Screen
me.desht.pneumaticcraft.client.gui.AbstractPneumaticCraftScreen
me.desht.pneumaticcraft.client.gui.GPSToolScreen
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
Direct Known Subclasses:
GPSAreaToolScreen

public class GPSToolScreen 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
    Modifier and Type
    Field
    Description
    protected final net.minecraft.world.InteractionHand
     
    protected boolean
     
     
    protected final WidgetTextFieldNumber[]
     
    protected WidgetTextField
     
     

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

    guiLeft, guiTop, xSize, ySize

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

    BACKGROUND_LOCATION, font, height, minecraft, renderables, screenExecutor, title, width

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

    DOUBLE_CLICK_THRESHOLD_MS
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
    GPSToolScreen(net.minecraft.network.chat.Component title, net.minecraft.world.InteractionHand hand, net.minecraft.core.BlockPos gpsLoc, String oldVarName)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected net.minecraft.core.BlockPos
     
    protected int
     
    protected net.minecraft.resources.ResourceLocation
     
    void
     
    void
     
    void
    render(net.minecraft.client.gui.GuiGraphics graphics, int mouseX, int mouseY, float partialTicks)
     
    static void
    showGUI(net.minecraft.world.item.ItemStack stack, net.minecraft.world.InteractionHand handIn, net.minecraft.core.BlockPos pos)
     
    protected void
     
    protected void
     

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

    addLabel, addLabel, drawForeground, tick

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

    added, addRenderableOnly, addRenderableWidget, addWidget, afterKeyboardAction, afterMouseAction, afterMouseMove, changeFocus, children, clearWidgets, findNarratableWidget, getBackgroundMusic, getMinecraft, getNarrationMessage, getRectangle, getTitle, getTooltipFromItem, handleComponentClicked, handleDelayedNarration, hasAltDown, hasControlDown, hasShiftDown, hideWidgets, init, insertText, isCopy, isCut, isMouseOver, isPaste, isPauseScreen, isSelectAll, isValidCharacterForName, keyPressed, narrationEnabled, onClose, onFilesDrop, rebuildWidgets, removeWidget, renderBackground, renderDirtBackground, renderWithTooltip, repositionElements, resize, setInitialFocus, setTooltipForNextRenderPass, setTooltipForNextRenderPass, setTooltipForNextRenderPass, setTooltipForNextRenderPass, shouldCloseOnEsc, shouldNarrateNavigation, triggerImmediateNarration, updateNarratedWidget, updateNarrationState, wrapScreenError

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

    getFocused, 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, magicalSpecialHackyFocus, mouseClicked, mouseDragged, mouseReleased, 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

  • Constructor Details

    • GPSToolScreen

      protected GPSToolScreen(net.minecraft.network.chat.Component title, net.minecraft.world.InteractionHand hand, net.minecraft.core.BlockPos gpsLoc, String oldVarName)
  • Method Details

    • showGUI

      public static void showGUI(net.minecraft.world.item.ItemStack stack, net.minecraft.world.InteractionHand handIn, net.minecraft.core.BlockPos pos)
    • init

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

      protected net.minecraft.core.BlockPos getBlockPos()
    • toggleVarType

      protected void toggleVarType()
    • render

      public void render(net.minecraft.client.gui.GuiGraphics graphics, int mouseX, int mouseY, float partialTicks)
      Specified by:
      render in interface net.minecraft.client.gui.components.Renderable
      Overrides:
      render in class AbstractPneumaticCraftScreen
    • removed

      public void removed()
      Overrides:
      removed in class net.minecraft.client.gui.screens.Screen
    • syncToServer

      protected void syncToServer()
    • getIndex

      protected int getIndex()
    • getTexture

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