Class HandledScreen<T extends ScreenHandler>

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/HandledScreen
intermediary net/minecraft/class_465
official fvb
  • Field Details Link icon

    • BACKGROUND_TEXTURE Link icon

      public static final Identifier 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 Lfvb;a:Lakv;
    • SLOT_HIGHLIGHT_BACK_TEXTURE Link icon

      private static final Identifier SLOT_HIGHLIGHT_BACK_TEXTURE
      Mappings:
      Namespace Name Mixin selector
      named SLOT_HIGHLIGHT_BACK_TEXTURE Lnet/minecraft/client/gui/screen/ingame/HandledScreen;SLOT_HIGHLIGHT_BACK_TEXTURE:Lnet/minecraft/util/Identifier;
      intermediary field_54268 Lnet/minecraft/class_465;field_54268:Lnet/minecraft/class_2960;
      official G Lfvb;G:Lakv;
    • SLOT_HIGHLIGHT_FRONT_TEXTURE Link icon

      private static final Identifier SLOT_HIGHLIGHT_FRONT_TEXTURE
      Mappings:
      Namespace Name Mixin selector
      named SLOT_HIGHLIGHT_FRONT_TEXTURE Lnet/minecraft/client/gui/screen/ingame/HandledScreen;SLOT_HIGHLIGHT_FRONT_TEXTURE:Lnet/minecraft/util/Identifier;
      intermediary field_54269 Lnet/minecraft/class_465;field_54269:Lnet/minecraft/class_2960;
      official H Lfvb;H:Lakv;
    • field_52802 Link icon

      protected static final int field_52802
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_52802 Lnet/minecraft/client/gui/screen/ingame/HandledScreen;field_52802:I
      intermediary field_52802 Lnet/minecraft/class_465;field_52802:I
      official b Lfvb;b:I
    • field_52803 Link icon

      protected static final int field_52803
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_52803 Lnet/minecraft/client/gui/screen/ingame/HandledScreen;field_52803:I
      intermediary field_52803 Lnet/minecraft/class_465;field_52803:I
      official c Lfvb;c:I
    • field_32318 Link icon

      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 I Lfvb;I:F
    • field_32319 Link icon

      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 J Lfvb;J:I
    • field_32322 Link icon

      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 d Lfvb;d:I
    • field_32321 Link icon

      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 K Lfvb;K:I
    • backgroundWidth Link icon

      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 s Lfvb;s:I
    • backgroundHeight Link icon

      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 u Lfvb;u:I
    • titleX Link icon

      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 v Lfvb;v:I
    • titleY Link icon

      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 w Lfvb;w:I
    • playerInventoryTitleX Link icon

      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 x Lfvb;x:I
    • playerInventoryTitleY Link icon

      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 y Lfvb;y:I
    • tooltipSubmenuHandlers Link icon

      private final List<TooltipSubmenuHandler> tooltipSubmenuHandlers
      Mappings:
      Namespace Name Mixin selector
      named tooltipSubmenuHandlers Lnet/minecraft/client/gui/screen/ingame/HandledScreen;tooltipSubmenuHandlers:Ljava/util/List;
      intermediary field_52801 Lnet/minecraft/class_465;field_52801:Ljava/util/List;
      official L Lfvb;L:Ljava/util/List;
    • handler Link icon

      protected final T extends ScreenHandler 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 z Lfvb;z:Lcsd;
    • playerInventoryTitle Link icon

      protected final Text 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 A Lfvb;A:Lwp;
    • focusedSlot Link icon

      @Nullable protected @Nullable Slot 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 B Lfvb;B:Lcua;
    • touchDragSlotStart Link icon

      @Nullable private @Nullable Slot 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 M Lfvb;M:Lcua;
    • touchDropOriginSlot Link icon

      @Nullable private @Nullable Slot 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 N Lfvb;N:Lcua;
    • touchHoveredSlot Link icon

      @Nullable private @Nullable Slot 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 O Lfvb;O:Lcua;
    • lastClickedSlot Link icon

      @Nullable private @Nullable Slot 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 P Lfvb;P:Lcua;
    • x Link icon

      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 C Lfvb;C:I
    • y Link icon

      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 D Lfvb;D:I
    • touchIsRightClickDrag Link icon

      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 Q Lfvb;Q:Z
    • touchDragStack Link icon

      private ItemStack 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 R Lfvb;R:Lcwq;
    • touchDropX Link icon

      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 S Lfvb;S:I
    • touchDropY Link icon

      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 T Lfvb;T:I
    • touchDropTime Link icon

      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 U Lfvb;U:J
    • touchDropReturningStack Link icon

      private ItemStack 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 V Lfvb;V:Lcwq;
    • touchDropTimer Link icon

      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 W Lfvb;W:J
    • cursorDragSlots Link icon

      protected final Set<Slot> 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 E Lfvb;E:Ljava/util/Set;
    • cursorDragging Link icon

      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 F Lfvb;F:Z
    • heldButtonType Link icon

      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 X Lfvb;X:I
    • heldButtonCode Link icon

      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 Y Lfvb;Y:I
    • cancelNextRelease Link icon

      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 Z Lfvb;Z:Z
    • draggedStackRemainder Link icon

      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 aa Lfvb;aa:I
    • lastButtonClickTime Link icon

      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 ab Lfvb;ab:J
    • lastClickedButton Link icon

      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 ac Lfvb;ac:I
    • doubleClicking Link icon

      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 ad Lfvb;ad:Z
    • quickMovingStack Link icon

      private ItemStack 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 ae Lfvb;ae:Lcwq;
  • Constructor Details Link icon

    • HandledScreen Link icon

      public HandledScreen(T handler, PlayerInventory inventory, Text title)
      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> Lfvb;<init>(Lcsd;Lcox;Lwp;)V
  • Method Details Link icon

    • init Link icon

      protected void init()
      Called when a screen should be initialized.

      This method is called when this screen is opened or resized.

      Overrides:
      init in class Screen
      Mappings:
      Namespace Name Mixin selector
      named init Lnet/minecraft/client/gui/screen/Screen;init()V
      intermediary method_25426 Lnet/minecraft/class_437;method_25426()V
      official aR_ Lfum;aR_()V
    • addTooltipSubmenuHandler Link icon

      protected void addTooltipSubmenuHandler(TooltipSubmenuHandler handler)
      Mappings:
      Namespace Name Mixin selector
      named addTooltipSubmenuHandler Lnet/minecraft/client/gui/screen/ingame/HandledScreen;addTooltipSubmenuHandler(Lnet/minecraft/client/gui/tooltip/TooltipSubmenuHandler;)V
      intermediary method_62000 Lnet/minecraft/class_465;method_62000(Lnet/minecraft/class_9930;)V
      official a Lfvb;a(Lfoh;)V
    • render Link icon

      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
      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 Lfpx;a(Lfof;IIF)V
    • drawSlots Link icon

      protected void drawSlots(DrawContext context)
      Mappings:
      Namespace Name Mixin selector
      named drawSlots Lnet/minecraft/client/gui/screen/ingame/HandledScreen;drawSlots(Lnet/minecraft/client/gui/DrawContext;)V
      intermediary method_64508 Lnet/minecraft/class_465;method_64508(Lnet/minecraft/class_332;)V
      official c Lfvb;c(Lfof;)V
    • renderBackground Link icon

      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
      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 Lfum;b(Lfof;IIF)V
    • mouseScrolled Link icon

      public boolean mouseScrolled(double mouseX, double mouseY, double horizontalAmount, double verticalAmount)
      Callback for when a mouse button scroll event has been captured.
      Specified by:
      mouseScrolled in interface Element
      Specified by:
      mouseScrolled in interface ParentElement
      Parameters:
      mouseX - the X coordinate of the mouse
      mouseY - the Y coordinate of the mouse
      horizontalAmount - the horizontal scroll amount
      verticalAmount - the vertical scroll amount
      Returns:
      true to indicate that the event handling is successful/valid
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named mouseScrolled Lnet/minecraft/client/gui/Element;mouseScrolled(DDDD)Z
      intermediary method_25401 Lnet/minecraft/class_364;method_25401(DDDD)Z
      official a Lfqr;a(DDDD)Z
    • drawSlotHighlightBack Link icon

      private void drawSlotHighlightBack(DrawContext context)
      Mappings:
      Namespace Name Mixin selector
      named drawSlotHighlightBack Lnet/minecraft/client/gui/screen/ingame/HandledScreen;drawSlotHighlightBack(Lnet/minecraft/client/gui/DrawContext;)V
      intermediary method_64241 Lnet/minecraft/class_465;method_64241(Lnet/minecraft/class_332;)V
      official d Lfvb;d(Lfof;)V
    • drawSlotHighlightFront Link icon

      private void drawSlotHighlightFront(DrawContext context)
      Mappings:
      Namespace Name Mixin selector
      named drawSlotHighlightFront Lnet/minecraft/client/gui/screen/ingame/HandledScreen;drawSlotHighlightFront(Lnet/minecraft/client/gui/DrawContext;)V
      intermediary method_64242 Lnet/minecraft/class_465;method_64242(Lnet/minecraft/class_332;)V
      official e Lfvb;e(Lfof;)V
    • drawMouseoverTooltip Link icon

      protected void drawMouseoverTooltip(DrawContext drawContext, int x, int y)
      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 Lfvb;a(Lfof;II)V
    • isItemTooltipSticky Link icon

      private boolean isItemTooltipSticky(ItemStack item)
      Mappings:
      Namespace Name Mixin selector
      named isItemTooltipSticky Lnet/minecraft/client/gui/screen/ingame/HandledScreen;isItemTooltipSticky(Lnet/minecraft/item/ItemStack;)Z
      intermediary method_62001 Lnet/minecraft/class_465;method_62001(Lnet/minecraft/class_1799;)Z
      official b Lfvb;b(Lcwq;)Z
    • getTooltipFromItem Link icon

      protected List<Text> getTooltipFromItem(ItemStack stack)
      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 Lfvb;a(Lcwq;)Ljava/util/List;
    • drawItem Link icon

      private void drawItem(DrawContext context, ItemStack stack, int x, int y, @Nullable @Nullable String amountText)
      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 Lfvb;a(Lfof;Lcwq;IILjava/lang/String;)V
    • drawForeground Link icon

      protected void drawForeground(DrawContext context, int mouseX, int mouseY)
      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 Lfvb;b(Lfof;II)V
    • drawBackground Link icon

      protected abstract void drawBackground(DrawContext context, float delta, int mouseX, int mouseY)
      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 Lfvb;a(Lfof;FII)V
    • drawSlot Link icon

      protected void drawSlot(DrawContext context, Slot slot)
      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 Lfvb;a(Lfof;Lcua;)V
    • calculateOffset Link icon

      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 G Lfvb;G()V
    • getSlotAt Link icon

      @Nullable private @Nullable Slot getSlotAt(double mouseX, double mouseY)
      Mappings:
      Namespace Name Mixin selector
      named getSlotAt Lnet/minecraft/client/gui/screen/ingame/HandledScreen;getSlotAt(DD)Lnet/minecraft/screen/slot/Slot;
      intermediary method_64240 Lnet/minecraft/class_465;method_64240(DD)Lnet/minecraft/class_1735;
      official b Lfvb;b(DD)Lcua;
    • mouseClicked Link icon

      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
      named mouseClicked Lnet/minecraft/client/gui/Element;mouseClicked(DDI)Z
      intermediary method_25402 Lnet/minecraft/class_364;method_25402(DDI)Z
      official a Lfqr;a(DDI)Z
    • onMouseClick Link icon

      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 Lfvb;a(I)V
    • isClickOutsideBounds Link icon

      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 Lfvb;a(DDIII)Z
    • mouseDragged Link icon

      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
      named mouseDragged Lnet/minecraft/client/gui/Element;mouseDragged(DDIDD)Z
      intermediary method_25403 Lnet/minecraft/class_364;method_25403(DDIDD)Z
      official a Lfqr;a(DDIDD)Z
    • mouseReleased Link icon

      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
      named mouseReleased Lnet/minecraft/client/gui/Element;mouseReleased(DDI)Z
      intermediary method_25406 Lnet/minecraft/class_364;method_25406(DDI)Z
      official b Lfqr;b(DDI)Z
    • endTouchDrag Link icon

      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 Lfvb;m()V
    • isPointOverSlot Link icon

      private boolean isPointOverSlot(Slot slot, double pointX, double pointY)
      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 Lfvb;a(Lcua;DD)Z
    • isPointWithinBounds Link icon

      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 Lfvb;a(IIIIDD)Z
    • resetTooltipSubmenus Link icon

      private void resetTooltipSubmenus(Slot slot)
      Mappings:
      Namespace Name Mixin selector
      named resetTooltipSubmenus Lnet/minecraft/client/gui/screen/ingame/HandledScreen;resetTooltipSubmenus(Lnet/minecraft/screen/slot/Slot;)V
      intermediary method_61998 Lnet/minecraft/class_465;method_61998(Lnet/minecraft/class_1735;)V
      official a Lfvb;a(Lcua;)V
    • onMouseClick Link icon

      protected void onMouseClick(Slot slot, int slotId, int button, SlotActionType actionType)
      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 Lfvb;a(Lcua;IILcso;)V
    • onMouseClick Link icon

      void onMouseClick(@Nullable @Nullable Slot slot, SlotActionType actionType)
      Mappings:
      Namespace Name Mixin selector
      named onMouseClick Lnet/minecraft/client/gui/screen/ingame/HandledScreen;onMouseClick(Lnet/minecraft/screen/slot/Slot;Lnet/minecraft/screen/slot/SlotActionType;)V
      intermediary method_64239 Lnet/minecraft/class_465;method_64239(Lnet/minecraft/class_1735;Lnet/minecraft/class_1713;)V
      official a Lfvb;a(Lcua;Lcso;)V
    • onSlotChangedState Link icon

      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 Lfvb;a(IIZ)V
    • keyPressed Link icon

      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
      named keyPressed Lnet/minecraft/client/gui/Element;keyPressed(III)Z
      intermediary method_25404 Lnet/minecraft/class_364;method_25404(III)Z
      official a Lfqr;a(III)Z
    • handleHotbarKeyPressed Link icon

      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 Lfvb;a(II)Z
    • removed Link icon

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

      public boolean shouldPause()
      Overrides:
      shouldPause in class Screen
      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 Lfum;k()Z
    • tick Link icon

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

      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 E Lfvb;E()V
    • getScreenHandler Link icon

      public T getScreenHandler()
      Specified by:
      getScreenHandler in interface ScreenHandlerProvider<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 F Lfwh;F()Lcsd;
    • close Link icon

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