Class GPSToolScreen
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.GPSToolScreen
- All Implemented Interfaces:
net.minecraft.client.gui.components.events.ContainerEventHandler,net.minecraft.client.gui.components.events.GuiEventListener,net.minecraft.client.gui.components.Widget
- 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 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
font, height, itemRenderer, minecraft, passEvents, renderables, title, widthFields inherited from class net.minecraft.client.gui.GuiComponent
BACKGROUND_LOCATION, GUI_ICONS_LOCATION, STATS_ICON_LOCATIONFields 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 intgetIndex()protected net.minecraft.resources.ResourceLocationvoidinit()voidremoved()voidrender(com.mojang.blaze3d.vertex.PoseStack matrixStack, 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
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, isPauseScreen, isSelectAll, isValidCharacterForName, keyPressed, narrationEnabled, onClose, 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, wrapScreenErrorMethods inherited from class net.minecraft.client.gui.components.events.AbstractContainerEventHandler
getFocused, isDragging, setDragging, setFocusedMethods 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, vLineMethods 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
changeFocus, charTyped, getChildAt, keyReleased, magicalSpecialHackyFocus, mouseClicked, mouseDragged, mouseReleased, mouseScrolled, setInitialFocusMethods inherited from interface net.minecraft.client.gui.components.events.GuiEventListener
mouseMoved
-
Field Details
-
textFields
-
variableField
-
varTypeButton
-
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
-
toggleVarType
protected void toggleVarType() -
render
public void render(com.mojang.blaze3d.vertex.PoseStack matrixStack, int mouseX, int mouseY, float partialTicks) - Specified by:
renderin interfacenet.minecraft.client.gui.components.Widget- 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
-