Class PcGuiScreen
-
- All Implemented Interfaces:
-
net.minecraft.client.gui.components.Renderable,net.minecraft.client.gui.components.TabOrderedElement,net.minecraft.client.gui.components.events.ContainerEventHandler,net.minecraft.client.gui.components.events.GuiEventListener,net.minecraft.client.gui.screens.inventory.MenuAccess
public final class PcGuiScreen extends AbstractContainerScreen<PcGuiMenu>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classPcGuiScreen.Companion
-
Field Summary
Fields Modifier and Type Field Description private EditBoxcommandprotected final IntegerimageWidthprotected final IntegerimageHeightprotected final IntegertitleLabelXprotected final IntegertitleLabelYprotected final IntegerinventoryLabelXprotected final IntegerinventoryLabelYprotected final PcGuiMenumenuprotected final ComponentplayerInventoryTitleprotected final SlothoveredSlotprivate final SlotclickedSlotprivate final SlotsnapbackEndprivate final SlotquickdropSlotprivate final SlotlastClickSlotprotected final IntegerleftPosprotected final IntegertopPosprivate final BooleanisSplittingStackprivate final ItemStackdraggingItemprivate final IntegersnapbackStartXprivate final IntegersnapbackStartYprivate final LongsnapbackTimeprivate final ItemStacksnapbackItemprivate final LongquickdropTimeprotected final Set<Slot>quickCraftSlotsprotected final BooleanisQuickCraftingprivate final IntegerquickCraftingTypeprivate final IntegerquickCraftingButtonprivate final BooleanskipNextReleaseprivate final IntegerquickCraftingRemainderprivate final LonglastClickTimeprivate final IntegerlastClickButtonprivate final Booleandoubleclickprivate final ItemStacklastQuickMovedprotected final IntegerslotColorprotected final Componenttitleprivate final List<GuiEventListener>childrenprivate final List<NarratableEntry>narratablesprotected final Minecraftminecraftprivate final Booleaninitializedpublic final Integerwidthpublic final Integerheightpublic final List<Renderable>renderablesprotected final Fontfontprivate final ScreenNarrationCollectornarrationStateprivate final LongnarrationSuppressTimeprivate final LongnextNarrationTimeprotected final CycleButton<NarratorStatus>narratorButtonprivate final NarratableEntrylastNarratableprivate final Screen.DeferredTooltipRenderingdeferredTooltipRenderingprotected final ExecutorscreenExecutorprivate GuiEventListenerfocusedprivate BooleanisDraggingpublic final static PcGuiScreen.CompanionCompanion
-
Constructor Summary
Constructors Constructor Description PcGuiScreen(PcGuiMenu container, Inventory inventory, Component text)
-
Method Summary
Modifier and Type Method Description final EditBoxgetCommand()final UnitsetCommand(EditBox command)Unitrender(GuiGraphics guiGraphics, Integer mouseX, Integer mouseY, Float partialTicks)UnitrenderBg(GuiGraphics guiGraphics, Float partialTicks, Integer gx, Integer gy)BooleankeyPressed(Integer key, Integer b, Integer c)Unitresize(Minecraft minecraft, Integer width, Integer height)UnitrenderLabels(GuiGraphics guiGraphics, Integer mouseX, Integer mouseY)Unitinit()-
Methods inherited from class net.minecraft.client.gui.components.events.AbstractContainerEventHandler
getFocused, isDragging, setDragging, setFocused -
Methods inherited from class net.minecraft.client.gui.screens.Screen
addEventWidget, addRenderableOnly, addRenderableWidget, addWidget, added, afterKeyboardAction, afterMouseAction, afterMouseMove, changeFocus, children, clearFocus, clearTooltipForNextRenderPass, clearWidgets, createArrowEvent, createTabEvent, getBackgroundMusic, getMinecraft, getNarrationMessage, getRectangle, getTitle, getUsageNarration, handleComponentClicked, handleDelayedNarration, init, insertText, isMouseOver, isValidCharacterForName, onFilesDrop, rebuildWidgets, removeWidget, renderBlurredBackground, renderMenuBackground, renderMenuBackground, renderPanorama, renderTransparentBackground, renderWithTooltip, repositionElements, runNarration, scheduleNarration, setInitialFocus, setInitialFocus, setTooltipForNextRenderPass, setTooltipForNextRenderPass, setTooltipForNextRenderPass, setTooltipForNextRenderPass, shouldCloseOnEsc, shouldNarrateNavigation, shouldRunNarration, suppressNarration, triggerImmediateNarration, updateNarratedWidget, updateNarrationState, updateNarratorStatus -
Methods inherited from class net.minecraft.client.gui.components.TabOrderedElement
getTabOrderGroup -
Methods inherited from class net.minecraft.client.gui.components.events.GuiEventListener
mouseMoved -
Methods inherited from class net.minecraft.client.gui.screens.inventory.AbstractContainerScreen
checkHotbarKeyPressed, checkHotbarMouseClicked, clearDraggingState, containerTick, findSlot, getGuiLeft, getGuiTop, getMenu, getSlotColor, getSlotUnderMouse, getTooltipFromContainerItem, getXSize, getYSize, handleSlotStateChanged, hasClickedOutside, isHovering, isHovering, isPauseScreen, mouseClicked, mouseDragged, mouseReleased, onClose, recalculateQuickCraftRemaining, removed, renderBackground, renderFloatingItem, renderSlot, renderSlotContents, renderSlotHighlight, renderTooltip, slotClicked, tick -
Methods inherited from class net.minecraft.client.gui.components.events.ContainerEventHandler
charTyped, getChildAt, getCurrentFocusPath, handleArrowNavigation, handleTabNavigation, isFocused, keyReleased, mouseScrolled, nextFocusPath, nextFocusPathInDirection, nextFocusPathVaguelyInDirection, setFocused -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
PcGuiScreen
PcGuiScreen(PcGuiMenu container, Inventory inventory, Component text)
-
-
Method Detail
-
getCommand
final EditBox getCommand()
-
setCommand
final Unit setCommand(EditBox command)
-
keyPressed
Boolean keyPressed(Integer key, Integer b, Integer c)
-
renderLabels
Unit renderLabels(GuiGraphics guiGraphics, Integer mouseX, Integer mouseY)
-
-
-
-