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
,CrafterScreen
,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 named net/minecraft/client/gui/screen/ingame/HandledScreen
intermediary net/minecraft/class_465
official foa
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.client.gui.screen.Screen
Screen.SelectedElementNarrationData
-
Field Summary
Modifier and TypeFieldDescriptionstatic final Identifier
protected int
protected int
private boolean
protected boolean
private boolean
private int
private static final float
private static final int
private static final int
static final int
protected final T
private int
private int
private long
private int
protected final Text
protected int
protected int
private ItemStack
protected int
protected int
private ItemStack
private ItemStack
private long
private long
private int
private int
private boolean
protected int
protected int
Fields inherited from class net.minecraft.client.gui.screen.Screen
client, executor, FOOTER_SEPARATOR_TEXTURE, HEADER_SEPARATOR_TEXTURE, height, INWORLD_FOOTER_SEPARATOR_TEXTURE, INWORLD_HEADER_SEPARATOR_TEXTURE, MENU_BACKGROUND_TEXTURE, PANORAMA_RENDERER, ROTATING_PANORAMA_RENDERER, textRenderer, title, width
Fields inherited from interface net.minecraft.client.gui.Element
MAX_DOUBLE_CLICK_INTERVAL
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate void
void
close()
protected abstract void
drawBackground
(DrawContext context, float delta, int mouseX, int mouseY) protected void
drawForeground
(DrawContext context, int mouseX, int mouseY) private void
drawItem
(DrawContext context, ItemStack stack, int x, int y, String amountText) protected void
drawMouseoverTooltip
(DrawContext context, int x, int y) protected void
drawSlot
(DrawContext context, Slot slot) static void
drawSlotHighlight
(DrawContext context, int x, int y, int z) void
getSlotAt
(double x, double y) getTooltipFromItem
(ItemStack stack) protected void
protected boolean
handleHotbarKeyPressed
(int keyCode, int scanCode) protected void
init()
Called when a screen should be initialized.protected boolean
isClickOutsideBounds
(double mouseX, double mouseY, int left, int top, int button) private boolean
isPointOverSlot
(Slot slot, double pointX, double pointY) protected boolean
isPointWithinBounds
(int x, int y, int width, int height, double pointX, double pointY) boolean
keyPressed
(int keyCode, int scanCode, int modifiers) Callback for when a key down event has been captured.boolean
mouseClicked
(double mouseX, double mouseY, int button) Callback for when a mouse button down event has been captured.boolean
mouseDragged
(double mouseX, double mouseY, int button, double deltaX, double deltaY) Callback for when a mouse button drag event has been captured.boolean
mouseReleased
(double mouseX, double mouseY, int button) Callback for when a mouse button release event has been captured.private void
onMouseClick
(int button) protected void
onMouseClick
(Slot slot, int slotId, int button, SlotActionType actionType) protected void
onSlotChangedState
(int slotId, int handlerId, boolean newState) void
removed()
void
render
(DrawContext context, int mouseX, int mouseY, float delta) void
renderBackground
(DrawContext context, int mouseX, int mouseY, float delta) Renders the background of this screen.boolean
final void
tick()
Methods inherited from class net.minecraft.client.gui.screen.Screen
addDrawable, addDrawableChild, addElementNarrations, addScreenNarrations, addSelectableChild, applyBlur, applyKeyPressNarratorDelay, applyMouseMoveNarratorDelay, applyMousePressScrollNarratorDelay, applyNarratorModeChangeDelay, blur, children, clearAndInit, clearChildren, clearTooltip, filesDragged, findSelectedElementData, getMusic, getNarratedTitle, getNavigationFocus, getTitle, getTooltipFromItem, getUsageNarrationText, handleTextClick, hasAltDown, hasControlDown, hasShiftDown, hasUsageText, init, initTabNavigation, insertText, isCopy, isCut, isMouseOver, isPaste, isSelectAll, isValidCharacterForName, narrateScreenIfNarrationEnabled, onDisplayed, remove, renderBackgroundTexture, renderDarkening, renderDarkening, renderInGameBackground, renderPanoramaBackground, renderWithTooltip, resize, setInitialFocus, setInitialFocus, setTooltip, setTooltip, setTooltip, setTooltip, shouldCloseOnEsc, switchFocus, updateNarrator, wrapScreenError
Methods inherited from class net.minecraft.client.gui.AbstractParentElement
getFocused, isDragging, setDragging, setFocused
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.client.gui.Element
mouseMoved
Methods inherited from interface net.minecraft.client.gui.navigation.Navigable
getNavigationOrder
Methods inherited from interface net.minecraft.client.gui.ParentElement
charTyped, getFocusedPath, getNavigationPath, hoveredElement, isFocused, keyReleased, mouseScrolled, setFocused
-
Field Details
-
BACKGROUND_TEXTURE
- Mappings:
Namespace Name Mixin selector named BACKGROUND_TEXTURE
Lnet/minecraft/client/gui/screen/ingame/HandledScreen;BACKGROUND_TEXTURE:Lnet/minecraft/util/Identifier;
intermediary field_2801
Lnet/minecraft/class_465;field_2801:Lnet/minecraft/class_2960;
official a
Lfoa;a:Lakk;
-
field_32318
private static final float field_32318- See Also:
- Mappings:
Namespace Name Mixin selector named field_32318
Lnet/minecraft/client/gui/screen/ingame/HandledScreen;field_32318:F
intermediary field_32318
Lnet/minecraft/class_465;field_32318:F
official D
Lfoa;D:F
-
field_32319
private static final int field_32319- See Also:
- Mappings:
Namespace Name Mixin selector named field_32319
Lnet/minecraft/client/gui/screen/ingame/HandledScreen;field_32319:I
intermediary field_32319
Lnet/minecraft/class_465;field_32319:I
official E
Lfoa;E:I
-
field_32322
public static final int field_32322- See Also:
- Mappings:
Namespace Name Mixin selector named field_32322
Lnet/minecraft/client/gui/screen/ingame/HandledScreen;field_32322:I
intermediary field_32322
Lnet/minecraft/class_465;field_32322:I
official b
Lfoa;b:I
-
field_32321
private static final int field_32321- See Also:
- Mappings:
Namespace Name Mixin selector named field_32321
Lnet/minecraft/client/gui/screen/ingame/HandledScreen;field_32321:I
intermediary field_32321
Lnet/minecraft/class_465;field_32321:I
official F
Lfoa;F:I
-
backgroundWidth
protected int backgroundWidth- Mappings:
Namespace Name Mixin selector named backgroundWidth
Lnet/minecraft/client/gui/screen/ingame/HandledScreen;backgroundWidth:I
intermediary field_2792
Lnet/minecraft/class_465;field_2792:I
official c
Lfoa;c:I
-
backgroundHeight
protected int backgroundHeight- Mappings:
Namespace Name Mixin selector named backgroundHeight
Lnet/minecraft/client/gui/screen/ingame/HandledScreen;backgroundHeight:I
intermediary field_2779
Lnet/minecraft/class_465;field_2779:I
official q
Lfoa;q:I
-
titleX
protected int titleX- Mappings:
Namespace Name Mixin selector named titleX
Lnet/minecraft/client/gui/screen/ingame/HandledScreen;titleX:I
intermediary field_25267
Lnet/minecraft/class_465;field_25267:I
official r
Lfoa;r:I
-
titleY
protected int titleY- Mappings:
Namespace Name Mixin selector named titleY
Lnet/minecraft/client/gui/screen/ingame/HandledScreen;titleY:I
intermediary field_25268
Lnet/minecraft/class_465;field_25268:I
official s
Lfoa;s:I
-
playerInventoryTitleX
protected int playerInventoryTitleX- Mappings:
Namespace Name Mixin selector named playerInventoryTitleX
Lnet/minecraft/client/gui/screen/ingame/HandledScreen;playerInventoryTitleX:I
intermediary field_25269
Lnet/minecraft/class_465;field_25269:I
official u
Lfoa;u:I
-
playerInventoryTitleY
protected int playerInventoryTitleY- Mappings:
Namespace Name Mixin selector named playerInventoryTitleY
Lnet/minecraft/client/gui/screen/ingame/HandledScreen;playerInventoryTitleY:I
intermediary field_25270
Lnet/minecraft/class_465;field_25270:I
official v
Lfoa;v:I
-
handler
- Mappings:
Namespace Name Mixin selector named handler
Lnet/minecraft/client/gui/screen/ingame/HandledScreen;handler:Lnet/minecraft/screen/ScreenHandler;
intermediary field_2797
Lnet/minecraft/class_465;field_2797:Lnet/minecraft/class_1703;
official w
Lfoa;w:Lcpi;
-
playerInventoryTitle
- Mappings:
Namespace Name Mixin selector named playerInventoryTitle
Lnet/minecraft/client/gui/screen/ingame/HandledScreen;playerInventoryTitle:Lnet/minecraft/text/Text;
intermediary field_29347
Lnet/minecraft/class_465;field_29347:Lnet/minecraft/class_2561;
official x
Lfoa;x:Lwu;
-
focusedSlot
- Mappings:
Namespace Name Mixin selector named focusedSlot
Lnet/minecraft/client/gui/screen/ingame/HandledScreen;focusedSlot:Lnet/minecraft/screen/slot/Slot;
intermediary field_2787
Lnet/minecraft/class_465;field_2787:Lnet/minecraft/class_1735;
official y
Lfoa;y:Lcre;
-
touchDragSlotStart
- Mappings:
Namespace Name Mixin selector named touchDragSlotStart
Lnet/minecraft/client/gui/screen/ingame/HandledScreen;touchDragSlotStart:Lnet/minecraft/screen/slot/Slot;
intermediary field_2777
Lnet/minecraft/class_465;field_2777:Lnet/minecraft/class_1735;
official G
Lfoa;G:Lcre;
-
touchDropOriginSlot
- Mappings:
Namespace Name Mixin selector named touchDropOriginSlot
Lnet/minecraft/client/gui/screen/ingame/HandledScreen;touchDropOriginSlot:Lnet/minecraft/screen/slot/Slot;
intermediary field_2802
Lnet/minecraft/class_465;field_2802:Lnet/minecraft/class_1735;
official H
Lfoa;H:Lcre;
-
touchHoveredSlot
- Mappings:
Namespace Name Mixin selector named touchHoveredSlot
Lnet/minecraft/client/gui/screen/ingame/HandledScreen;touchHoveredSlot:Lnet/minecraft/screen/slot/Slot;
intermediary field_2780
Lnet/minecraft/class_465;field_2780:Lnet/minecraft/class_1735;
official I
Lfoa;I:Lcre;
-
lastClickedSlot
- Mappings:
Namespace Name Mixin selector named lastClickedSlot
Lnet/minecraft/client/gui/screen/ingame/HandledScreen;lastClickedSlot:Lnet/minecraft/screen/slot/Slot;
intermediary field_2799
Lnet/minecraft/class_465;field_2799:Lnet/minecraft/class_1735;
official J
Lfoa;J:Lcre;
-
x
protected int x- Mappings:
Namespace Name Mixin selector named x
Lnet/minecraft/client/gui/screen/ingame/HandledScreen;x:I
intermediary field_2776
Lnet/minecraft/class_465;field_2776:I
official z
Lfoa;z:I
-
y
protected int y- Mappings:
Namespace Name Mixin selector named y
Lnet/minecraft/client/gui/screen/ingame/HandledScreen;y:I
intermediary field_2800
Lnet/minecraft/class_465;field_2800:I
official A
Lfoa;A:I
-
touchIsRightClickDrag
private boolean touchIsRightClickDrag- Mappings:
Namespace Name Mixin selector named touchIsRightClickDrag
Lnet/minecraft/client/gui/screen/ingame/HandledScreen;touchIsRightClickDrag:Z
intermediary field_2789
Lnet/minecraft/class_465;field_2789:Z
official K
Lfoa;K:Z
-
touchDragStack
- Mappings:
Namespace Name Mixin selector named touchDragStack
Lnet/minecraft/client/gui/screen/ingame/HandledScreen;touchDragStack:Lnet/minecraft/item/ItemStack;
intermediary field_2782
Lnet/minecraft/class_465;field_2782:Lnet/minecraft/class_1799;
official L
Lfoa;L:Lcud;
-
touchDropX
private int touchDropX- Mappings:
Namespace Name Mixin selector named touchDropX
Lnet/minecraft/client/gui/screen/ingame/HandledScreen;touchDropX:I
intermediary field_2784
Lnet/minecraft/class_465;field_2784:I
official M
Lfoa;M:I
-
touchDropY
private int touchDropY- Mappings:
Namespace Name Mixin selector named touchDropY
Lnet/minecraft/client/gui/screen/ingame/HandledScreen;touchDropY:I
intermediary field_2796
Lnet/minecraft/class_465;field_2796:I
official N
Lfoa;N:I
-
touchDropTime
private long touchDropTime- Mappings:
Namespace Name Mixin selector named touchDropTime
Lnet/minecraft/client/gui/screen/ingame/HandledScreen;touchDropTime:J
intermediary field_2795
Lnet/minecraft/class_465;field_2795:J
official O
Lfoa;O:J
-
touchDropReturningStack
- Mappings:
Namespace Name Mixin selector named touchDropReturningStack
Lnet/minecraft/client/gui/screen/ingame/HandledScreen;touchDropReturningStack:Lnet/minecraft/item/ItemStack;
intermediary field_2785
Lnet/minecraft/class_465;field_2785:Lnet/minecraft/class_1799;
official P
Lfoa;P:Lcud;
-
touchDropTimer
private long touchDropTimer- Mappings:
Namespace Name Mixin selector named touchDropTimer
Lnet/minecraft/client/gui/screen/ingame/HandledScreen;touchDropTimer:J
intermediary field_2781
Lnet/minecraft/class_465;field_2781:J
official Q
Lfoa;Q:J
-
cursorDragSlots
- Mappings:
Namespace Name Mixin selector named cursorDragSlots
Lnet/minecraft/client/gui/screen/ingame/HandledScreen;cursorDragSlots:Ljava/util/Set;
intermediary field_2793
Lnet/minecraft/class_465;field_2793:Ljava/util/Set;
official B
Lfoa;B:Ljava/util/Set;
-
cursorDragging
protected boolean cursorDragging- Mappings:
Namespace Name Mixin selector named cursorDragging
Lnet/minecraft/client/gui/screen/ingame/HandledScreen;cursorDragging:Z
intermediary field_2794
Lnet/minecraft/class_465;field_2794:Z
official C
Lfoa;C:Z
-
heldButtonType
private int heldButtonType- Mappings:
Namespace Name Mixin selector named heldButtonType
Lnet/minecraft/client/gui/screen/ingame/HandledScreen;heldButtonType:I
intermediary field_2790
Lnet/minecraft/class_465;field_2790:I
official R
Lfoa;R:I
-
heldButtonCode
private int heldButtonCode- Mappings:
Namespace Name Mixin selector named heldButtonCode
Lnet/minecraft/client/gui/screen/ingame/HandledScreen;heldButtonCode:I
intermediary field_2778
Lnet/minecraft/class_465;field_2778:I
official S
Lfoa;S:I
-
cancelNextRelease
private boolean cancelNextRelease- Mappings:
Namespace Name Mixin selector named cancelNextRelease
Lnet/minecraft/client/gui/screen/ingame/HandledScreen;cancelNextRelease:Z
intermediary field_2798
Lnet/minecraft/class_465;field_2798:Z
official T
Lfoa;T:Z
-
draggedStackRemainder
private int draggedStackRemainder- Mappings:
Namespace Name Mixin selector named draggedStackRemainder
Lnet/minecraft/client/gui/screen/ingame/HandledScreen;draggedStackRemainder:I
intermediary field_2803
Lnet/minecraft/class_465;field_2803:I
official U
Lfoa;U:I
-
lastButtonClickTime
private long lastButtonClickTime- Mappings:
Namespace Name Mixin selector named lastButtonClickTime
Lnet/minecraft/client/gui/screen/ingame/HandledScreen;lastButtonClickTime:J
intermediary field_2788
Lnet/minecraft/class_465;field_2788:J
official V
Lfoa;V:J
-
lastClickedButton
private int lastClickedButton- Mappings:
Namespace Name Mixin selector named lastClickedButton
Lnet/minecraft/client/gui/screen/ingame/HandledScreen;lastClickedButton:I
intermediary field_2786
Lnet/minecraft/class_465;field_2786:I
official W
Lfoa;W:I
-
doubleClicking
private boolean doubleClicking- Mappings:
Namespace Name Mixin selector named doubleClicking
Lnet/minecraft/client/gui/screen/ingame/HandledScreen;doubleClicking:Z
intermediary field_2783
Lnet/minecraft/class_465;field_2783:Z
official X
Lfoa;X:Z
-
quickMovingStack
- Mappings:
Namespace Name Mixin selector named quickMovingStack
Lnet/minecraft/client/gui/screen/ingame/HandledScreen;quickMovingStack:Lnet/minecraft/item/ItemStack;
intermediary field_2791
Lnet/minecraft/class_465;field_2791:Lnet/minecraft/class_1799;
official Y
Lfoa;Y:Lcud;
-
-
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;)V
intermediary <init>
Lnet/minecraft/class_465;<init>(Lnet/minecraft/class_1703;Lnet/minecraft/class_1661;Lnet/minecraft/class_2561;)V
official <init>
Lfoa;<init>(Lcpi;Lcmk;Lwu;)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()
to set the element that is initially focused. -
render
- Specified by:
render
in interfaceDrawable
- Overrides:
render
in classScreen
- Mappings:
Namespace Name Mixin selector named render
Lnet/minecraft/client/gui/Drawable;render(Lnet/minecraft/client/gui/DrawContext;IIF)V
intermediary method_25394
Lnet/minecraft/class_4068;method_25394(Lnet/minecraft/class_332;IIF)V
official a
Lfix;a(Lfhh;IIF)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:
renderBackground
in classScreen
- Mappings:
Namespace Name Mixin selector named renderBackground
Lnet/minecraft/client/gui/screen/Screen;renderBackground(Lnet/minecraft/client/gui/DrawContext;IIF)V
intermediary method_25420
Lnet/minecraft/class_437;method_25420(Lnet/minecraft/class_332;IIF)V
official b
Lfnl;b(Lfhh;IIF)V
-
drawSlotHighlight
- Mappings:
Namespace Name Mixin selector named drawSlotHighlight
Lnet/minecraft/client/gui/screen/ingame/HandledScreen;drawSlotHighlight(Lnet/minecraft/client/gui/DrawContext;III)V
intermediary method_33285
Lnet/minecraft/class_465;method_33285(Lnet/minecraft/class_332;III)V
official a
Lfoa;a(Lfhh;III)V
-
drawMouseoverTooltip
- Mappings:
Namespace Name Mixin selector named drawMouseoverTooltip
Lnet/minecraft/client/gui/screen/ingame/HandledScreen;drawMouseoverTooltip(Lnet/minecraft/client/gui/DrawContext;II)V
intermediary method_2380
Lnet/minecraft/class_465;method_2380(Lnet/minecraft/class_332;II)V
official a
Lfoa;a(Lfhh;II)V
-
getTooltipFromItem
- Mappings:
Namespace Name Mixin selector named getTooltipFromItem
Lnet/minecraft/client/gui/screen/ingame/HandledScreen;getTooltipFromItem(Lnet/minecraft/item/ItemStack;)Ljava/util/List;
intermediary method_51454
Lnet/minecraft/class_465;method_51454(Lnet/minecraft/class_1799;)Ljava/util/List;
official a
Lfoa;a(Lcud;)Ljava/util/List;
-
drawItem
- Mappings:
Namespace Name Mixin selector named drawItem
Lnet/minecraft/client/gui/screen/ingame/HandledScreen;drawItem(Lnet/minecraft/client/gui/DrawContext;Lnet/minecraft/item/ItemStack;IILjava/lang/String;)V
intermediary method_2382
Lnet/minecraft/class_465;method_2382(Lnet/minecraft/class_332;Lnet/minecraft/class_1799;IILjava/lang/String;)V
official a
Lfoa;a(Lfhh;Lcud;IILjava/lang/String;)V
-
drawForeground
- Mappings:
Namespace Name Mixin selector named drawForeground
Lnet/minecraft/client/gui/screen/ingame/HandledScreen;drawForeground(Lnet/minecraft/client/gui/DrawContext;II)V
intermediary method_2388
Lnet/minecraft/class_465;method_2388(Lnet/minecraft/class_332;II)V
official b
Lfoa;b(Lfhh;II)V
-
drawBackground
- Mappings:
Namespace Name Mixin selector named drawBackground
Lnet/minecraft/client/gui/screen/ingame/HandledScreen;drawBackground(Lnet/minecraft/client/gui/DrawContext;FII)V
intermediary method_2389
Lnet/minecraft/class_465;method_2389(Lnet/minecraft/class_332;FII)V
official a
Lfoa;a(Lfhh;FII)V
-
drawSlot
- Mappings:
Namespace Name Mixin selector named drawSlot
Lnet/minecraft/client/gui/screen/ingame/HandledScreen;drawSlot(Lnet/minecraft/client/gui/DrawContext;Lnet/minecraft/screen/slot/Slot;)V
intermediary method_2385
Lnet/minecraft/class_465;method_2385(Lnet/minecraft/class_332;Lnet/minecraft/class_1735;)V
official a
Lfoa;a(Lfhh;Lcre;)V
-
calculateOffset
private void calculateOffset()- Mappings:
Namespace Name Mixin selector named calculateOffset
Lnet/minecraft/client/gui/screen/ingame/HandledScreen;calculateOffset()V
intermediary method_2379
Lnet/minecraft/class_465;method_2379()V
official J
Lfoa;J()V
-
getSlotAt
- Mappings:
Namespace Name Mixin selector named getSlotAt
Lnet/minecraft/client/gui/screen/ingame/HandledScreen;getSlotAt(DD)Lnet/minecraft/screen/slot/Slot;
intermediary method_2386
Lnet/minecraft/class_465;method_2386(DD)Lnet/minecraft/class_1735;
official b
Lfoa;b(DD)Lcre;
-
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 inGLFW
class.- Specified by:
mouseClicked
in interfaceElement
- Specified by:
mouseClicked
in interfaceParentElement
- Parameters:
mouseX
- the X coordinate of the mousemouseY
- the Y coordinate of the mousebutton
- the mouse button number- Returns:
true
to indicate that the event handling is successful/valid- See Also:
- Mappings:
Namespace Name Mixin selector named mouseClicked
Lnet/minecraft/client/gui/Element;mouseClicked(DDI)Z
intermediary method_25402
Lnet/minecraft/class_364;method_25402(DDI)Z
official a
Lfjq;a(DDI)Z
-
onMouseClick
private void onMouseClick(int button) - Mappings:
Namespace Name Mixin selector named onMouseClick
Lnet/minecraft/client/gui/screen/ingame/HandledScreen;onMouseClick(I)V
intermediary method_30107
Lnet/minecraft/class_465;method_30107(I)V
official a
Lfoa;a(I)V
-
isClickOutsideBounds
protected boolean isClickOutsideBounds(double mouseX, double mouseY, int left, int top, int button) - Mappings:
Namespace Name Mixin selector named isClickOutsideBounds
Lnet/minecraft/client/gui/screen/ingame/HandledScreen;isClickOutsideBounds(DDIII)Z
intermediary method_2381
Lnet/minecraft/class_465;method_2381(DDIII)Z
official a
Lfoa;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 inGLFW
class.- Specified by:
mouseDragged
in interfaceElement
- Specified by:
mouseDragged
in 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:
true
to indicate that the event handling is successful/valid- See Also:
- Mappings:
Namespace Name Mixin selector named mouseDragged
Lnet/minecraft/client/gui/Element;mouseDragged(DDIDD)Z
intermediary method_25403
Lnet/minecraft/class_364;method_25403(DDIDD)Z
official a
Lfjq;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 inGLFW
class.- Specified by:
mouseReleased
in interfaceElement
- Specified by:
mouseReleased
in interfaceParentElement
- Parameters:
mouseX
- the X coordinate of the mousemouseY
- the Y coordinate of the mousebutton
- the mouse button number- Returns:
true
to indicate that the event handling is successful/valid- See Also:
- Mappings:
Namespace Name Mixin selector named mouseReleased
Lnet/minecraft/client/gui/Element;mouseReleased(DDI)Z
intermediary method_25406
Lnet/minecraft/class_364;method_25406(DDI)Z
official b
Lfjq;b(DDI)Z
-
endTouchDrag
public void endTouchDrag()- Mappings:
Namespace Name Mixin selector named endTouchDrag
Lnet/minecraft/client/gui/screen/ingame/HandledScreen;endTouchDrag()V
intermediary method_44339
Lnet/minecraft/class_465;method_44339()V
official m
Lfoa;m()V
-
isPointOverSlot
- Mappings:
Namespace Name Mixin selector named isPointOverSlot
Lnet/minecraft/client/gui/screen/ingame/HandledScreen;isPointOverSlot(Lnet/minecraft/screen/slot/Slot;DD)Z
intermediary method_2387
Lnet/minecraft/class_465;method_2387(Lnet/minecraft/class_1735;DD)Z
official a
Lfoa;a(Lcre;DD)Z
-
isPointWithinBounds
protected boolean isPointWithinBounds(int x, int y, int width, int height, double pointX, double pointY) - Mappings:
Namespace Name Mixin selector named isPointWithinBounds
Lnet/minecraft/client/gui/screen/ingame/HandledScreen;isPointWithinBounds(IIIIDD)Z
intermediary method_2378
Lnet/minecraft/class_465;method_2378(IIIIDD)Z
official a
Lfoa;a(IIIIDD)Z
-
onMouseClick
- See Also:
- Mappings:
Namespace Name Mixin selector named onMouseClick
Lnet/minecraft/client/gui/screen/ingame/HandledScreen;onMouseClick(Lnet/minecraft/screen/slot/Slot;IILnet/minecraft/screen/slot/SlotActionType;)V
intermediary method_2383
Lnet/minecraft/class_465;method_2383(Lnet/minecraft/class_1735;IILnet/minecraft/class_1713;)V
official a
Lfoa;a(Lcre;IILcps;)V
-
onSlotChangedState
protected void onSlotChangedState(int slotId, int handlerId, boolean newState) - Mappings:
Namespace Name Mixin selector named onSlotChangedState
Lnet/minecraft/client/gui/screen/ingame/HandledScreen;onSlotChangedState(IIZ)V
intermediary method_54590
Lnet/minecraft/class_465;method_54590(IIZ)V
official a
Lfoa;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 inGLFW
class.- Specified by:
keyPressed
in interfaceElement
- Specified by:
keyPressed
in interfaceParentElement
- Overrides:
keyPressed
in classScreen
- Parameters:
keyCode
- the named key code of the event as described in theGLFW
classscanCode
- 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:
true
to indicate that the event handling is successful/valid- See Also:
- Mappings:
Namespace Name Mixin selector named keyPressed
Lnet/minecraft/client/gui/Element;keyPressed(III)Z
intermediary method_25404
Lnet/minecraft/class_364;method_25404(III)Z
official a
Lfjq;a(III)Z
-
handleHotbarKeyPressed
protected boolean handleHotbarKeyPressed(int keyCode, int scanCode) - Mappings:
Namespace Name Mixin selector named handleHotbarKeyPressed
Lnet/minecraft/client/gui/screen/ingame/HandledScreen;handleHotbarKeyPressed(II)Z
intermediary method_2384
Lnet/minecraft/class_465;method_2384(II)Z
official a
Lfoa;a(II)Z
-
removed
public void removed() -
shouldPause
public boolean shouldPause()- Overrides:
shouldPause
in classScreen
- Mappings:
Namespace Name Mixin selector named shouldPause
Lnet/minecraft/client/gui/screen/Screen;shouldPause()Z
intermediary method_25421
Lnet/minecraft/class_437;method_25421()Z
official k
Lfnl;k()Z
-
tick
public final void tick() -
handledScreenTick
protected void handledScreenTick()- Mappings:
Namespace Name Mixin selector named handledScreenTick
Lnet/minecraft/client/gui/screen/ingame/HandledScreen;handledScreenTick()V
intermediary method_37432
Lnet/minecraft/class_465;method_37432()V
official D
Lfoa;D()V
-
getScreenHandler
- Specified by:
getScreenHandler
in interfaceScreenHandlerProvider<T extends ScreenHandler>
- Mappings:
Namespace Name Mixin selector named getScreenHandler
Lnet/minecraft/client/gui/screen/ingame/ScreenHandlerProvider;getScreenHandler()Lnet/minecraft/screen/ScreenHandler;
intermediary method_17577
Lnet/minecraft/class_3936;method_17577()Lnet/minecraft/class_1703;
official E
Lfpg;E()Lcpi;
-
close
public void close()
-