Class HandledScreen<T extends ScreenHandler>

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
official fea
intermediary net/minecraft/class_465
named net/minecraft/client/gui/screen/ingame/HandledScreen
  • Field Details

    • BACKGROUND_TEXTURE

      public static final Identifier BACKGROUND_TEXTURE
      Mappings:
      Namespace Name Mixin selector
      official a Lfea;a:Lahg;
      intermediary field_2801 Lnet/minecraft/class_465;field_2801:Lnet/minecraft/class_2960;
      named BACKGROUND_TEXTURE Lnet/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
      official x Lfea;x:F
      intermediary field_32318 Lnet/minecraft/class_465;field_32318:F
      named field_32318 Lnet/minecraft/client/gui/screen/ingame/HandledScreen;field_32318:F
    • field_32319

      private static final int field_32319
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official y Lfea;y:I
      intermediary field_32319 Lnet/minecraft/class_465;field_32319:I
      named field_32319 Lnet/minecraft/client/gui/screen/ingame/HandledScreen;field_32319:I
    • field_32322

      public static final int field_32322
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official b Lfea;b:I
      intermediary field_32322 Lnet/minecraft/class_465;field_32322:I
      named field_32322 Lnet/minecraft/client/gui/screen/ingame/HandledScreen;field_32322:I
    • field_32321

      private static final int field_32321
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official z Lfea;z:I
      intermediary field_32321 Lnet/minecraft/class_465;field_32321:I
      named field_32321 Lnet/minecraft/client/gui/screen/ingame/HandledScreen;field_32321:I
    • backgroundWidth

      protected int backgroundWidth
      Mappings:
      Namespace Name Mixin selector
      official c Lfea;c:I
      intermediary field_2792 Lnet/minecraft/class_465;field_2792:I
      named backgroundWidth Lnet/minecraft/client/gui/screen/ingame/HandledScreen;backgroundWidth:I
    • backgroundHeight

      protected int backgroundHeight
      Mappings:
      Namespace Name Mixin selector
      official k Lfea;k:I
      intermediary field_2779 Lnet/minecraft/class_465;field_2779:I
      named backgroundHeight Lnet/minecraft/client/gui/screen/ingame/HandledScreen;backgroundHeight:I
    • titleX

      protected int titleX
      Mappings:
      Namespace Name Mixin selector
      official l Lfea;l:I
      intermediary field_25267 Lnet/minecraft/class_465;field_25267:I
      named titleX Lnet/minecraft/client/gui/screen/ingame/HandledScreen;titleX:I
    • titleY

      protected int titleY
      Mappings:
      Namespace Name Mixin selector
      official m Lfea;m:I
      intermediary field_25268 Lnet/minecraft/class_465;field_25268:I
      named titleY Lnet/minecraft/client/gui/screen/ingame/HandledScreen;titleY:I
    • playerInventoryTitleX

      protected int playerInventoryTitleX
      Mappings:
      Namespace Name Mixin selector
      official n Lfea;n:I
      intermediary field_25269 Lnet/minecraft/class_465;field_25269:I
      named playerInventoryTitleX Lnet/minecraft/client/gui/screen/ingame/HandledScreen;playerInventoryTitleX:I
    • playerInventoryTitleY

      protected int playerInventoryTitleY
      Mappings:
      Namespace Name Mixin selector
      official o Lfea;o:I
      intermediary field_25270 Lnet/minecraft/class_465;field_25270:I
      named playerInventoryTitleY Lnet/minecraft/client/gui/screen/ingame/HandledScreen;playerInventoryTitleY:I
    • handler

      protected final T extends ScreenHandler handler
      Mappings:
      Namespace Name Mixin selector
      official p Lfea;p:Lcib;
      intermediary field_2797 Lnet/minecraft/class_465;field_2797:Lnet/minecraft/class_1703;
      named handler Lnet/minecraft/client/gui/screen/ingame/HandledScreen;handler:Lnet/minecraft/screen/ScreenHandler;
    • playerInventoryTitle

      protected final Text playerInventoryTitle
      Mappings:
      Namespace Name Mixin selector
      official q Lfea;q:Lvf;
      intermediary field_29347 Lnet/minecraft/class_465;field_29347:Lnet/minecraft/class_2561;
      named playerInventoryTitle Lnet/minecraft/client/gui/screen/ingame/HandledScreen;playerInventoryTitle:Lnet/minecraft/text/Text;
    • focusedSlot

      @Nullable protected @Nullable Slot focusedSlot
      Mappings:
      Namespace Name Mixin selector
      official r Lfea;r:Lcjw;
      intermediary field_2787 Lnet/minecraft/class_465;field_2787:Lnet/minecraft/class_1735;
      named focusedSlot Lnet/minecraft/client/gui/screen/ingame/HandledScreen;focusedSlot:Lnet/minecraft/screen/slot/Slot;
    • touchDragSlotStart

      @Nullable private @Nullable Slot touchDragSlotStart
      Mappings:
      Namespace Name Mixin selector
      official A Lfea;A:Lcjw;
      intermediary field_2777 Lnet/minecraft/class_465;field_2777:Lnet/minecraft/class_1735;
      named touchDragSlotStart Lnet/minecraft/client/gui/screen/ingame/HandledScreen;touchDragSlotStart:Lnet/minecraft/screen/slot/Slot;
    • touchDropOriginSlot

      @Nullable private @Nullable Slot touchDropOriginSlot
      Mappings:
      Namespace Name Mixin selector
      official B Lfea;B:Lcjw;
      intermediary field_2802 Lnet/minecraft/class_465;field_2802:Lnet/minecraft/class_1735;
      named touchDropOriginSlot Lnet/minecraft/client/gui/screen/ingame/HandledScreen;touchDropOriginSlot:Lnet/minecraft/screen/slot/Slot;
    • touchHoveredSlot

      @Nullable private @Nullable Slot touchHoveredSlot
      Mappings:
      Namespace Name Mixin selector
      official C Lfea;C:Lcjw;
      intermediary field_2780 Lnet/minecraft/class_465;field_2780:Lnet/minecraft/class_1735;
      named touchHoveredSlot Lnet/minecraft/client/gui/screen/ingame/HandledScreen;touchHoveredSlot:Lnet/minecraft/screen/slot/Slot;
    • lastClickedSlot

      @Nullable private @Nullable Slot lastClickedSlot
      Mappings:
      Namespace Name Mixin selector
      official D Lfea;D:Lcjw;
      intermediary field_2799 Lnet/minecraft/class_465;field_2799:Lnet/minecraft/class_1735;
      named lastClickedSlot Lnet/minecraft/client/gui/screen/ingame/HandledScreen;lastClickedSlot:Lnet/minecraft/screen/slot/Slot;
    • x

      protected int x
      Mappings:
      Namespace Name Mixin selector
      official t Lfea;t:I
      intermediary field_2776 Lnet/minecraft/class_465;field_2776:I
      named x Lnet/minecraft/client/gui/screen/ingame/HandledScreen;x:I
    • y

      protected int y
      Mappings:
      Namespace Name Mixin selector
      official u Lfea;u:I
      intermediary field_2800 Lnet/minecraft/class_465;field_2800:I
      named y Lnet/minecraft/client/gui/screen/ingame/HandledScreen;y:I
    • touchIsRightClickDrag

      private boolean touchIsRightClickDrag
      Mappings:
      Namespace Name Mixin selector
      official E Lfea;E:Z
      intermediary field_2789 Lnet/minecraft/class_465;field_2789:Z
      named touchIsRightClickDrag Lnet/minecraft/client/gui/screen/ingame/HandledScreen;touchIsRightClickDrag:Z
    • touchDragStack

      private ItemStack touchDragStack
      Mappings:
      Namespace Name Mixin selector
      official F Lfea;F:Lcmy;
      intermediary field_2782 Lnet/minecraft/class_465;field_2782:Lnet/minecraft/class_1799;
      named touchDragStack Lnet/minecraft/client/gui/screen/ingame/HandledScreen;touchDragStack:Lnet/minecraft/item/ItemStack;
    • touchDropX

      private int touchDropX
      Mappings:
      Namespace Name Mixin selector
      official G Lfea;G:I
      intermediary field_2784 Lnet/minecraft/class_465;field_2784:I
      named touchDropX Lnet/minecraft/client/gui/screen/ingame/HandledScreen;touchDropX:I
    • touchDropY

      private int touchDropY
      Mappings:
      Namespace Name Mixin selector
      official H Lfea;H:I
      intermediary field_2796 Lnet/minecraft/class_465;field_2796:I
      named touchDropY Lnet/minecraft/client/gui/screen/ingame/HandledScreen;touchDropY:I
    • touchDropTime

      private long touchDropTime
      Mappings:
      Namespace Name Mixin selector
      official I Lfea;I:J
      intermediary field_2795 Lnet/minecraft/class_465;field_2795:J
      named touchDropTime Lnet/minecraft/client/gui/screen/ingame/HandledScreen;touchDropTime:J
    • touchDropReturningStack

      private ItemStack touchDropReturningStack
      Mappings:
      Namespace Name Mixin selector
      official J Lfea;J:Lcmy;
      intermediary field_2785 Lnet/minecraft/class_465;field_2785:Lnet/minecraft/class_1799;
      named touchDropReturningStack Lnet/minecraft/client/gui/screen/ingame/HandledScreen;touchDropReturningStack:Lnet/minecraft/item/ItemStack;
    • touchDropTimer

      private long touchDropTimer
      Mappings:
      Namespace Name Mixin selector
      official K Lfea;K:J
      intermediary field_2781 Lnet/minecraft/class_465;field_2781:J
      named touchDropTimer Lnet/minecraft/client/gui/screen/ingame/HandledScreen;touchDropTimer:J
    • cursorDragSlots

      protected final Set<Slot> cursorDragSlots
      Mappings:
      Namespace Name Mixin selector
      official v Lfea;v:Ljava/util/Set;
      intermediary field_2793 Lnet/minecraft/class_465;field_2793:Ljava/util/Set;
      named cursorDragSlots Lnet/minecraft/client/gui/screen/ingame/HandledScreen;cursorDragSlots:Ljava/util/Set;
    • cursorDragging

      protected boolean cursorDragging
      Mappings:
      Namespace Name Mixin selector
      official w Lfea;w:Z
      intermediary field_2794 Lnet/minecraft/class_465;field_2794:Z
      named cursorDragging Lnet/minecraft/client/gui/screen/ingame/HandledScreen;cursorDragging:Z
    • heldButtonType

      private int heldButtonType
      Mappings:
      Namespace Name Mixin selector
      official L Lfea;L:I
      intermediary field_2790 Lnet/minecraft/class_465;field_2790:I
      named heldButtonType Lnet/minecraft/client/gui/screen/ingame/HandledScreen;heldButtonType:I
    • heldButtonCode

      private int heldButtonCode
      Mappings:
      Namespace Name Mixin selector
      official M Lfea;M:I
      intermediary field_2778 Lnet/minecraft/class_465;field_2778:I
      named heldButtonCode Lnet/minecraft/client/gui/screen/ingame/HandledScreen;heldButtonCode:I
    • cancelNextRelease

      private boolean cancelNextRelease
      Mappings:
      Namespace Name Mixin selector
      official N Lfea;N:Z
      intermediary field_2798 Lnet/minecraft/class_465;field_2798:Z
      named cancelNextRelease Lnet/minecraft/client/gui/screen/ingame/HandledScreen;cancelNextRelease:Z
    • draggedStackRemainder

      private int draggedStackRemainder
      Mappings:
      Namespace Name Mixin selector
      official O Lfea;O:I
      intermediary field_2803 Lnet/minecraft/class_465;field_2803:I
      named draggedStackRemainder Lnet/minecraft/client/gui/screen/ingame/HandledScreen;draggedStackRemainder:I
    • lastButtonClickTime

      private long lastButtonClickTime
      Mappings:
      Namespace Name Mixin selector
      official P Lfea;P:J
      intermediary field_2788 Lnet/minecraft/class_465;field_2788:J
      named lastButtonClickTime Lnet/minecraft/client/gui/screen/ingame/HandledScreen;lastButtonClickTime:J
    • lastClickedButton

      private int lastClickedButton
      Mappings:
      Namespace Name Mixin selector
      official Q Lfea;Q:I
      intermediary field_2786 Lnet/minecraft/class_465;field_2786:I
      named lastClickedButton Lnet/minecraft/client/gui/screen/ingame/HandledScreen;lastClickedButton:I
    • doubleClicking

      private boolean doubleClicking
      Mappings:
      Namespace Name Mixin selector
      official R Lfea;R:Z
      intermediary field_2783 Lnet/minecraft/class_465;field_2783:Z
      named doubleClicking Lnet/minecraft/client/gui/screen/ingame/HandledScreen;doubleClicking:Z
    • quickMovingStack

      private ItemStack quickMovingStack
      Mappings:
      Namespace Name Mixin selector
      official S Lfea;S:Lcmy;
      intermediary field_2791 Lnet/minecraft/class_465;field_2791:Lnet/minecraft/class_1799;
      named quickMovingStack Lnet/minecraft/client/gui/screen/ingame/HandledScreen;quickMovingStack:Lnet/minecraft/item/ItemStack;
  • Constructor Details

    • HandledScreen

      public HandledScreen(T handler, PlayerInventory inventory, Text title)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lfea;<init>(Lcib;Lcfh;Lvf;)V
      intermediary <init> Lnet/minecraft/class_465;<init>(Lnet/minecraft/class_1703;Lnet/minecraft/class_1661;Lnet/minecraft/class_2561;)V
      named <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.

      Overrides:
      init in class Screen
      Mappings:
      Namespace Name Mixin selector
      official aN_ Lfdb;aN_()V
      intermediary method_25426 Lnet/minecraft/class_437;method_25426()V
      named init Lnet/minecraft/client/gui/screen/Screen;init()V
    • render

      public void render(DrawContext context, int mouseX, int mouseY, float delta)
      Specified by:
      render in interface Drawable
      Overrides:
      render in class Screen
      Mappings:
      Namespace Name Mixin selector
      official a Leyj;a(Lewu;IIF)V
      intermediary method_25394 Lnet/minecraft/class_4068;method_25394(Lnet/minecraft/class_332;IIF)V
      named render Lnet/minecraft/client/gui/Drawable;render(Lnet/minecraft/client/gui/DrawContext;IIF)V
    • renderBackground

      public void renderBackground(DrawContext context, int mouseX, int mouseY, float delta)
      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 class Screen
      Mappings:
      Namespace Name Mixin selector
      official b Lfdb;b(Lewu;IIF)V
      intermediary method_25420 Lnet/minecraft/class_437;method_25420(Lnet/minecraft/class_332;IIF)V
      named renderBackground Lnet/minecraft/client/gui/screen/Screen;renderBackground(Lnet/minecraft/client/gui/DrawContext;IIF)V
    • drawSlotHighlight

      public static void drawSlotHighlight(DrawContext context, int x, int y, int z)
      Mappings:
      Namespace Name Mixin selector
      official a Lfea;a(Lewu;III)V
      intermediary method_33285 Lnet/minecraft/class_465;method_33285(Lnet/minecraft/class_332;III)V
      named drawSlotHighlight Lnet/minecraft/client/gui/screen/ingame/HandledScreen;drawSlotHighlight(Lnet/minecraft/client/gui/DrawContext;III)V
    • drawMouseoverTooltip

      protected void drawMouseoverTooltip(DrawContext context, int x, int y)
      Mappings:
      Namespace Name Mixin selector
      official a Lfea;a(Lewu;II)V
      intermediary method_2380 Lnet/minecraft/class_465;method_2380(Lnet/minecraft/class_332;II)V
      named drawMouseoverTooltip Lnet/minecraft/client/gui/screen/ingame/HandledScreen;drawMouseoverTooltip(Lnet/minecraft/client/gui/DrawContext;II)V
    • getTooltipFromItem

      protected List<Text> getTooltipFromItem(ItemStack stack)
      Mappings:
      Namespace Name Mixin selector
      official a Lfea;a(Lcmy;)Ljava/util/List;
      intermediary method_51454 Lnet/minecraft/class_465;method_51454(Lnet/minecraft/class_1799;)Ljava/util/List;
      named getTooltipFromItem Lnet/minecraft/client/gui/screen/ingame/HandledScreen;getTooltipFromItem(Lnet/minecraft/item/ItemStack;)Ljava/util/List;
    • drawItem

      private void drawItem(DrawContext context, ItemStack stack, int x, int y, String amountText)
      Mappings:
      Namespace Name Mixin selector
      official a Lfea;a(Lewu;Lcmy;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
      named drawItem Lnet/minecraft/client/gui/screen/ingame/HandledScreen;drawItem(Lnet/minecraft/client/gui/DrawContext;Lnet/minecraft/item/ItemStack;IILjava/lang/String;)V
    • drawForeground

      protected void drawForeground(DrawContext context, int mouseX, int mouseY)
      Mappings:
      Namespace Name Mixin selector
      official b Lfea;b(Lewu;II)V
      intermediary method_2388 Lnet/minecraft/class_465;method_2388(Lnet/minecraft/class_332;II)V
      named drawForeground Lnet/minecraft/client/gui/screen/ingame/HandledScreen;drawForeground(Lnet/minecraft/client/gui/DrawContext;II)V
    • drawBackground

      protected abstract void drawBackground(DrawContext context, float delta, int mouseX, int mouseY)
      Mappings:
      Namespace Name Mixin selector
      official a Lfea;a(Lewu;FII)V
      intermediary method_2389 Lnet/minecraft/class_465;method_2389(Lnet/minecraft/class_332;FII)V
      named drawBackground Lnet/minecraft/client/gui/screen/ingame/HandledScreen;drawBackground(Lnet/minecraft/client/gui/DrawContext;FII)V
    • drawSlot

      protected void drawSlot(DrawContext context, Slot slot)
      Mappings:
      Namespace Name Mixin selector
      official a Lfea;a(Lewu;Lcjw;)V
      intermediary method_2385 Lnet/minecraft/class_465;method_2385(Lnet/minecraft/class_332;Lnet/minecraft/class_1735;)V
      named drawSlot Lnet/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
      official J Lfea;J()V
      intermediary method_2379 Lnet/minecraft/class_465;method_2379()V
      named calculateOffset Lnet/minecraft/client/gui/screen/ingame/HandledScreen;calculateOffset()V
    • getSlotAt

      @Nullable private @Nullable Slot getSlotAt(double x, double y)
      Mappings:
      Namespace Name Mixin selector
      official b Lfea;b(DD)Lcjw;
      intermediary method_2386 Lnet/minecraft/class_465;method_2386(DD)Lnet/minecraft/class_1735;
      named getSlotAt Lnet/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 in GLFW class.
      Specified by:
      mouseClicked in interface Element
      Specified by:
      mouseClicked in interface ParentElement
      Parameters:
      mouseX - the X coordinate of the mouse
      mouseY - the Y coordinate of the mouse
      button - the mouse button number
      Returns:
      true to indicate that the event handling is successful/valid
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official a Lezb;a(DDI)Z
      intermediary method_25402 Lnet/minecraft/class_364;method_25402(DDI)Z
      named mouseClicked Lnet/minecraft/client/gui/Element;mouseClicked(DDI)Z
    • onMouseClick

      private void onMouseClick(int button)
      Mappings:
      Namespace Name Mixin selector
      official a Lfea;a(I)V
      intermediary method_30107 Lnet/minecraft/class_465;method_30107(I)V
      named onMouseClick Lnet/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
      official a Lfea;a(DDIII)Z
      intermediary method_2381 Lnet/minecraft/class_465;method_2381(DDIII)Z
      named isClickOutsideBounds Lnet/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 in GLFW class.
      Specified by:
      mouseDragged in interface Element
      Specified by:
      mouseDragged in interface ParentElement
      Parameters:
      mouseX - the current X coordinate of the mouse
      mouseY - the current Y coordinate of the mouse
      button - the mouse button number
      deltaX - the difference of the current X with the previous X coordinate
      deltaY - 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
      official a Lezb;a(DDIDD)Z
      intermediary method_25403 Lnet/minecraft/class_364;method_25403(DDIDD)Z
      named mouseDragged Lnet/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 in GLFW class.
      Specified by:
      mouseReleased in interface Element
      Specified by:
      mouseReleased in interface ParentElement
      Parameters:
      mouseX - the X coordinate of the mouse
      mouseY - the Y coordinate of the mouse
      button - the mouse button number
      Returns:
      true to indicate that the event handling is successful/valid
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official b Lezb;b(DDI)Z
      intermediary method_25406 Lnet/minecraft/class_364;method_25406(DDI)Z
      named mouseReleased Lnet/minecraft/client/gui/Element;mouseReleased(DDI)Z
    • endTouchDrag

      public void endTouchDrag()
      Mappings:
      Namespace Name Mixin selector
      official n Lfea;n()V
      intermediary method_44339 Lnet/minecraft/class_465;method_44339()V
      named endTouchDrag Lnet/minecraft/client/gui/screen/ingame/HandledScreen;endTouchDrag()V
    • isPointOverSlot

      private boolean isPointOverSlot(Slot slot, double pointX, double pointY)
      Mappings:
      Namespace Name Mixin selector
      official a Lfea;a(Lcjw;DD)Z
      intermediary method_2387 Lnet/minecraft/class_465;method_2387(Lnet/minecraft/class_1735;DD)Z
      named isPointOverSlot Lnet/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
      official a Lfea;a(IIIIDD)Z
      intermediary method_2378 Lnet/minecraft/class_465;method_2378(IIIIDD)Z
      named isPointWithinBounds Lnet/minecraft/client/gui/screen/ingame/HandledScreen;isPointWithinBounds(IIIIDD)Z
    • onMouseClick

      protected void onMouseClick(Slot slot, int slotId, int button, SlotActionType actionType)
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official a Lfea;a(Lcjw;IILcik;)V
      intermediary method_2383 Lnet/minecraft/class_465;method_2383(Lnet/minecraft/class_1735;IILnet/minecraft/class_1713;)V
      named onMouseClick Lnet/minecraft/client/gui/screen/ingame/HandledScreen;onMouseClick(Lnet/minecraft/screen/slot/Slot;IILnet/minecraft/screen/slot/SlotActionType;)V
    • onSlotChangedState

      protected void onSlotChangedState(int slotId, int handlerId, boolean newState)
      Mappings:
      Namespace Name Mixin selector
      official a Lfea;a(IIZ)V
      intermediary method_54590 Lnet/minecraft/class_465;method_54590(IIZ)V
      named onSlotChangedState Lnet/minecraft/client/gui/screen/ingame/HandledScreen;onSlotChangedState(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 in GLFW class.
      Specified by:
      keyPressed in interface Element
      Specified by:
      keyPressed in interface ParentElement
      Overrides:
      keyPressed in class Screen
      Parameters:
      keyCode - the named key code of the event as described in the GLFW class
      scanCode - the unique/platform-specific scan code of the keyboard input
      modifiers - 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
      official a Lezb;a(III)Z
      intermediary method_25404 Lnet/minecraft/class_364;method_25404(III)Z
      named keyPressed Lnet/minecraft/client/gui/Element;keyPressed(III)Z
    • handleHotbarKeyPressed

      protected boolean handleHotbarKeyPressed(int keyCode, int scanCode)
      Mappings:
      Namespace Name Mixin selector
      official a Lfea;a(II)Z
      intermediary method_2384 Lnet/minecraft/class_465;method_2384(II)Z
      named handleHotbarKeyPressed Lnet/minecraft/client/gui/screen/ingame/HandledScreen;handleHotbarKeyPressed(II)Z
    • removed

      public void removed()
      Overrides:
      removed in class Screen
      Mappings:
      Namespace Name Mixin selector
      official j Lfdb;j()V
      intermediary method_25432 Lnet/minecraft/class_437;method_25432()V
      named removed Lnet/minecraft/client/gui/screen/Screen;removed()V
    • shouldPause

      public boolean shouldPause()
      Overrides:
      shouldPause in class Screen
      Mappings:
      Namespace Name Mixin selector
      official k Lfdb;k()Z
      intermediary method_25421 Lnet/minecraft/class_437;method_25421()Z
      named shouldPause Lnet/minecraft/client/gui/screen/Screen;shouldPause()Z
    • tick

      public final void tick()
      Overrides:
      tick in class Screen
      Mappings:
      Namespace Name Mixin selector
      official d Lfdb;d()V
      intermediary method_25393 Lnet/minecraft/class_437;method_25393()V
      named tick Lnet/minecraft/client/gui/screen/Screen;tick()V
    • handledScreenTick

      protected void handledScreenTick()
      Mappings:
      Namespace Name Mixin selector
      official D Lfea;D()V
      intermediary method_37432 Lnet/minecraft/class_465;method_37432()V
      named handledScreenTick Lnet/minecraft/client/gui/screen/ingame/HandledScreen;handledScreenTick()V
    • getScreenHandler

      public T getScreenHandler()
      Specified by:
      getScreenHandler in interface ScreenHandlerProvider<T extends ScreenHandler>
      Mappings:
      Namespace Name Mixin selector
      official E Lfff;E()Lcib;
      intermediary method_17577 Lnet/minecraft/class_3936;method_17577()Lnet/minecraft/class_1703;
      named getScreenHandler Lnet/minecraft/client/gui/screen/ingame/ScreenHandlerProvider;getScreenHandler()Lnet/minecraft/screen/ScreenHandler;
    • close

      public void close()
      Overrides:
      close in class Screen
      Mappings:
      Namespace Name Mixin selector
      official aE_ Lfdb;aE_()V
      intermediary method_25419 Lnet/minecraft/class_437;method_25419()V
      named close Lnet/minecraft/client/gui/screen/Screen;close()V