Class HandledScreen<T extends ScreenHandler>
java.lang.Object
net.minecraft.client.gui.AbstractParentElement
net.minecraft.client.gui.screen.Screen
net.minecraft.client.gui.screen.ingame.HandledScreen<T>
- All Implemented Interfaces:
Drawable,Element,Navigable,ParentElement,ScreenHandlerProvider<T>
- Direct Known Subclasses:
BeaconScreen,BrewingStandScreen,CartographyTableScreen,CrafterScreen,CreativeInventoryScreen,EnchantmentScreen,ForgingScreen,Generic3x3ContainerScreen,GenericContainerScreen,GrindstoneScreen,HopperScreen,HorseScreen,LoomScreen,MerchantScreen,RecipeBookScreen,ShulkerBoxScreen,StonecutterScreen
@Environment(CLIENT)
public abstract class HandledScreen<T extends ScreenHandler>
extends Screen
implements ScreenHandlerProvider<T>
- Mappings:
Namespace Name named net/minecraft/client/gui/screen/ingame/HandledScreenintermediary net/minecraft/class_465official gdc
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class net.minecraft.client.gui.screen.Screen
Screen.SelectedElementNarrationData -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Identifierprotected intprotected intprivate booleanprotected booleanprivate booleanprivate intprivate static final floatprivate static final intprotected static final intprotected static final intprotected final Tprivate intprivate intprivate longprivate intprotected final Textprotected intprotected intprivate ItemStackprivate static final Identifierprivate static final Identifierprotected intprotected intprivate final List<TooltipSubmenuHandler> private ItemStackprivate longprivate booleanprotected intprotected intFields inherited from class net.minecraft.client.gui.screen.Screen
client, executor, field_60460, FOOTER_SEPARATOR_TEXTURE, HEADER_SEPARATOR_TEXTURE, height, INWORLD_FOOTER_SEPARATOR_TEXTURE, INWORLD_HEADER_SEPARATOR_TEXTURE, MENU_BACKGROUND_TEXTURE, narratorToggleButton, PANORAMA_RENDERER, ROTATING_PANORAMA_RENDERER, textRenderer, title, widthFields inherited from interface net.minecraft.client.gui.Element
MAX_DOUBLE_CLICK_INTERVAL -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidprivate voidvoidclose()protected abstract voiddrawBackground(DrawContext context, float deltaTicks, int mouseX, int mouseY) protected voiddrawForeground(DrawContext context, int mouseX, int mouseY) private voiddrawItem(DrawContext drawContext, ItemStack stack, int x, int y, @Nullable String amountText) protected voiddrawMouseoverTooltip(DrawContext context, int x, int y) protected voiddrawSlot(DrawContext context, Slot slot) private voiddrawSlotHighlightBack(DrawContext context) private voiddrawSlotHighlightFront(DrawContext context) protected voiddrawSlots(DrawContext context) voidgetSlotAt(double mouseX, double mouseY) getTooltipFromItem(ItemStack stack) protected voidprotected booleanhandleHotbarKeyPressed(int keyCode, int scanCode) protected voidinit()Called when a screen should be initialized.protected booleanisClickOutsideBounds(double mouseX, double mouseY, int left, int top, int button) private booleanisItemTooltipSticky(ItemStack item) private booleanisPointOverSlot(Slot slot, double pointX, double pointY) protected booleanisPointWithinBounds(int x, int y, int width, int height, double pointX, double pointY) booleankeyPressed(int keyCode, int scanCode, int modifiers) Callback for when a key down event has been captured.booleanmouseClicked(double mouseX, double mouseY, int button) Callback for when a mouse button down event has been captured.booleanmouseDragged(double mouseX, double mouseY, int button, double deltaX, double deltaY) Callback for when a mouse button drag event has been captured.booleanmouseReleased(double mouseX, double mouseY, int button) Callback for when a mouse button release event has been captured.booleanmouseScrolled(double mouseX, double mouseY, double horizontalAmount, double verticalAmount) Callback for when a mouse button scroll event has been captured.private voidonMouseClick(int button) (package private) voidonMouseClick(@Nullable Slot slot, SlotActionType actionType) protected voidonMouseClick(Slot slot, int slotId, int button, SlotActionType actionType) protected voidonSlotChangedState(int slotId, int handlerId, boolean newState) voidremoved()voidrender(DrawContext context, int mouseX, int mouseY, float deltaTicks) voidrenderBackground(DrawContext context, int mouseX, int mouseY, float deltaTicks) Renders the background of this screen.voidrenderCursorStack(DrawContext context, int mouseX, int mouseY) voidrenderLetGoTouchStack(DrawContext context) voidrenderMain(DrawContext drawContext, int mouseX, int mouseY, float deltaTicks) private voidresetTooltipSubmenus(Slot slot) booleanfinal voidtick()Methods inherited from class net.minecraft.client.gui.screen.Screen
addCrashReportSection, addDrawable, addDrawableChild, addElementNarrations, addScreenNarrations, addSelectableChild, applyBlur, applyKeyPressNarratorDelay, applyMouseMoveNarratorDelay, applyMousePressScrollNarratorDelay, blur, children, clearAndInit, clearChildren, findSelectedElementData, getMusic, getNarratedTitle, getNavigationFocus, getTextRenderer, getTitle, getTooltipFromItem, getUsageNarrationText, handleTextClick, hasAltDown, hasControlDown, hasShiftDown, hasUsageText, init, insertText, isCopy, isCut, isMouseOver, isPaste, isSelectAll, isValidCharacterForName, method_71536, narrateScreenIfNarrationEnabled, onDisplayed, onFilesDropped, refreshNarrator, refreshWidgetPositions, remove, renderBackgroundTexture, renderDarkening, renderDarkening, renderInGameBackground, renderPanoramaBackground, renderWithTooltip, resize, setInitialFocus, setInitialFocus, shouldCloseOnEsc, shouldHideStatusEffectHud, switchFocus, updateNarratorMethods inherited from class net.minecraft.client.gui.AbstractParentElement
getFocused, isDragging, setDragging, setFocusedMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.client.gui.Element
getBorder, mouseMovedMethods inherited from interface net.minecraft.client.gui.navigation.Navigable
getNavigationOrderMethods inherited from interface net.minecraft.client.gui.ParentElement
charTyped, getFocusedPath, getNavigationPath, hoveredElement, isFocused, keyReleased, setFocused
-
Field Details
-
BACKGROUND_TEXTURE
- Mappings:
Namespace Name Mixin selector named BACKGROUND_TEXTURELnet/minecraft/client/gui/screen/ingame/HandledScreen;BACKGROUND_TEXTURE:Lnet/minecraft/util/Identifier;intermediary field_2801Lnet/minecraft/class_465;field_2801:Lnet/minecraft/class_2960;official aLgdc;a:Lalw;
-
SLOT_HIGHLIGHT_BACK_TEXTURE
- Mappings:
Namespace Name Mixin selector named SLOT_HIGHLIGHT_BACK_TEXTURELnet/minecraft/client/gui/screen/ingame/HandledScreen;SLOT_HIGHLIGHT_BACK_TEXTURE:Lnet/minecraft/util/Identifier;intermediary field_54268Lnet/minecraft/class_465;field_54268:Lnet/minecraft/class_2960;official GLgdc;G:Lalw;
-
SLOT_HIGHLIGHT_FRONT_TEXTURE
- Mappings:
Namespace Name Mixin selector named SLOT_HIGHLIGHT_FRONT_TEXTURELnet/minecraft/client/gui/screen/ingame/HandledScreen;SLOT_HIGHLIGHT_FRONT_TEXTURE:Lnet/minecraft/util/Identifier;intermediary field_54269Lnet/minecraft/class_465;field_54269:Lnet/minecraft/class_2960;official HLgdc;H:Lalw;
-
field_52802
protected static final int field_52802- See Also:
- Mappings:
Namespace Name Mixin selector named field_52802Lnet/minecraft/client/gui/screen/ingame/HandledScreen;field_52802:Iintermediary field_52802Lnet/minecraft/class_465;field_52802:Iofficial bLgdc;b:I
-
field_52803
protected static final int field_52803- See Also:
- Mappings:
Namespace Name Mixin selector named field_52803Lnet/minecraft/client/gui/screen/ingame/HandledScreen;field_52803:Iintermediary field_52803Lnet/minecraft/class_465;field_52803:Iofficial cLgdc;c:I
-
field_32318
private static final float field_32318- See Also:
- Mappings:
Namespace Name Mixin selector named field_32318Lnet/minecraft/client/gui/screen/ingame/HandledScreen;field_32318:Fintermediary field_32318Lnet/minecraft/class_465;field_32318:Fofficial ILgdc;I:F
-
field_32319
private static final int field_32319- See Also:
- Mappings:
Namespace Name Mixin selector named field_32319Lnet/minecraft/client/gui/screen/ingame/HandledScreen;field_32319:Iintermediary field_32319Lnet/minecraft/class_465;field_32319:Iofficial JLgdc;J:I
-
backgroundWidth
protected int backgroundWidth- Mappings:
Namespace Name Mixin selector named backgroundWidthLnet/minecraft/client/gui/screen/ingame/HandledScreen;backgroundWidth:Iintermediary field_2792Lnet/minecraft/class_465;field_2792:Iofficial dLgdc;d:I
-
backgroundHeight
protected int backgroundHeight- Mappings:
Namespace Name Mixin selector named backgroundHeightLnet/minecraft/client/gui/screen/ingame/HandledScreen;backgroundHeight:Iintermediary field_2779Lnet/minecraft/class_465;field_2779:Iofficial uLgdc;u:I
-
titleX
protected int titleX- Mappings:
Namespace Name Mixin selector named titleXLnet/minecraft/client/gui/screen/ingame/HandledScreen;titleX:Iintermediary field_25267Lnet/minecraft/class_465;field_25267:Iofficial vLgdc;v:I
-
titleY
protected int titleY- Mappings:
Namespace Name Mixin selector named titleYLnet/minecraft/client/gui/screen/ingame/HandledScreen;titleY:Iintermediary field_25268Lnet/minecraft/class_465;field_25268:Iofficial wLgdc;w:I
-
playerInventoryTitleX
protected int playerInventoryTitleX- Mappings:
Namespace Name Mixin selector named playerInventoryTitleXLnet/minecraft/client/gui/screen/ingame/HandledScreen;playerInventoryTitleX:Iintermediary field_25269Lnet/minecraft/class_465;field_25269:Iofficial xLgdc;x:I
-
playerInventoryTitleY
protected int playerInventoryTitleY- Mappings:
Namespace Name Mixin selector named playerInventoryTitleYLnet/minecraft/client/gui/screen/ingame/HandledScreen;playerInventoryTitleY:Iintermediary field_25270Lnet/minecraft/class_465;field_25270:Iofficial yLgdc;y:I
-
handler
- Mappings:
Namespace Name Mixin selector named handlerLnet/minecraft/client/gui/screen/ingame/HandledScreen;handler:Lnet/minecraft/screen/ScreenHandler;intermediary field_2797Lnet/minecraft/class_465;field_2797:Lnet/minecraft/class_1703;official zLgdc;z:Lcwr;
-
playerInventoryTitle
- Mappings:
Namespace Name Mixin selector named playerInventoryTitleLnet/minecraft/client/gui/screen/ingame/HandledScreen;playerInventoryTitle:Lnet/minecraft/text/Text;intermediary field_29347Lnet/minecraft/class_465;field_29347:Lnet/minecraft/class_2561;official ALgdc;A:Lxk;
-
focusedSlot
- Mappings:
Namespace Name Mixin selector named focusedSlotLnet/minecraft/client/gui/screen/ingame/HandledScreen;focusedSlot:Lnet/minecraft/screen/slot/Slot;intermediary field_2787Lnet/minecraft/class_465;field_2787:Lnet/minecraft/class_1735;official BLgdc;B:Lcyp;
-
touchDragSlotStart
- Mappings:
Namespace Name Mixin selector named touchDragSlotStartLnet/minecraft/client/gui/screen/ingame/HandledScreen;touchDragSlotStart:Lnet/minecraft/screen/slot/Slot;intermediary field_2777Lnet/minecraft/class_465;field_2777:Lnet/minecraft/class_1735;official LLgdc;L:Lcyp;
-
touchHoveredSlot
- Mappings:
Namespace Name Mixin selector named touchHoveredSlotLnet/minecraft/client/gui/screen/ingame/HandledScreen;touchHoveredSlot:Lnet/minecraft/screen/slot/Slot;intermediary field_2780Lnet/minecraft/class_465;field_2780:Lnet/minecraft/class_1735;official MLgdc;M:Lcyp;
-
lastClickedSlot
- Mappings:
Namespace Name Mixin selector named lastClickedSlotLnet/minecraft/client/gui/screen/ingame/HandledScreen;lastClickedSlot:Lnet/minecraft/screen/slot/Slot;intermediary field_2799Lnet/minecraft/class_465;field_2799:Lnet/minecraft/class_1735;official NLgdc;N:Lcyp;
-
letGoTouchStack
- Mappings:
Namespace Name Mixin selector named letGoTouchStackLnet/minecraft/client/gui/screen/ingame/HandledScreen;letGoTouchStack:Lnet/minecraft/client/gui/screen/ingame/HandledScreen$LetGoTouchStack;intermediary field_60054Lnet/minecraft/class_465;field_60054:Lnet/minecraft/class_465$class_11277;official OLgdc;O:Lgdc$a;
-
x
protected int x- Mappings:
Namespace Name Mixin selector named xLnet/minecraft/client/gui/screen/ingame/HandledScreen;x:Iintermediary field_2776Lnet/minecraft/class_465;field_2776:Iofficial CLgdc;C:I
-
y
protected int y- Mappings:
Namespace Name Mixin selector named yLnet/minecraft/client/gui/screen/ingame/HandledScreen;y:Iintermediary field_2800Lnet/minecraft/class_465;field_2800:Iofficial DLgdc;D:I
-
touchIsRightClickDrag
private boolean touchIsRightClickDrag- Mappings:
Namespace Name Mixin selector named touchIsRightClickDragLnet/minecraft/client/gui/screen/ingame/HandledScreen;touchIsRightClickDrag:Zintermediary field_2789Lnet/minecraft/class_465;field_2789:Zofficial PLgdc;P:Z
-
touchDragStack
- Mappings:
Namespace Name Mixin selector named touchDragStackLnet/minecraft/client/gui/screen/ingame/HandledScreen;touchDragStack:Lnet/minecraft/item/ItemStack;intermediary field_2782Lnet/minecraft/class_465;field_2782:Lnet/minecraft/class_1799;official QLgdc;Q:Ldba;
-
touchDropTimer
private long touchDropTimer- Mappings:
Namespace Name Mixin selector named touchDropTimerLnet/minecraft/client/gui/screen/ingame/HandledScreen;touchDropTimer:Jintermediary field_2781Lnet/minecraft/class_465;field_2781:Jofficial RLgdc;R:J
-
cursorDragSlots
- Mappings:
Namespace Name Mixin selector named cursorDragSlotsLnet/minecraft/client/gui/screen/ingame/HandledScreen;cursorDragSlots:Ljava/util/Set;intermediary field_2793Lnet/minecraft/class_465;field_2793:Ljava/util/Set;official ELgdc;E:Ljava/util/Set;
-
cursorDragging
protected boolean cursorDragging- Mappings:
Namespace Name Mixin selector named cursorDraggingLnet/minecraft/client/gui/screen/ingame/HandledScreen;cursorDragging:Zintermediary field_2794Lnet/minecraft/class_465;field_2794:Zofficial FLgdc;F:Z
-
heldButtonType
private int heldButtonType- Mappings:
Namespace Name Mixin selector named heldButtonTypeLnet/minecraft/client/gui/screen/ingame/HandledScreen;heldButtonType:Iintermediary field_2790Lnet/minecraft/class_465;field_2790:Iofficial SLgdc;S:I
-
heldButtonCode
private int heldButtonCode- Mappings:
Namespace Name Mixin selector named heldButtonCodeLnet/minecraft/client/gui/screen/ingame/HandledScreen;heldButtonCode:Iintermediary field_2778Lnet/minecraft/class_465;field_2778:Iofficial TLgdc;T:I
-
cancelNextRelease
private boolean cancelNextRelease- Mappings:
Namespace Name Mixin selector named cancelNextReleaseLnet/minecraft/client/gui/screen/ingame/HandledScreen;cancelNextRelease:Zintermediary field_2798Lnet/minecraft/class_465;field_2798:Zofficial ULgdc;U:Z
-
draggedStackRemainder
private int draggedStackRemainder- Mappings:
Namespace Name Mixin selector named draggedStackRemainderLnet/minecraft/client/gui/screen/ingame/HandledScreen;draggedStackRemainder:Iintermediary field_2803Lnet/minecraft/class_465;field_2803:Iofficial VLgdc;V:I
-
lastButtonClickTime
private long lastButtonClickTime- Mappings:
Namespace Name Mixin selector named lastButtonClickTimeLnet/minecraft/client/gui/screen/ingame/HandledScreen;lastButtonClickTime:Jintermediary field_2788Lnet/minecraft/class_465;field_2788:Jofficial WLgdc;W:J
-
lastClickedButton
private int lastClickedButton- Mappings:
Namespace Name Mixin selector named lastClickedButtonLnet/minecraft/client/gui/screen/ingame/HandledScreen;lastClickedButton:Iintermediary field_2786Lnet/minecraft/class_465;field_2786:Iofficial XLgdc;X:I
-
doubleClicking
private boolean doubleClicking- Mappings:
Namespace Name Mixin selector named doubleClickingLnet/minecraft/client/gui/screen/ingame/HandledScreen;doubleClicking:Zintermediary field_2783Lnet/minecraft/class_465;field_2783:Zofficial YLgdc;Y:Z
-
quickMovingStack
- Mappings:
Namespace Name Mixin selector named quickMovingStackLnet/minecraft/client/gui/screen/ingame/HandledScreen;quickMovingStack:Lnet/minecraft/item/ItemStack;intermediary field_2791Lnet/minecraft/class_465;field_2791:Lnet/minecraft/class_1799;official ZLgdc;Z:Ldba;
-
-
Constructor Details
-
HandledScreen
- Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/client/gui/screen/ingame/HandledScreen;<init>(Lnet/minecraft/screen/ScreenHandler;Lnet/minecraft/entity/player/PlayerInventory;Lnet/minecraft/text/Text;)Vintermediary <init>Lnet/minecraft/class_465;<init>(Lnet/minecraft/class_1703;Lnet/minecraft/class_1661;Lnet/minecraft/class_2561;)Vofficial <init>Lgdc;<init>(Lcwr;Lcsx;Lxk;)V
-
-
Method Details
-
init
protected void init()Called when a screen should be initialized.This method is called when this screen is opened or resized.
-
render
- Specified by:
renderin interfaceDrawable- Overrides:
renderin classScreen- Mappings:
Namespace Name Mixin selector named renderLnet/minecraft/client/gui/Drawable;render(Lnet/minecraft/client/gui/DrawContext;IIF)Vintermediary method_25394Lnet/minecraft/class_4068;method_25394(Lnet/minecraft/class_332;IIF)Vofficial aLfwr;a(Lfvb;IIF)V
-
renderMain
- Mappings:
Namespace Name Mixin selector named renderMainLnet/minecraft/client/gui/screen/ingame/HandledScreen;renderMain(Lnet/minecraft/client/gui/DrawContext;IIF)Vintermediary method_71085Lnet/minecraft/class_465;method_71085(Lnet/minecraft/class_332;IIF)Vofficial dLgdc;d(Lfvb;IIF)V
-
renderCursorStack
- Mappings:
Namespace Name Mixin selector named renderCursorStackLnet/minecraft/client/gui/screen/ingame/HandledScreen;renderCursorStack(Lnet/minecraft/client/gui/DrawContext;II)Vintermediary method_71083Lnet/minecraft/class_465;method_71083(Lnet/minecraft/class_332;II)Vofficial aLgdc;a(Lfvb;II)V
-
renderLetGoTouchStack
- Mappings:
Namespace Name Mixin selector named renderLetGoTouchStackLnet/minecraft/client/gui/screen/ingame/HandledScreen;renderLetGoTouchStack(Lnet/minecraft/client/gui/DrawContext;)Vintermediary method_71084Lnet/minecraft/class_465;method_71084(Lnet/minecraft/class_332;)Vofficial dLgdc;d(Lfvb;)V
-
drawSlots
- Mappings:
Namespace Name Mixin selector named drawSlotsLnet/minecraft/client/gui/screen/ingame/HandledScreen;drawSlots(Lnet/minecraft/client/gui/DrawContext;)Vintermediary method_64508Lnet/minecraft/class_465;method_64508(Lnet/minecraft/class_332;)Vofficial eLgdc;e(Lfvb;)V
-
renderBackground
Renders the background of this screen.If the client is in a world, renders the translucent background gradient. Otherwise renders the background texture.
- Overrides:
renderBackgroundin classScreen- Mappings:
Namespace Name Mixin selector named renderBackgroundLnet/minecraft/client/gui/screen/Screen;renderBackground(Lnet/minecraft/client/gui/DrawContext;IIF)Vintermediary method_25420Lnet/minecraft/class_437;method_25420(Lnet/minecraft/class_332;IIF)Vofficial bLgcn;b(Lfvb;IIF)V
-
mouseScrolled
public boolean mouseScrolled(double mouseX, double mouseY, double horizontalAmount, double verticalAmount) Callback for when a mouse button scroll event has been captured.- Specified by:
mouseScrolledin interfaceElement- Specified by:
mouseScrolledin interfaceParentElement- Parameters:
mouseX- the X coordinate of the mousemouseY- the Y coordinate of the mousehorizontalAmount- the horizontal scroll amountverticalAmount- the vertical scroll amount- Returns:
trueto indicate that the event handling is successful/valid- See Also:
- Mappings:
Namespace Name Mixin selector named mouseScrolledLnet/minecraft/client/gui/Element;mouseScrolled(DDDD)Zintermediary method_25401Lnet/minecraft/class_364;method_25401(DDDD)Zofficial aLfxl;a(DDDD)Z
-
drawSlotHighlightBack
- Mappings:
Namespace Name Mixin selector named drawSlotHighlightBackLnet/minecraft/client/gui/screen/ingame/HandledScreen;drawSlotHighlightBack(Lnet/minecraft/client/gui/DrawContext;)Vintermediary method_64241Lnet/minecraft/class_465;method_64241(Lnet/minecraft/class_332;)Vofficial fLgdc;f(Lfvb;)V
-
drawSlotHighlightFront
- Mappings:
Namespace Name Mixin selector named drawSlotHighlightFrontLnet/minecraft/client/gui/screen/ingame/HandledScreen;drawSlotHighlightFront(Lnet/minecraft/client/gui/DrawContext;)Vintermediary method_64242Lnet/minecraft/class_465;method_64242(Lnet/minecraft/class_332;)Vofficial gLgdc;g(Lfvb;)V
-
drawMouseoverTooltip
- Mappings:
Namespace Name Mixin selector named drawMouseoverTooltipLnet/minecraft/client/gui/screen/ingame/HandledScreen;drawMouseoverTooltip(Lnet/minecraft/client/gui/DrawContext;II)Vintermediary method_2380Lnet/minecraft/class_465;method_2380(Lnet/minecraft/class_332;II)Vofficial bLgdc;b(Lfvb;II)V
-
isItemTooltipSticky
- Mappings:
Namespace Name Mixin selector named isItemTooltipStickyLnet/minecraft/client/gui/screen/ingame/HandledScreen;isItemTooltipSticky(Lnet/minecraft/item/ItemStack;)Zintermediary method_62001Lnet/minecraft/class_465;method_62001(Lnet/minecraft/class_1799;)Zofficial bLgdc;b(Ldba;)Z
-
getTooltipFromItem
- Mappings:
Namespace Name Mixin selector named getTooltipFromItemLnet/minecraft/client/gui/screen/ingame/HandledScreen;getTooltipFromItem(Lnet/minecraft/item/ItemStack;)Ljava/util/List;intermediary method_51454Lnet/minecraft/class_465;method_51454(Lnet/minecraft/class_1799;)Ljava/util/List;official aLgdc;a(Ldba;)Ljava/util/List;
-
drawItem
private void drawItem(DrawContext drawContext, ItemStack stack, int x, int y, @Nullable @Nullable String amountText) - Mappings:
Namespace Name Mixin selector named drawItemLnet/minecraft/client/gui/screen/ingame/HandledScreen;drawItem(Lnet/minecraft/client/gui/DrawContext;Lnet/minecraft/item/ItemStack;IILjava/lang/String;)Vintermediary method_2382Lnet/minecraft/class_465;method_2382(Lnet/minecraft/class_332;Lnet/minecraft/class_1799;IILjava/lang/String;)Vofficial aLgdc;a(Lfvb;Ldba;IILjava/lang/String;)V
-
drawForeground
- Mappings:
Namespace Name Mixin selector named drawForegroundLnet/minecraft/client/gui/screen/ingame/HandledScreen;drawForeground(Lnet/minecraft/client/gui/DrawContext;II)Vintermediary method_2388Lnet/minecraft/class_465;method_2388(Lnet/minecraft/class_332;II)Vofficial cLgdc;c(Lfvb;II)V
-
drawBackground
protected abstract void drawBackground(DrawContext context, float deltaTicks, int mouseX, int mouseY) - Mappings:
Namespace Name Mixin selector named drawBackgroundLnet/minecraft/client/gui/screen/ingame/HandledScreen;drawBackground(Lnet/minecraft/client/gui/DrawContext;FII)Vintermediary method_2389Lnet/minecraft/class_465;method_2389(Lnet/minecraft/class_332;FII)Vofficial aLgdc;a(Lfvb;FII)V
-
drawSlot
- Mappings:
Namespace Name Mixin selector named drawSlotLnet/minecraft/client/gui/screen/ingame/HandledScreen;drawSlot(Lnet/minecraft/client/gui/DrawContext;Lnet/minecraft/screen/slot/Slot;)Vintermediary method_2385Lnet/minecraft/class_465;method_2385(Lnet/minecraft/class_332;Lnet/minecraft/class_1735;)Vofficial aLgdc;a(Lfvb;Lcyp;)V
-
calculateOffset
private void calculateOffset()- Mappings:
Namespace Name Mixin selector named calculateOffsetLnet/minecraft/client/gui/screen/ingame/HandledScreen;calculateOffset()Vintermediary method_2379Lnet/minecraft/class_465;method_2379()Vofficial ELgdc;E()V
-
getSlotAt
- Mappings:
Namespace Name Mixin selector named getSlotAtLnet/minecraft/client/gui/screen/ingame/HandledScreen;getSlotAt(DD)Lnet/minecraft/screen/slot/Slot;intermediary method_64240Lnet/minecraft/class_465;method_64240(DD)Lnet/minecraft/class_1735;official bLgdc;b(DD)Lcyp;
-
mouseClicked
public boolean mouseClicked(double mouseX, double mouseY, int button) Callback for when a mouse button down event has been captured. The button number is identified by the constants inGLFWclass.- Specified by:
mouseClickedin interfaceElement- Specified by:
mouseClickedin interfaceParentElement- Parameters:
mouseX- the X coordinate of the mousemouseY- the Y coordinate of the mousebutton- the mouse button number- Returns:
trueto indicate that the event handling is successful/valid- See Also:
- Mappings:
Namespace Name Mixin selector named mouseClickedLnet/minecraft/client/gui/Element;mouseClicked(DDI)Zintermediary method_25402Lnet/minecraft/class_364;method_25402(DDI)Zofficial aLfxl;a(DDI)Z
-
onMouseClick
private void onMouseClick(int button) - Mappings:
Namespace Name Mixin selector named onMouseClickLnet/minecraft/client/gui/screen/ingame/HandledScreen;onMouseClick(I)Vintermediary method_30107Lnet/minecraft/class_465;method_30107(I)Vofficial aLgdc;a(I)V
-
isClickOutsideBounds
protected boolean isClickOutsideBounds(double mouseX, double mouseY, int left, int top, int button) - Mappings:
Namespace Name Mixin selector named isClickOutsideBoundsLnet/minecraft/client/gui/screen/ingame/HandledScreen;isClickOutsideBounds(DDIII)Zintermediary method_2381Lnet/minecraft/class_465;method_2381(DDIII)Zofficial aLgdc;a(DDIII)Z
-
mouseDragged
public boolean mouseDragged(double mouseX, double mouseY, int button, double deltaX, double deltaY) Callback for when a mouse button drag event has been captured. The button number is identified by the constants inGLFWclass.- Specified by:
mouseDraggedin interfaceElement- Specified by:
mouseDraggedin interfaceParentElement- Parameters:
mouseX- the current X coordinate of the mousemouseY- the current Y coordinate of the mousebutton- the mouse button numberdeltaX- the difference of the current X with the previous X coordinatedeltaY- the difference of the current Y with the previous Y coordinate- Returns:
trueto indicate that the event handling is successful/valid- See Also:
- Mappings:
Namespace Name Mixin selector named mouseDraggedLnet/minecraft/client/gui/Element;mouseDragged(DDIDD)Zintermediary method_25403Lnet/minecraft/class_364;method_25403(DDIDD)Zofficial aLfxl;a(DDIDD)Z
-
mouseReleased
public boolean mouseReleased(double mouseX, double mouseY, int button) Callback for when a mouse button release event has been captured. The button number is identified by the constants inGLFWclass.- Specified by:
mouseReleasedin interfaceElement- Specified by:
mouseReleasedin interfaceParentElement- Parameters:
mouseX- the X coordinate of the mousemouseY- the Y coordinate of the mousebutton- the mouse button number- Returns:
trueto indicate that the event handling is successful/valid- See Also:
- Mappings:
Namespace Name Mixin selector named mouseReleasedLnet/minecraft/client/gui/Element;mouseReleased(DDI)Zintermediary method_25406Lnet/minecraft/class_364;method_25406(DDI)Zofficial bLfxl;b(DDI)Z
-
endTouchDrag
public void endTouchDrag()- Mappings:
Namespace Name Mixin selector named endTouchDragLnet/minecraft/client/gui/screen/ingame/HandledScreen;endTouchDrag()Vintermediary method_44339Lnet/minecraft/class_465;method_44339()Vofficial lLgdc;l()V
-
isPointOverSlot
- Mappings:
Namespace Name Mixin selector named isPointOverSlotLnet/minecraft/client/gui/screen/ingame/HandledScreen;isPointOverSlot(Lnet/minecraft/screen/slot/Slot;DD)Zintermediary method_2387Lnet/minecraft/class_465;method_2387(Lnet/minecraft/class_1735;DD)Zofficial aLgdc;a(Lcyp;DD)Z
-
isPointWithinBounds
protected boolean isPointWithinBounds(int x, int y, int width, int height, double pointX, double pointY) - Mappings:
Namespace Name Mixin selector named isPointWithinBoundsLnet/minecraft/client/gui/screen/ingame/HandledScreen;isPointWithinBounds(IIIIDD)Zintermediary method_2378Lnet/minecraft/class_465;method_2378(IIIIDD)Zofficial aLgdc;a(IIIIDD)Z
-
onMouseClick
- See Also:
- Mappings:
Namespace Name Mixin selector named onMouseClickLnet/minecraft/client/gui/screen/ingame/HandledScreen;onMouseClick(Lnet/minecraft/screen/slot/Slot;IILnet/minecraft/screen/slot/SlotActionType;)Vintermediary method_2383Lnet/minecraft/class_465;method_2383(Lnet/minecraft/class_1735;IILnet/minecraft/class_1713;)Vofficial aLgdc;a(Lcyp;IILcxc;)V
-
onMouseClick
- Mappings:
Namespace Name Mixin selector named onMouseClickLnet/minecraft/client/gui/screen/ingame/HandledScreen;onMouseClick(Lnet/minecraft/screen/slot/Slot;Lnet/minecraft/screen/slot/SlotActionType;)Vintermediary method_64239Lnet/minecraft/class_465;method_64239(Lnet/minecraft/class_1735;Lnet/minecraft/class_1713;)Vofficial aLgdc;a(Lcyp;Lcxc;)V
-
onSlotChangedState
protected void onSlotChangedState(int slotId, int handlerId, boolean newState) - Mappings:
Namespace Name Mixin selector named onSlotChangedStateLnet/minecraft/client/gui/screen/ingame/HandledScreen;onSlotChangedState(IIZ)Vintermediary method_54590Lnet/minecraft/class_465;method_54590(IIZ)Vofficial aLgdc;a(IIZ)V
-
keyPressed
public boolean keyPressed(int keyCode, int scanCode, int modifiers) Callback for when a key down event has been captured. The key code is identified by the constants inGLFWclass.- Specified by:
keyPressedin interfaceElement- Specified by:
keyPressedin interfaceParentElement- Overrides:
keyPressedin classScreen- Parameters:
keyCode- the named key code of the event as described in theGLFWclassscanCode- the unique/platform-specific scan code of the keyboard inputmodifiers- a GLFW bitfield describing the modifier keys that are held down (see GLFW Modifier key flags)- Returns:
trueto indicate that the event handling is successful/valid- See Also:
- Mappings:
Namespace Name Mixin selector named keyPressedLnet/minecraft/client/gui/Element;keyPressed(III)Zintermediary method_25404Lnet/minecraft/class_364;method_25404(III)Zofficial aLfxl;a(III)Z
-
handleHotbarKeyPressed
protected boolean handleHotbarKeyPressed(int keyCode, int scanCode) - Mappings:
Namespace Name Mixin selector named handleHotbarKeyPressedLnet/minecraft/client/gui/screen/ingame/HandledScreen;handleHotbarKeyPressed(II)Zintermediary method_2384Lnet/minecraft/class_465;method_2384(II)Zofficial aLgdc;a(II)Z
-
removed
public void removed() -
shouldPause
public boolean shouldPause()- Overrides:
shouldPausein classScreen- Mappings:
Namespace Name Mixin selector named shouldPauseLnet/minecraft/client/gui/screen/Screen;shouldPause()Zintermediary method_25421Lnet/minecraft/class_437;method_25421()Zofficial aN_Lgcn;aN_()Z
-
tick
public final void tick() -
handledScreenTick
protected void handledScreenTick()- Mappings:
Namespace Name Mixin selector named handledScreenTickLnet/minecraft/client/gui/screen/ingame/HandledScreen;handledScreenTick()Vintermediary method_37432Lnet/minecraft/class_465;method_37432()Vofficial mLgdc;m()V
-
getScreenHandler
- Specified by:
getScreenHandlerin interfaceScreenHandlerProvider<T extends ScreenHandler>- Mappings:
Namespace Name Mixin selector named getScreenHandlerLnet/minecraft/client/gui/screen/ingame/ScreenHandlerProvider;getScreenHandler()Lnet/minecraft/screen/ScreenHandler;intermediary method_17577Lnet/minecraft/class_3936;method_17577()Lnet/minecraft/class_1703;official nLgej;n()Lcwr;
-
close
public void close()
-