类 InventoryScreen
java.lang.Object
net.minecraft.client.gui.components.events.AbstractContainerEventHandler
net.minecraft.client.gui.screens.Screen
net.minecraft.client.gui.screens.inventory.AbstractContainerScreen<InventoryMenu>
net.minecraft.client.gui.screens.inventory.AbstractRecipeBookScreen<InventoryMenu>
net.minecraft.client.gui.screens.inventory.InventoryScreen
- 所有已实现的接口:
ContainerEventHandler
,GuiEventListener
,Renderable
,TabOrderedElement
,MenuAccess<InventoryMenu>
,RecipeUpdateListener
-
嵌套类概要
从类继承的嵌套类/接口 net.minecraft.client.gui.screens.Screen
Screen.NarratableSearchResult
-
字段概要
字段从类继承的字段 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
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明void
protected ScreenPosition
protected void
init()
protected boolean
boolean
mouseReleased
(double p_98893_, double p_98894_, int p_98895_) protected void
void
render
(GuiGraphics p_283246_, int p_98876_, int p_98877_, float p_98878_) protected void
renderBg
(GuiGraphics p_281500_, float p_281299_, int p_283481_, int p_281831_) static void
renderEntityInInventory
(GuiGraphics p_282665_, float p_300023_, float p_301239_, float p_330270_, org.joml.Vector3f p_298037_, org.joml.Quaternionf p_281880_, org.joml.Quaternionf p_282882_, LivingEntity p_282466_) static void
renderEntityInInventoryFollowsMouse
(GuiGraphics p_282802_, int p_275688_, int p_275245_, int p_275535_, int p_301381_, int p_299741_, float p_275604_, float p_275546_, float p_300682_, LivingEntity p_275689_) protected void
renderLabels
(GuiGraphics p_281654_, int p_283517_, int p_283464_) boolean
从类继承的方法 net.minecraft.client.gui.screens.inventory.AbstractRecipeBookScreen
charTyped, fillGhostRecipe, hasClickedOutside, isHovering, keyPressed, mouseClicked, recipesUpdated, renderSlots, slotClicked
从类继承的方法 net.minecraft.client.gui.screens.inventory.AbstractContainerScreen
addItemSlotMouseAction, checkHotbarKeyPressed, clearDraggingState, getGuiLeft, getGuiTop, getMenu, getSlotUnderMouse, getTooltipFromContainerItem, getXSize, getYSize, handleSlotStateChanged, isPauseScreen, mouseDragged, mouseScrolled, onClose, onMouseClickAction, removed, renderBackground, renderSlot, renderSlotHighlightBack, renderSlotHighlightFront, renderTooltip, 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, 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
getChildAt, getCurrentFocusPath, isFocused, keyReleased, nextFocusPath, setFocused
从接口继承的方法 net.minecraft.client.gui.components.events.GuiEventListener
getBorderForArrowNavigation, mouseMoved
从接口继承的方法 net.minecraft.client.gui.components.TabOrderedElement
getTabOrderGroup
-
字段详细资料
-
xMouse
private float xMouse -
yMouse
private float yMouse -
buttonClicked
private boolean buttonClicked -
effects
-
-
构造器详细资料
-
InventoryScreen
-
-
方法详细资料
-
containerTick
public void containerTick() -
init
protected void init()- 覆盖:
init
在类中AbstractRecipeBookScreen<InventoryMenu>
-
getRecipeBookButtonPosition
-
onRecipeBookButtonClick
protected void onRecipeBookButtonClick() -
renderLabels
-
render
- 指定者:
render
在接口中Renderable
- 覆盖:
render
在类中AbstractRecipeBookScreen<InventoryMenu>
-
showsActiveEffects
public boolean showsActiveEffects()- 覆盖:
showsActiveEffects
在类中Screen
-
isBiggerResultSlot
protected boolean isBiggerResultSlot() -
renderBg
- 指定者:
renderBg
在类中AbstractContainerScreen<InventoryMenu>
-
renderEntityInInventoryFollowsMouse
public static void renderEntityInInventoryFollowsMouse(GuiGraphics p_282802_, int p_275688_, int p_275245_, int p_275535_, int p_301381_, int p_299741_, float p_275604_, float p_275546_, float p_300682_, LivingEntity p_275689_) -
renderEntityInInventory
public static void renderEntityInInventory(GuiGraphics p_282665_, float p_300023_, float p_301239_, float p_330270_, org.joml.Vector3f p_298037_, org.joml.Quaternionf p_281880_, @Nullable org.joml.Quaternionf p_282882_, LivingEntity p_282466_) -
mouseReleased
public boolean mouseReleased(double p_98893_, double p_98894_, int p_98895_) - 指定者:
mouseReleased
在接口中ContainerEventHandler
- 指定者:
mouseReleased
在接口中GuiEventListener
- 覆盖:
mouseReleased
在类中AbstractContainerScreen<InventoryMenu>
-