Class CartographyTableScreen
java.lang.Object
net.minecraft.client.gui.components.events.AbstractContainerEventHandler
net.minecraft.client.gui.screens.Screen
net.minecraft.client.gui.screens.inventory.AbstractContainerScreen<CartographyTableMenu>
net.minecraft.client.gui.screens.inventory.CartographyTableScreen
- All Implemented Interfaces:
ContainerEventHandler
,GuiEventListener
,Renderable
,TabOrderedElement
,MenuAccess<CartographyTableMenu>
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.client.gui.screens.Screen
Screen.NarratableSearchResult
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final ResourceLocation
private static final ResourceLocation
private static final ResourceLocation
private static final ResourceLocation
private static final ResourceLocation
private static final ResourceLocation
Fields inherited from class net.minecraft.client.gui.screens.inventory.AbstractContainerScreen
hoveredSlot, imageHeight, imageWidth, INVENTORY_LOCATION, inventoryLabelX, inventoryLabelY, isQuickCrafting, leftPos, menu, playerInventoryTitle, quickCraftSlots, SLOT_ITEM_BLIT_OFFSET, slotColor, titleLabelX, titleLabelY, topPos
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
ConstructorDescriptionCartographyTableScreen
(CartographyTableMenu p_98349_, Inventory p_98350_, Component p_98351_) -
Method Summary
Modifier and TypeMethodDescriptionvoid
render
(GuiGraphics p_281331_, int p_281706_, int p_282996_, float p_283037_) protected void
renderBg
(GuiGraphics p_282101_, float p_282697_, int p_282380_, int p_282327_) private void
renderMap
(GuiGraphics p_282298_, Integer p_281648_, MapItemSavedData p_282897_, int p_281632_, int p_282115_, float p_283388_) private void
renderResultingMap
(GuiGraphics p_282167_, Integer p_282064_, MapItemSavedData p_282045_, boolean p_282086_, boolean p_283531_, boolean p_282645_, boolean p_281646_) Methods inherited from class net.minecraft.client.gui.screens.inventory.AbstractContainerScreen
checkHotbarKeyPressed, clearDraggingState, containerTick, getGuiLeft, getGuiTop, getMenu, getSlotColor, getSlotUnderMouse, getTooltipFromContainerItem, getXSize, getYSize, hasClickedOutside, init, isHovering, isPauseScreen, keyPressed, mouseClicked, mouseDragged, mouseReleased, onClose, removed, renderBackground, renderLabels, renderSlotHighlight, renderSlotHighlight, renderTooltip, slotClicked, 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, getUsageNarration, handleComponentClicked, handleDelayedNarration, hasAltDown, hasControlDown, hasShiftDown, hideWidgets, init, insertText, isCopy, isCut, isMouseOver, isPaste, isSelectAll, isValidCharacterForName, narrationEnabled, onFilesDrop, rebuildWidgets, removeWidget, renderDirtBackground, renderTransparentBackground, 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, 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
-
ERROR_SPRITE
-
SCALED_MAP_SPRITE
-
DUPLICATED_MAP_SPRITE
-
MAP_SPRITE
-
LOCKED_SPRITE
-
BG_LOCATION
-
-
Constructor Details
-
CartographyTableScreen
public CartographyTableScreen(CartographyTableMenu p_98349_, Inventory p_98350_, Component p_98351_)
-
-
Method Details
-
render
- Specified by:
render
in interfaceRenderable
- Overrides:
render
in classAbstractContainerScreen<CartographyTableMenu>
-
renderBg
- Specified by:
renderBg
in classAbstractContainerScreen<CartographyTableMenu>
-
renderResultingMap
private void renderResultingMap(GuiGraphics p_282167_, @Nullable Integer p_282064_, @Nullable MapItemSavedData p_282045_, boolean p_282086_, boolean p_283531_, boolean p_282645_, boolean p_281646_) -
renderMap
private void renderMap(GuiGraphics p_282298_, @Nullable Integer p_281648_, @Nullable MapItemSavedData p_282897_, int p_281632_, int p_282115_, float p_283388_)
-