Class StonecutterScreen
java.lang.Object
net.minecraft.client.gui.components.events.AbstractContainerEventHandler
net.minecraft.client.gui.screens.Screen
net.minecraft.client.gui.screens.inventory.AbstractContainerScreen<StonecutterMenu>
net.minecraft.client.gui.screens.inventory.StonecutterScreen
- All Implemented Interfaces:
- ContainerEventHandler,- GuiEventListener,- Renderable,- TabOrderedElement,- MenuAccess<StonecutterMenu>
- 
Nested Class SummaryNested classes/interfaces inherited from class net.minecraft.client.gui.screens.ScreenScreen.NarratableSearchResult
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprivate static final ResourceLocationprivate booleanprivate static final ResourceLocationprivate static final ResourceLocationprivate static final ResourceLocationprivate static final intprivate static final intprivate static final intprivate static final intprivate static final intprivate static final intprivate static final ResourceLocationprivate static final intprivate static final intprivate static final ResourceLocationprivate static final intprivate booleanprivate floatprivate intFields inherited from class net.minecraft.client.gui.screens.inventory.AbstractContainerScreenhoveredSlot, imageHeight, imageWidth, INVENTORY_LOCATION, inventoryLabelX, inventoryLabelY, isQuickCrafting, leftPos, menu, playerInventoryTitle, quickCraftSlots, SLOT_ITEM_BLIT_OFFSET, slotColor, titleLabelX, titleLabelY, topPosFields inherited from class net.minecraft.client.gui.screens.ScreenBACKGROUND_LOCATION, font, height, minecraft, renderables, screenExecutor, title, widthFields inherited from interface net.minecraft.client.gui.components.events.GuiEventListenerDOUBLE_CLICK_THRESHOLD_MS
- 
Constructor SummaryConstructorsConstructorDescriptionStonecutterScreen(StonecutterMenu p_99310_, Inventory p_99311_, Component p_99312_) 
- 
Method SummaryModifier and TypeMethodDescriptionprivate voidprotected intprivate booleanbooleanmouseClicked(double p_99318_, double p_99319_, int p_99320_) booleanmouseDragged(double p_99322_, double p_99323_, int p_99324_, double p_99325_, double p_99326_) booleanmouseScrolled(double p_99314_, double p_99315_, double p_99316_, double p_295672_) voidrender(GuiGraphics p_281735_, int p_282517_, int p_282840_, float p_282389_) protected voidrenderBg(GuiGraphics p_283115_, float p_282453_, int p_282940_, int p_282328_) private voidrenderButtons(GuiGraphics p_282733_, int p_282136_, int p_282147_, int p_281987_, int p_281276_, int p_282688_) private voidrenderRecipes(GuiGraphics p_281999_, int p_282658_, int p_282563_, int p_283352_) protected voidrenderTooltip(GuiGraphics p_282396_, int p_283157_, int p_282258_) Methods inherited from class net.minecraft.client.gui.screens.inventory.AbstractContainerScreencheckHotbarKeyPressed, clearDraggingState, containerTick, getGuiLeft, getGuiTop, getMenu, getSlotColor, getSlotUnderMouse, getTooltipFromContainerItem, getXSize, getYSize, handleSlotStateChanged, hasClickedOutside, init, isHovering, isPauseScreen, keyPressed, mouseReleased, onClose, removed, renderBackground, renderLabels, renderSlot, renderSlotHighlight, renderSlotHighlight, slotClicked, tickMethods inherited from class net.minecraft.client.gui.screens.Screenadded, addRenderableOnly, addRenderableWidget, addWidget, afterKeyboardAction, afterMouseAction, afterMouseMove, changeFocus, children, clearFocus, 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, wrapScreenErrorMethods inherited from class net.minecraft.client.gui.components.events.AbstractContainerEventHandlergetFocused, isDragging, setDragging, setFocusedMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.client.gui.components.events.ContainerEventHandlercharTyped, getChildAt, getCurrentFocusPath, isFocused, keyReleased, magicalSpecialHackyFocus, nextFocusPath, setFocusedMethods inherited from interface net.minecraft.client.gui.components.events.GuiEventListenermouseMovedMethods inherited from interface net.minecraft.client.gui.components.TabOrderedElementgetTabOrderGroup
- 
Field Details- 
SCROLLER_SPRITE
- 
SCROLLER_DISABLED_SPRITE
- 
RECIPE_SELECTED_SPRITE
- 
RECIPE_HIGHLIGHTED_SPRITE
- 
RECIPE_SPRITE
- 
BG_LOCATION
- 
SCROLLER_WIDTHprivate static final int SCROLLER_WIDTH- See Also:
 
- 
SCROLLER_HEIGHTprivate static final int SCROLLER_HEIGHT- See Also:
 
- 
RECIPES_COLUMNSprivate static final int RECIPES_COLUMNS- See Also:
 
- 
RECIPES_ROWSprivate static final int RECIPES_ROWS- See Also:
 
- 
RECIPES_IMAGE_SIZE_WIDTHprivate static final int RECIPES_IMAGE_SIZE_WIDTH- See Also:
 
- 
RECIPES_IMAGE_SIZE_HEIGHTprivate static final int RECIPES_IMAGE_SIZE_HEIGHT- See Also:
 
- 
SCROLLER_FULL_HEIGHTprivate static final int SCROLLER_FULL_HEIGHT- See Also:
 
- 
RECIPES_Xprivate static final int RECIPES_X- See Also:
 
- 
RECIPES_Yprivate static final int RECIPES_Y- See Also:
 
- 
scrollOffsprivate float scrollOffs
- 
scrollingprivate boolean scrolling
- 
startIndexprivate int startIndex
- 
displayRecipesprivate boolean displayRecipes
 
- 
- 
Constructor Details- 
StonecutterScreen
 
- 
- 
Method Details- 
render- Specified by:
- renderin interface- Renderable
- Overrides:
- renderin class- AbstractContainerScreen<StonecutterMenu>
 
- 
renderBg- Specified by:
- renderBgin class- AbstractContainerScreen<StonecutterMenu>
 
- 
renderTooltip- Overrides:
- renderTooltipin class- AbstractContainerScreen<StonecutterMenu>
 
- 
renderButtonsprivate void renderButtons(GuiGraphics p_282733_, int p_282136_, int p_282147_, int p_281987_, int p_281276_, int p_282688_) 
- 
renderRecipes
- 
mouseClickedpublic boolean mouseClicked(double p_99318_, double p_99319_, int p_99320_) - Specified by:
- mouseClickedin interface- ContainerEventHandler
- Specified by:
- mouseClickedin interface- GuiEventListener
- Overrides:
- mouseClickedin class- AbstractContainerScreen<StonecutterMenu>
 
- 
mouseDraggedpublic boolean mouseDragged(double p_99322_, double p_99323_, int p_99324_, double p_99325_, double p_99326_) - Specified by:
- mouseDraggedin interface- ContainerEventHandler
- Specified by:
- mouseDraggedin interface- GuiEventListener
- Overrides:
- mouseDraggedin class- AbstractContainerScreen<StonecutterMenu>
 
- 
mouseScrolledpublic boolean mouseScrolled(double p_99314_, double p_99315_, double p_99316_, double p_295672_) 
- 
isScrollBarActiveprivate boolean isScrollBarActive()
- 
getOffscreenRowsprotected int getOffscreenRows()
- 
containerChangedprivate void containerChanged()
 
-