类 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
- 所有已实现的接口:
ContainerEventHandler
,GuiEventListener
,Renderable
,TabOrderedElement
,MenuAccess<StonecutterMenu>
-
嵌套类概要
从类继承的嵌套类/接口 net.minecraft.client.gui.screens.Screen
Screen.NarratableSearchResult
-
字段概要
字段修饰符和类型字段说明private static final ResourceLocation
private boolean
private static final ResourceLocation
private static final ResourceLocation
private static final ResourceLocation
private static final int
private static final int
private static final int
private static final int
private static final int
private static final int
private static final ResourceLocation
private static final int
private static final int
private static final ResourceLocation
private static final int
private boolean
private float
private int
从类继承的字段 net.minecraft.client.gui.screens.inventory.AbstractContainerScreen
BACKGROUND_TEXTURE_HEIGHT, BACKGROUND_TEXTURE_WIDTH, hoveredSlot, imageHeight, imageWidth, INVENTORY_LOCATION, inventoryLabelX, inventoryLabelY, isQuickCrafting, leftPos, menu, playerInventoryTitle, quickCraftSlots, SLOT_ITEM_BLIT_OFFSET, titleLabelX, titleLabelY, topPos
从类继承的字段 net.minecraft.client.gui.screens.Screen
CUBE_MAP, font, FOOTER_SEPARATOR, HEADER_SEPARATOR, height, INWORLD_FOOTER_SEPARATOR, INWORLD_HEADER_SEPARATOR, MENU_BACKGROUND, minecraft, narratorButton, PANORAMA, renderables, screenExecutor, title, width
从接口继承的字段 net.minecraft.client.gui.components.events.GuiEventListener
DOUBLE_CLICK_THRESHOLD_MS
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明private void
protected int
private boolean
boolean
mouseClicked
(double p_99318_, double p_99319_, int p_99320_) boolean
mouseDragged
(double p_99322_, double p_99323_, int p_99324_, double p_99325_, double p_99326_) boolean
mouseScrolled
(double p_99314_, double p_99315_, double p_99316_, double p_297300_) void
render
(GuiGraphics p_281735_, int p_282517_, int p_282840_, float p_282389_) protected void
renderBg
(GuiGraphics p_283115_, float p_282453_, int p_282940_, int p_282328_) private void
renderButtons
(GuiGraphics p_282733_, int p_282136_, int p_282147_, int p_281987_, int p_281276_, int p_282688_) private void
renderRecipes
(GuiGraphics p_281999_, int p_282658_, int p_282563_, int p_283352_) protected void
renderTooltip
(GuiGraphics p_282396_, int p_283157_, int p_282258_) 从类继承的方法 net.minecraft.client.gui.screens.inventory.AbstractContainerScreen
addItemSlotMouseAction, checkHotbarKeyPressed, clearDraggingState, containerTick, getGuiLeft, getGuiTop, getMenu, getSlotUnderMouse, getTooltipFromContainerItem, getXSize, getYSize, handleSlotStateChanged, hasClickedOutside, init, isHovering, isPauseScreen, keyPressed, mouseReleased, onClose, onMouseClickAction, removed, renderBackground, renderLabels, renderSlot, renderSlotHighlightBack, renderSlotHighlightFront, renderSlots, slotClicked, tick
从类继承的方法 net.minecraft.client.gui.screens.Screen
added, addRenderableOnly, addRenderableWidget, addWidget, afterKeyboardAction, afterMouseAction, afterMouseMove, changeFocus, children, clearFocus, clearTooltipForNextRenderPass, clearWidgets, fillCrashDetails, findNarratableWidget, getBackgroundMusic, getFont, getMinecraft, getNarrationMessage, getRectangle, getTitle, getTooltipFromItem, getUsageNarration, handleComponentClicked, handleDelayedNarration, hasAltDown, hasControlDown, hasShiftDown, init, insertText, isCopy, isCut, isMouseOver, isPaste, isSelectAll, isValidCharacterForName, onFilesDrop, rebuildWidgets, removeWidget, renderBlurredBackground, renderMenuBackground, renderMenuBackground, renderMenuBackgroundTexture, renderPanorama, renderTransparentBackground, renderWithTooltip, repositionElements, resize, setInitialFocus, setInitialFocus, setTooltipForNextRenderPass, setTooltipForNextRenderPass, setTooltipForNextRenderPass, setTooltipForNextRenderPass, shouldCloseOnEsc, shouldNarrateNavigation, showsActiveEffects, triggerImmediateNarration, updateNarratedWidget, updateNarrationState, updateNarratorStatus
从类继承的方法 net.minecraft.client.gui.components.events.AbstractContainerEventHandler
getFocused, isDragging, setDragging, setFocused
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
从接口继承的方法 net.minecraft.client.gui.components.events.ContainerEventHandler
charTyped, getChildAt, getCurrentFocusPath, isFocused, keyReleased, nextFocusPath, setFocused
从接口继承的方法 net.minecraft.client.gui.components.events.GuiEventListener
getBorderForArrowNavigation, mouseMoved
从接口继承的方法 net.minecraft.client.gui.components.TabOrderedElement
getTabOrderGroup
-
字段详细资料
-
SCROLLER_SPRITE
-
SCROLLER_DISABLED_SPRITE
-
RECIPE_SELECTED_SPRITE
-
RECIPE_HIGHLIGHTED_SPRITE
-
RECIPE_SPRITE
-
BG_LOCATION
-
SCROLLER_WIDTH
private static final int SCROLLER_WIDTH- 另请参阅:
-
SCROLLER_HEIGHT
private static final int SCROLLER_HEIGHT- 另请参阅:
-
RECIPES_COLUMNS
private static final int RECIPES_COLUMNS- 另请参阅:
-
RECIPES_ROWS
private static final int RECIPES_ROWS- 另请参阅:
-
RECIPES_IMAGE_SIZE_WIDTH
private static final int RECIPES_IMAGE_SIZE_WIDTH- 另请参阅:
-
RECIPES_IMAGE_SIZE_HEIGHT
private static final int RECIPES_IMAGE_SIZE_HEIGHT- 另请参阅:
-
SCROLLER_FULL_HEIGHT
private static final int SCROLLER_FULL_HEIGHT- 另请参阅:
-
RECIPES_X
private static final int RECIPES_X- 另请参阅:
-
RECIPES_Y
private static final int RECIPES_Y- 另请参阅:
-
scrollOffs
private float scrollOffs -
scrolling
private boolean scrolling -
startIndex
private int startIndex -
displayRecipes
private boolean displayRecipes
-
-
构造器详细资料
-
StonecutterScreen
-
-
方法详细资料
-
render
- 指定者:
render
在接口中Renderable
- 覆盖:
render
在类中AbstractContainerScreen<StonecutterMenu>
-
renderBg
- 指定者:
renderBg
在类中AbstractContainerScreen<StonecutterMenu>
-
renderTooltip
-
renderButtons
private void renderButtons(GuiGraphics p_282733_, int p_282136_, int p_282147_, int p_281987_, int p_281276_, int p_282688_) -
renderRecipes
-
mouseClicked
public boolean mouseClicked(double p_99318_, double p_99319_, int p_99320_) - 指定者:
mouseClicked
在接口中ContainerEventHandler
- 指定者:
mouseClicked
在接口中GuiEventListener
- 覆盖:
mouseClicked
在类中AbstractContainerScreen<StonecutterMenu>
-
mouseDragged
public boolean mouseDragged(double p_99322_, double p_99323_, int p_99324_, double p_99325_, double p_99326_) - 指定者:
mouseDragged
在接口中ContainerEventHandler
- 指定者:
mouseDragged
在接口中GuiEventListener
- 覆盖:
mouseDragged
在类中AbstractContainerScreen<StonecutterMenu>
-
mouseScrolled
public boolean mouseScrolled(double p_99314_, double p_99315_, double p_99316_, double p_297300_) - 指定者:
mouseScrolled
在接口中ContainerEventHandler
- 指定者:
mouseScrolled
在接口中GuiEventListener
- 覆盖:
mouseScrolled
在类中AbstractContainerScreen<StonecutterMenu>
-
isScrollBarActive
private boolean isScrollBarActive() -
getOffscreenRows
protected int getOffscreenRows() -
containerChanged
private void containerChanged()
-