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:
AbstractFurnaceScreen,AbstractInventoryScreen,BeaconScreen,BrewingStandScreen,CartographyTableScreen,CraftingScreen,EnchantmentScreen,ForgingScreen,Generic3x3ContainerScreen,GenericContainerScreen,GrindstoneScreen,HopperScreen,HorseScreen,LoomScreen,MerchantScreen,ShulkerBoxScreen,StonecutterScreen
@Environment(CLIENT)
public abstract class HandledScreen<T extends ScreenHandler>
extends Screen
implements ScreenHandlerProvider<T>
- Mappings:
Namespace Name intermediary net/minecraft/class_465official evenamed net/minecraft/client/gui/screen/ingame/HandledScreen
-
Nested Class Summary
Nested 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 intprivate static final intstatic final intprotected final Tprivate intprivate intprivate longprivate intprotected final Textprotected intprotected intprivate ItemStackprotected intprotected intprivate ItemStackprivate ItemStackprivate longprivate longprivate intprivate intprivate booleanprotected intprotected intFields inherited from class net.minecraft.client.gui.screen.Screen
client, height, OPTIONS_BACKGROUND_TEXTURE, textRenderer, title, widthFields inherited from interface net.minecraft.client.gui.Element
MAX_DOUBLE_CLICK_INTERVAL -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate voidvoidclose()protected abstract voiddrawBackground(DrawContext context, float delta, int mouseX, int mouseY) protected voiddrawForeground(DrawContext context, int mouseX, int mouseY) private voiddrawItem(DrawContext context, ItemStack stack, int x, int y, String amountText) protected voiddrawMouseoverTooltip(DrawContext context, int x, int y) private voiddrawSlot(DrawContext context, Slot slot) static voiddrawSlotHighlight(DrawContext context, int x, int y, int z) voidgetSlotAt(double x, double y) 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 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.private voidonMouseClick(int button) protected voidonMouseClick(Slot slot, int slotId, int button, SlotActionType actionType) voidremoved()voidrender(DrawContext context, int mouseX, int mouseY, float delta) booleanfinal voidtick()Methods inherited from class net.minecraft.client.gui.screen.Screen
addDrawable, addDrawableChild, addElementNarrations, addScreenNarrations, addSelectableChild, applyKeyPressNarratorDelay, applyMouseMoveNarratorDelay, applyMousePressScrollNarratorDelay, applyNarratorModeChangeDelay, children, clearAndInit, clearChildren, filesDragged, findSelectedElementData, getMusic, getNarratedTitle, getNavigationFocus, getTitle, getTooltipFromItem, handleTextClick, hasAltDown, hasControlDown, hasShiftDown, hasUsageText, hide, init, initTabNavigation, insertText, isCopy, isCut, isMouseOver, isPaste, isSelectAll, isValidCharacterForName, narrateScreenIfNarrationEnabled, onDisplayed, remove, renderBackground, renderBackgroundTexture, renderWithTooltip, resize, setInitialFocus, setTooltip, setTooltip, setTooltip, setTooltip, shouldCloseOnEsc, switchFocus, updateNarrator, wrapScreenErrorMethods 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
mouseMovedMethods inherited from interface net.minecraft.client.gui.navigation.Navigable
getNavigationOrderMethods inherited from interface net.minecraft.client.gui.ParentElement
charTyped, focusOn, getFocusedPath, getNavigationPath, hoveredElement, isFocused, keyReleased, mouseScrolled, setFocused
-
Field Details
-
BACKGROUND_TEXTURE
- Mappings:
Namespace Name Mixin selector intermediary field_2801Lnet/minecraft/class_465;field_2801:Lnet/minecraft/class_2960;official aLeve;a:Lacq;named BACKGROUND_TEXTURELnet/minecraft/client/gui/screen/ingame/HandledScreen;BACKGROUND_TEXTURE:Lnet/minecraft/util/Identifier;
-
field_32318
private static final float field_32318- See Also:
- Mappings:
Namespace Name Mixin selector intermediary field_32318Lnet/minecraft/class_465;field_32318:Fofficial vLeve;v:Fnamed field_32318Lnet/minecraft/client/gui/screen/ingame/HandledScreen;field_32318:F
-
field_32319
private static final int field_32319- See Also:
- Mappings:
Namespace Name Mixin selector intermediary field_32319Lnet/minecraft/class_465;field_32319:Iofficial wLeve;w:Inamed field_32319Lnet/minecraft/client/gui/screen/ingame/HandledScreen;field_32319:I
-
field_32322
public static final int field_32322- See Also:
- Mappings:
Namespace Name Mixin selector intermediary field_32322Lnet/minecraft/class_465;field_32322:Iofficial bLeve;b:Inamed field_32322Lnet/minecraft/client/gui/screen/ingame/HandledScreen;field_32322:I
-
field_32321
private static final int field_32321- See Also:
- Mappings:
Namespace Name Mixin selector intermediary field_32321Lnet/minecraft/class_465;field_32321:Iofficial xLeve;x:Inamed field_32321Lnet/minecraft/client/gui/screen/ingame/HandledScreen;field_32321:I
-
backgroundWidth
protected int backgroundWidth- Mappings:
Namespace Name Mixin selector intermediary field_2792Lnet/minecraft/class_465;field_2792:Iofficial cLeve;c:Inamed backgroundWidthLnet/minecraft/client/gui/screen/ingame/HandledScreen;backgroundWidth:I
-
backgroundHeight
protected int backgroundHeight- Mappings:
Namespace Name Mixin selector intermediary field_2779Lnet/minecraft/class_465;field_2779:Iofficial jLeve;j:Inamed backgroundHeightLnet/minecraft/client/gui/screen/ingame/HandledScreen;backgroundHeight:I
-
titleX
protected int titleX- Mappings:
Namespace Name Mixin selector intermediary field_25267Lnet/minecraft/class_465;field_25267:Iofficial kLeve;k:Inamed titleXLnet/minecraft/client/gui/screen/ingame/HandledScreen;titleX:I
-
titleY
protected int titleY- Mappings:
Namespace Name Mixin selector intermediary field_25268Lnet/minecraft/class_465;field_25268:Iofficial lLeve;l:Inamed titleYLnet/minecraft/client/gui/screen/ingame/HandledScreen;titleY:I
-
playerInventoryTitleX
protected int playerInventoryTitleX- Mappings:
Namespace Name Mixin selector intermediary field_25269Lnet/minecraft/class_465;field_25269:Iofficial mLeve;m:Inamed playerInventoryTitleXLnet/minecraft/client/gui/screen/ingame/HandledScreen;playerInventoryTitleX:I
-
playerInventoryTitleY
protected int playerInventoryTitleY- Mappings:
Namespace Name Mixin selector intermediary field_25270Lnet/minecraft/class_465;field_25270:Iofficial nLeve;n:Inamed playerInventoryTitleYLnet/minecraft/client/gui/screen/ingame/HandledScreen;playerInventoryTitleY:I
-
handler
- Mappings:
Namespace Name Mixin selector intermediary field_2797Lnet/minecraft/class_465;field_2797:Lnet/minecraft/class_1703;official oLeve;o:Lcbd;named handlerLnet/minecraft/client/gui/screen/ingame/HandledScreen;handler:Lnet/minecraft/screen/ScreenHandler;
-
playerInventoryTitle
- Mappings:
Namespace Name Mixin selector intermediary field_29347Lnet/minecraft/class_465;field_29347:Lnet/minecraft/class_2561;official pLeve;p:Lsw;named playerInventoryTitleLnet/minecraft/client/gui/screen/ingame/HandledScreen;playerInventoryTitle:Lnet/minecraft/text/Text;
-
focusedSlot
- Mappings:
Namespace Name Mixin selector intermediary field_2787Lnet/minecraft/class_465;field_2787:Lnet/minecraft/class_1735;official qLeve;q:Lccv;named focusedSlotLnet/minecraft/client/gui/screen/ingame/HandledScreen;focusedSlot:Lnet/minecraft/screen/slot/Slot;
-
touchDragSlotStart
- Mappings:
Namespace Name Mixin selector intermediary field_2777Lnet/minecraft/class_465;field_2777:Lnet/minecraft/class_1735;official yLeve;y:Lccv;named touchDragSlotStartLnet/minecraft/client/gui/screen/ingame/HandledScreen;touchDragSlotStart:Lnet/minecraft/screen/slot/Slot;
-
touchDropOriginSlot
- Mappings:
Namespace Name Mixin selector intermediary field_2802Lnet/minecraft/class_465;field_2802:Lnet/minecraft/class_1735;official zLeve;z:Lccv;named touchDropOriginSlotLnet/minecraft/client/gui/screen/ingame/HandledScreen;touchDropOriginSlot:Lnet/minecraft/screen/slot/Slot;
-
touchHoveredSlot
- Mappings:
Namespace Name Mixin selector intermediary field_2780Lnet/minecraft/class_465;field_2780:Lnet/minecraft/class_1735;official ALeve;A:Lccv;named touchHoveredSlotLnet/minecraft/client/gui/screen/ingame/HandledScreen;touchHoveredSlot:Lnet/minecraft/screen/slot/Slot;
-
lastClickedSlot
- Mappings:
Namespace Name Mixin selector intermediary field_2799Lnet/minecraft/class_465;field_2799:Lnet/minecraft/class_1735;official CLeve;C:Lccv;named lastClickedSlotLnet/minecraft/client/gui/screen/ingame/HandledScreen;lastClickedSlot:Lnet/minecraft/screen/slot/Slot;
-
x
protected int x- Mappings:
Namespace Name Mixin selector intermediary field_2776Lnet/minecraft/class_465;field_2776:Iofficial rLeve;r:Inamed xLnet/minecraft/client/gui/screen/ingame/HandledScreen;x:I
-
y
protected int y- Mappings:
Namespace Name Mixin selector intermediary field_2800Lnet/minecraft/class_465;field_2800:Iofficial sLeve;s:Inamed yLnet/minecraft/client/gui/screen/ingame/HandledScreen;y:I
-
touchIsRightClickDrag
private boolean touchIsRightClickDrag- Mappings:
Namespace Name Mixin selector intermediary field_2789Lnet/minecraft/class_465;field_2789:Zofficial DLeve;D:Znamed touchIsRightClickDragLnet/minecraft/client/gui/screen/ingame/HandledScreen;touchIsRightClickDrag:Z
-
touchDragStack
- Mappings:
Namespace Name Mixin selector intermediary field_2782Lnet/minecraft/class_465;field_2782:Lnet/minecraft/class_1799;official ELeve;E:Lcfx;named touchDragStackLnet/minecraft/client/gui/screen/ingame/HandledScreen;touchDragStack:Lnet/minecraft/item/ItemStack;
-
touchDropX
private int touchDropX- Mappings:
Namespace Name Mixin selector intermediary field_2784Lnet/minecraft/class_465;field_2784:Iofficial FLeve;F:Inamed touchDropXLnet/minecraft/client/gui/screen/ingame/HandledScreen;touchDropX:I
-
touchDropY
private int touchDropY- Mappings:
Namespace Name Mixin selector intermediary field_2796Lnet/minecraft/class_465;field_2796:Iofficial GLeve;G:Inamed touchDropYLnet/minecraft/client/gui/screen/ingame/HandledScreen;touchDropY:I
-
touchDropTime
private long touchDropTime- Mappings:
Namespace Name Mixin selector intermediary field_2795Lnet/minecraft/class_465;field_2795:Jofficial HLeve;H:Jnamed touchDropTimeLnet/minecraft/client/gui/screen/ingame/HandledScreen;touchDropTime:J
-
touchDropReturningStack
- Mappings:
Namespace Name Mixin selector intermediary field_2785Lnet/minecraft/class_465;field_2785:Lnet/minecraft/class_1799;official ILeve;I:Lcfx;named touchDropReturningStackLnet/minecraft/client/gui/screen/ingame/HandledScreen;touchDropReturningStack:Lnet/minecraft/item/ItemStack;
-
touchDropTimer
private long touchDropTimer- Mappings:
Namespace Name Mixin selector intermediary field_2781Lnet/minecraft/class_465;field_2781:Jofficial JLeve;J:Jnamed touchDropTimerLnet/minecraft/client/gui/screen/ingame/HandledScreen;touchDropTimer:J
-
cursorDragSlots
- Mappings:
Namespace Name Mixin selector intermediary field_2793Lnet/minecraft/class_465;field_2793:Ljava/util/Set;official tLeve;t:Ljava/util/Set;named cursorDragSlotsLnet/minecraft/client/gui/screen/ingame/HandledScreen;cursorDragSlots:Ljava/util/Set;
-
cursorDragging
protected boolean cursorDragging- Mappings:
Namespace Name Mixin selector intermediary field_2794Lnet/minecraft/class_465;field_2794:Zofficial uLeve;u:Znamed cursorDraggingLnet/minecraft/client/gui/screen/ingame/HandledScreen;cursorDragging:Z
-
heldButtonType
private int heldButtonType- Mappings:
Namespace Name Mixin selector intermediary field_2790Lnet/minecraft/class_465;field_2790:Iofficial KLeve;K:Inamed heldButtonTypeLnet/minecraft/client/gui/screen/ingame/HandledScreen;heldButtonType:I
-
heldButtonCode
private int heldButtonCode- Mappings:
Namespace Name Mixin selector intermediary field_2778Lnet/minecraft/class_465;field_2778:Iofficial LLeve;L:Inamed heldButtonCodeLnet/minecraft/client/gui/screen/ingame/HandledScreen;heldButtonCode:I
-
cancelNextRelease
private boolean cancelNextRelease- Mappings:
Namespace Name Mixin selector intermediary field_2798Lnet/minecraft/class_465;field_2798:Zofficial MLeve;M:Znamed cancelNextReleaseLnet/minecraft/client/gui/screen/ingame/HandledScreen;cancelNextRelease:Z
-
draggedStackRemainder
private int draggedStackRemainder- Mappings:
Namespace Name Mixin selector intermediary field_2803Lnet/minecraft/class_465;field_2803:Iofficial NLeve;N:Inamed draggedStackRemainderLnet/minecraft/client/gui/screen/ingame/HandledScreen;draggedStackRemainder:I
-
lastButtonClickTime
private long lastButtonClickTime- Mappings:
Namespace Name Mixin selector intermediary field_2788Lnet/minecraft/class_465;field_2788:Jofficial OLeve;O:Jnamed lastButtonClickTimeLnet/minecraft/client/gui/screen/ingame/HandledScreen;lastButtonClickTime:J
-
lastClickedButton
private int lastClickedButton- Mappings:
Namespace Name Mixin selector intermediary field_2786Lnet/minecraft/class_465;field_2786:Iofficial PLeve;P:Inamed lastClickedButtonLnet/minecraft/client/gui/screen/ingame/HandledScreen;lastClickedButton:I
-
doubleClicking
private boolean doubleClicking- Mappings:
Namespace Name Mixin selector intermediary field_2783Lnet/minecraft/class_465;field_2783:Zofficial QLeve;Q:Znamed doubleClickingLnet/minecraft/client/gui/screen/ingame/HandledScreen;doubleClicking:Z
-
quickMovingStack
- Mappings:
Namespace Name Mixin selector intermediary field_2791Lnet/minecraft/class_465;field_2791:Lnet/minecraft/class_1799;official RLeve;R:Lcfx;named quickMovingStackLnet/minecraft/client/gui/screen/ingame/HandledScreen;quickMovingStack:Lnet/minecraft/item/ItemStack;
-
-
Constructor Details
-
HandledScreen
- Mappings:
Namespace Name Mixin selector intermediary <init>Lnet/minecraft/class_465;<init>(Lnet/minecraft/class_1703;Lnet/minecraft/class_1661;Lnet/minecraft/class_2561;)Vofficial <init>Leve;<init>(Lcbd;Lbyl;Lsw;)Vnamed <init>Lnet/minecraft/client/gui/screen/ingame/HandledScreen;<init>(Lnet/minecraft/screen/ScreenHandler;Lnet/minecraft/entity/player/PlayerInventory;Lnet/minecraft/text/Text;)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.
This should call
Screen.setInitialFocus(net.minecraft.client.gui.Element)to set the element that is initially focused. -
render
- Specified by:
renderin interfaceDrawable- Overrides:
renderin classScreen- Mappings:
Namespace Name Mixin selector intermediary method_25394Lnet/minecraft/class_4068;method_25394(Lnet/minecraft/class_332;IIF)Vofficial aLepy;a(Leop;IIF)Vnamed renderLnet/minecraft/client/gui/Drawable;render(Lnet/minecraft/client/gui/DrawContext;IIF)V
-
drawSlotHighlight
- Mappings:
Namespace Name Mixin selector intermediary method_33285Lnet/minecraft/class_465;method_33285(Lnet/minecraft/class_332;III)Vofficial aLeve;a(Leop;III)Vnamed drawSlotHighlightLnet/minecraft/client/gui/screen/ingame/HandledScreen;drawSlotHighlight(Lnet/minecraft/client/gui/DrawContext;III)V
-
drawMouseoverTooltip
- Mappings:
Namespace Name Mixin selector intermediary method_2380Lnet/minecraft/class_465;method_2380(Lnet/minecraft/class_332;II)Vofficial aLeve;a(Leop;II)Vnamed drawMouseoverTooltipLnet/minecraft/client/gui/screen/ingame/HandledScreen;drawMouseoverTooltip(Lnet/minecraft/client/gui/DrawContext;II)V
-
getTooltipFromItem
- Mappings:
Namespace Name Mixin selector intermediary method_51454Lnet/minecraft/class_465;method_51454(Lnet/minecraft/class_1799;)Ljava/util/List;official aLeve;a(Lcfx;)Ljava/util/List;named getTooltipFromItemLnet/minecraft/client/gui/screen/ingame/HandledScreen;getTooltipFromItem(Lnet/minecraft/item/ItemStack;)Ljava/util/List;
-
drawItem
- Mappings:
Namespace Name Mixin selector intermediary method_2382Lnet/minecraft/class_465;method_2382(Lnet/minecraft/class_332;Lnet/minecraft/class_1799;IILjava/lang/String;)Vofficial aLeve;a(Leop;Lcfx;IILjava/lang/String;)Vnamed drawItemLnet/minecraft/client/gui/screen/ingame/HandledScreen;drawItem(Lnet/minecraft/client/gui/DrawContext;Lnet/minecraft/item/ItemStack;IILjava/lang/String;)V
-
drawForeground
- Mappings:
Namespace Name Mixin selector intermediary method_2388Lnet/minecraft/class_465;method_2388(Lnet/minecraft/class_332;II)Vofficial bLeve;b(Leop;II)Vnamed drawForegroundLnet/minecraft/client/gui/screen/ingame/HandledScreen;drawForeground(Lnet/minecraft/client/gui/DrawContext;II)V
-
drawBackground
- Mappings:
Namespace Name Mixin selector intermediary method_2389Lnet/minecraft/class_465;method_2389(Lnet/minecraft/class_332;FII)Vofficial aLeve;a(Leop;FII)Vnamed drawBackgroundLnet/minecraft/client/gui/screen/ingame/HandledScreen;drawBackground(Lnet/minecraft/client/gui/DrawContext;FII)V
-
drawSlot
- Mappings:
Namespace Name Mixin selector intermediary method_2385Lnet/minecraft/class_465;method_2385(Lnet/minecraft/class_332;Lnet/minecraft/class_1735;)Vofficial aLeve;a(Leop;Lccv;)Vnamed drawSlotLnet/minecraft/client/gui/screen/ingame/HandledScreen;drawSlot(Lnet/minecraft/client/gui/DrawContext;Lnet/minecraft/screen/slot/Slot;)V
-
calculateOffset
private void calculateOffset()- Mappings:
Namespace Name Mixin selector intermediary method_2379Lnet/minecraft/class_465;method_2379()Vofficial FLeve;F()Vnamed calculateOffsetLnet/minecraft/client/gui/screen/ingame/HandledScreen;calculateOffset()V
-
getSlotAt
- Mappings:
Namespace Name Mixin selector intermediary method_2386Lnet/minecraft/class_465;method_2386(DD)Lnet/minecraft/class_1735;official aLeve;a(DD)Lccv;named getSlotAtLnet/minecraft/client/gui/screen/ingame/HandledScreen;getSlotAt(DD)Lnet/minecraft/screen/slot/Slot;
-
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 intermediary method_25402Lnet/minecraft/class_364;method_25402(DDI)Zofficial aLeqk;a(DDI)Znamed mouseClickedLnet/minecraft/client/gui/Element;mouseClicked(DDI)Z
-
onMouseClick
private void onMouseClick(int button) - Mappings:
Namespace Name Mixin selector intermediary method_30107Lnet/minecraft/class_465;method_30107(I)Vofficial aLeve;a(I)Vnamed onMouseClickLnet/minecraft/client/gui/screen/ingame/HandledScreen;onMouseClick(I)V
-
isClickOutsideBounds
protected boolean isClickOutsideBounds(double mouseX, double mouseY, int left, int top, int button) - Mappings:
Namespace Name Mixin selector intermediary method_2381Lnet/minecraft/class_465;method_2381(DDIII)Zofficial aLeve;a(DDIII)Znamed isClickOutsideBoundsLnet/minecraft/client/gui/screen/ingame/HandledScreen;isClickOutsideBounds(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 intermediary method_25403Lnet/minecraft/class_364;method_25403(DDIDD)Zofficial aLeqk;a(DDIDD)Znamed mouseDraggedLnet/minecraft/client/gui/Element;mouseDragged(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 intermediary method_25406Lnet/minecraft/class_364;method_25406(DDI)Zofficial bLeqk;b(DDI)Znamed mouseReleasedLnet/minecraft/client/gui/Element;mouseReleased(DDI)Z
-
endTouchDrag
public void endTouchDrag()- Mappings:
Namespace Name Mixin selector intermediary method_44339Lnet/minecraft/class_465;method_44339()Vofficial lLeve;l()Vnamed endTouchDragLnet/minecraft/client/gui/screen/ingame/HandledScreen;endTouchDrag()V
-
isPointOverSlot
- Mappings:
Namespace Name Mixin selector intermediary method_2387Lnet/minecraft/class_465;method_2387(Lnet/minecraft/class_1735;DD)Zofficial aLeve;a(Lccv;DD)Znamed isPointOverSlotLnet/minecraft/client/gui/screen/ingame/HandledScreen;isPointOverSlot(Lnet/minecraft/screen/slot/Slot;DD)Z
-
isPointWithinBounds
protected boolean isPointWithinBounds(int x, int y, int width, int height, double pointX, double pointY) - Mappings:
Namespace Name Mixin selector intermediary method_2378Lnet/minecraft/class_465;method_2378(IIIIDD)Zofficial aLeve;a(IIIIDD)Znamed isPointWithinBoundsLnet/minecraft/client/gui/screen/ingame/HandledScreen;isPointWithinBounds(IIIIDD)Z
-
onMouseClick
- See Also:
- Mappings:
Namespace Name Mixin selector intermediary method_2383Lnet/minecraft/class_465;method_2383(Lnet/minecraft/class_1735;IILnet/minecraft/class_1713;)Vofficial aLeve;a(Lccv;IILcbm;)Vnamed onMouseClickLnet/minecraft/client/gui/screen/ingame/HandledScreen;onMouseClick(Lnet/minecraft/screen/slot/Slot;IILnet/minecraft/screen/slot/SlotActionType;)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 intermediary method_25404Lnet/minecraft/class_364;method_25404(III)Zofficial aLeqk;a(III)Znamed keyPressedLnet/minecraft/client/gui/Element;keyPressed(III)Z
-
handleHotbarKeyPressed
protected boolean handleHotbarKeyPressed(int keyCode, int scanCode) - Mappings:
Namespace Name Mixin selector intermediary method_2384Lnet/minecraft/class_465;method_2384(II)Zofficial aLeve;a(II)Znamed handleHotbarKeyPressedLnet/minecraft/client/gui/screen/ingame/HandledScreen;handleHotbarKeyPressed(II)Z
-
removed
public void removed() -
shouldPause
public boolean shouldPause()- Overrides:
shouldPausein classScreen- Mappings:
Namespace Name Mixin selector intermediary method_25421Lnet/minecraft/class_437;method_25421()Zofficial az_Leug;az_()Znamed shouldPauseLnet/minecraft/client/gui/screen/Screen;shouldPause()Z
-
tick
public final void tick() -
handledScreenTick
protected void handledScreenTick()- Mappings:
Namespace Name Mixin selector intermediary method_37432Lnet/minecraft/class_465;method_37432()Vofficial BLeve;B()Vnamed handledScreenTickLnet/minecraft/client/gui/screen/ingame/HandledScreen;handledScreenTick()V
-
getScreenHandler
- Specified by:
getScreenHandlerin interfaceScreenHandlerProvider<T extends ScreenHandler>- Mappings:
Namespace Name Mixin selector intermediary method_17577Lnet/minecraft/class_3936;method_17577()Lnet/minecraft/class_1703;official CLewi;C()Lcbd;named getScreenHandlerLnet/minecraft/client/gui/screen/ingame/ScreenHandlerProvider;getScreenHandler()Lnet/minecraft/screen/ScreenHandler;
-
close
public void close()
-