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
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.client.gui.screens.Screen
net.minecraft.client.gui.screens.Screen.NarratableSearchResult -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final net.minecraft.world.InteractionHandprotected booleanprotected WidgetButtonExtendedprotected final WidgetTextFieldNumber[]protected WidgetTextFieldprotected WidgetButtonExtendedFields inherited from class me.desht.pneumaticcraft.client.gui.AbstractPneumaticCraftScreen
guiLeft, guiTop, xSize, ySizeFields inherited from class net.minecraft.client.gui.screens.Screen
BACKGROUND_LOCATION, font, height, minecraft, renderables, screenExecutor, title, widthFields inherited from interface net.minecraft.client.gui.components.events.GuiEventListener
DOUBLE_CLICK_THRESHOLD_MS -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedGPSToolScreen(net.minecraft.network.chat.Component title, net.minecraft.world.InteractionHand hand, net.minecraft.core.BlockPos gpsLoc, String oldVarName) -
Method Summary
Modifier and TypeMethodDescriptionprotected net.minecraft.core.BlockPosprotected intgetIndex()protected net.minecraft.resources.ResourceLocationvoidinit()voidremoved()voidrender(net.minecraft.client.gui.GuiGraphics graphics, int mouseX, int mouseY, float partialTicks) static voidshowGUI(net.minecraft.world.item.ItemStack stack, net.minecraft.world.InteractionHand handIn, net.minecraft.core.BlockPos pos) protected voidprotected voidMethods inherited from class me.desht.pneumaticcraft.client.gui.AbstractPneumaticCraftScreen
addLabel, addLabel, drawForeground, tickMethods 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, wrapScreenErrorMethods inherited from class net.minecraft.client.gui.components.events.AbstractContainerEventHandler
getFocused, isDragging, setDragging, setFocusedMethods 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
charTyped, getChildAt, getCurrentFocusPath, isFocused, keyReleased, magicalSpecialHackyFocus, mouseClicked, mouseDragged, mouseReleased, mouseScrolled, nextFocusPath, setFocusedMethods inherited from interface net.minecraft.client.gui.components.events.GuiEventListener
mouseMovedMethods inherited from interface net.minecraft.client.gui.components.TabOrderedElement
getTabOrderGroup
-
Field Details
-
textFields
-
variableField
-
varTypeButton
-
teleportButton
-
hand
protected final net.minecraft.world.InteractionHand hand -
playerGlobal
protected boolean playerGlobal
-
-
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:
initin classAbstractPneumaticCraftScreen
-
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:
renderin interfacenet.minecraft.client.gui.components.Renderable- Overrides:
renderin classAbstractPneumaticCraftScreen
-
removed
public void removed()- Overrides:
removedin classnet.minecraft.client.gui.screens.Screen
-
syncToServer
protected void syncToServer() -
getIndex
protected int getIndex() -
getTexture
protected net.minecraft.resources.ResourceLocation getTexture()- Specified by:
getTexturein classAbstractPneumaticCraftScreen
-