Class HandledScreen

Direct Known Subclasses:
AnvilScreen, BeaconScreen, BrewingStandScreen, ChestScreen, CraftingTableScreen, DispenserScreen, EnchantingScreen, FurnaceScreen, HopperScreen, HorseScreen, InventoryScreen, VillagerTradingScreen

@Environment(CLIENT) public abstract class HandledScreen extends Screen
Mappings:
Namespace Name
official bdc
intermediary net/minecraft/class_409
named net/minecraft/client/gui/screen/ingame/HandledScreen
  • Field Details

    • INVENTORY_TEXTURE

      protected static final Identifier INVENTORY_TEXTURE
      Mappings:
      Namespace Name Mixin selector
      official a Lbdc;a:Lbqm;
      intermediary field_6301 Lnet/minecraft/class_409;field_6301:Lnet/minecraft/class_1653;
      named INVENTORY_TEXTURE Lnet/minecraft/client/gui/screen/ingame/HandledScreen;INVENTORY_TEXTURE:Lnet/minecraft/util/Identifier;
    • backgroundWidth

      protected int backgroundWidth
      Mappings:
      Namespace Name Mixin selector
      official f Lbdc;f:I
      intermediary field_1347 Lnet/minecraft/class_409;field_1347:I
      named backgroundWidth Lnet/minecraft/client/gui/screen/ingame/HandledScreen;backgroundWidth:I
    • backgroundHeight

      protected int backgroundHeight
      Mappings:
      Namespace Name Mixin selector
      official g Lbdc;g:I
      intermediary field_1348 Lnet/minecraft/class_409;field_1348:I
      named backgroundHeight Lnet/minecraft/client/gui/screen/ingame/HandledScreen;backgroundHeight:I
    • screenHandler

      public ScreenHandler screenHandler
      Mappings:
      Namespace Name Mixin selector
      official h Lbdc;h:Lyd;
      intermediary field_1349 Lnet/minecraft/class_409;field_1349:Lnet/minecraft/class_1002;
      named screenHandler Lnet/minecraft/client/gui/screen/ingame/HandledScreen;screenHandler:Lnet/minecraft/screen/ScreenHandler;
    • x

      protected int x
      Mappings:
      Namespace Name Mixin selector
      official i Lbdc;i:I
      intermediary field_1350 Lnet/minecraft/class_409;field_1350:I
      named x Lnet/minecraft/client/gui/screen/ingame/HandledScreen;x:I
    • y

      protected int y
      Mappings:
      Namespace Name Mixin selector
      official r Lbdc;r:I
      intermediary field_1351 Lnet/minecraft/class_409;field_1351:I
      named y Lnet/minecraft/client/gui/screen/ingame/HandledScreen;y:I
    • focusedSlot

      private Slot focusedSlot
      Mappings:
      Namespace Name Mixin selector
      official u Lbdc;u:Lzj;
      intermediary field_5095 Lnet/minecraft/class_409;field_5095:Lnet/minecraft/class_1026;
      named focusedSlot Lnet/minecraft/client/gui/screen/ingame/HandledScreen;focusedSlot:Lnet/minecraft/inventory/slot/Slot;
    • touchDragSlotStart

      private Slot touchDragSlotStart
      Mappings:
      Namespace Name Mixin selector
      official v Lbdc;v:Lzj;
      intermediary field_5096 Lnet/minecraft/class_409;field_5096:Lnet/minecraft/class_1026;
      named touchDragSlotStart Lnet/minecraft/client/gui/screen/ingame/HandledScreen;touchDragSlotStart:Lnet/minecraft/inventory/slot/Slot;
    • touchIsRightClickDrag

      private boolean touchIsRightClickDrag
      Mappings:
      Namespace Name Mixin selector
      official w Lbdc;w:Z
      intermediary field_5097 Lnet/minecraft/class_409;field_5097:Z
      named touchIsRightClickDrag Lnet/minecraft/client/gui/screen/ingame/HandledScreen;touchIsRightClickDrag:Z
    • touchDragStack

      private ItemStack touchDragStack
      Mappings:
      Namespace Name Mixin selector
      official x Lbdc;x:Labo;
      intermediary field_5098 Lnet/minecraft/class_409;field_5098:Lnet/minecraft/class_1071;
      named touchDragStack Lnet/minecraft/client/gui/screen/ingame/HandledScreen;touchDragStack:Lnet/minecraft/item/ItemStack;
    • touchDropX

      private int touchDropX
      Mappings:
      Namespace Name Mixin selector
      official y Lbdc;y:I
      intermediary field_5099 Lnet/minecraft/class_409;field_5099:I
      named touchDropX Lnet/minecraft/client/gui/screen/ingame/HandledScreen;touchDropX:I
    • touchDropY

      private int touchDropY
      Mappings:
      Namespace Name Mixin selector
      official z Lbdc;z:I
      intermediary field_5100 Lnet/minecraft/class_409;field_5100:I
      named touchDropY Lnet/minecraft/client/gui/screen/ingame/HandledScreen;touchDropY:I
    • touchDropOriginSlot

      private Slot touchDropOriginSlot
      Mappings:
      Namespace Name Mixin selector
      official A Lbdc;A:Lzj;
      intermediary field_5101 Lnet/minecraft/class_409;field_5101:Lnet/minecraft/class_1026;
      named touchDropOriginSlot Lnet/minecraft/client/gui/screen/ingame/HandledScreen;touchDropOriginSlot:Lnet/minecraft/inventory/slot/Slot;
    • touchDropTime

      private long touchDropTime
      Mappings:
      Namespace Name Mixin selector
      official B Lbdc;B:J
      intermediary field_5102 Lnet/minecraft/class_409;field_5102:J
      named touchDropTime Lnet/minecraft/client/gui/screen/ingame/HandledScreen;touchDropTime:J
    • touchDropReturningStack

      private ItemStack touchDropReturningStack
      Mappings:
      Namespace Name Mixin selector
      official C Lbdc;C:Labo;
      intermediary field_5103 Lnet/minecraft/class_409;field_5103:Lnet/minecraft/class_1071;
      named touchDropReturningStack Lnet/minecraft/client/gui/screen/ingame/HandledScreen;touchDropReturningStack:Lnet/minecraft/item/ItemStack;
    • touchHoveredSlot

      private Slot touchHoveredSlot
      Mappings:
      Namespace Name Mixin selector
      official D Lbdc;D:Lzj;
      intermediary field_5104 Lnet/minecraft/class_409;field_5104:Lnet/minecraft/class_1026;
      named touchHoveredSlot Lnet/minecraft/client/gui/screen/ingame/HandledScreen;touchHoveredSlot:Lnet/minecraft/inventory/slot/Slot;
    • touchDropTimer

      private long touchDropTimer
      Mappings:
      Namespace Name Mixin selector
      official E Lbdc;E:J
      intermediary field_5105 Lnet/minecraft/class_409;field_5105:J
      named touchDropTimer Lnet/minecraft/client/gui/screen/ingame/HandledScreen;touchDropTimer:J
    • cursorDragSlots

      protected final Set cursorDragSlots
      Mappings:
      Namespace Name Mixin selector
      official s Lbdc;s:Ljava/util/Set;
      intermediary field_5724 Lnet/minecraft/class_409;field_5724:Ljava/util/Set;
      named cursorDragSlots Lnet/minecraft/client/gui/screen/ingame/HandledScreen;cursorDragSlots:Ljava/util/Set;
    • isCursorDragging

      protected boolean isCursorDragging
      Mappings:
      Namespace Name Mixin selector
      official t Lbdc;t:Z
      intermediary field_5725 Lnet/minecraft/class_409;field_5725:Z
      named isCursorDragging Lnet/minecraft/client/gui/screen/ingame/HandledScreen;isCursorDragging:Z
    • heldButtonType

      private int heldButtonType
      Mappings:
      Namespace Name Mixin selector
      official F Lbdc;F:I
      intermediary field_5715 Lnet/minecraft/class_409;field_5715:I
      named heldButtonType Lnet/minecraft/client/gui/screen/ingame/HandledScreen;heldButtonType:I
    • heldButtonCode

      private int heldButtonCode
      Mappings:
      Namespace Name Mixin selector
      official G Lbdc;G:I
      intermediary field_5716 Lnet/minecraft/class_409;field_5716:I
      named heldButtonCode Lnet/minecraft/client/gui/screen/ingame/HandledScreen;heldButtonCode:I
    • cancelNextRelease

      private boolean cancelNextRelease
      Mappings:
      Namespace Name Mixin selector
      official H Lbdc;H:Z
      intermediary field_5717 Lnet/minecraft/class_409;field_5717:Z
      named cancelNextRelease Lnet/minecraft/client/gui/screen/ingame/HandledScreen;cancelNextRelease:Z
    • draggedStackRemainder

      private int draggedStackRemainder
      Mappings:
      Namespace Name Mixin selector
      official I Lbdc;I:I
      intermediary field_5718 Lnet/minecraft/class_409;field_5718:I
      named draggedStackRemainder Lnet/minecraft/client/gui/screen/ingame/HandledScreen;draggedStackRemainder:I
    • lastButtonClickTime

      private long lastButtonClickTime
      Mappings:
      Namespace Name Mixin selector
      official J Lbdc;J:J
      intermediary field_5719 Lnet/minecraft/class_409;field_5719:J
      named lastButtonClickTime Lnet/minecraft/client/gui/screen/ingame/HandledScreen;lastButtonClickTime:J
    • lastClickedSlot

      private Slot lastClickedSlot
      Mappings:
      Namespace Name Mixin selector
      official K Lbdc;K:Lzj;
      intermediary field_5720 Lnet/minecraft/class_409;field_5720:Lnet/minecraft/class_1026;
      named lastClickedSlot Lnet/minecraft/client/gui/screen/ingame/HandledScreen;lastClickedSlot:Lnet/minecraft/inventory/slot/Slot;
    • lastClickedButton

      private int lastClickedButton
      Mappings:
      Namespace Name Mixin selector
      official L Lbdc;L:I
      intermediary field_5721 Lnet/minecraft/class_409;field_5721:I
      named lastClickedButton Lnet/minecraft/client/gui/screen/ingame/HandledScreen;lastClickedButton:I
    • isDoubleClicking

      private boolean isDoubleClicking
      Mappings:
      Namespace Name Mixin selector
      official M Lbdc;M:Z
      intermediary field_5722 Lnet/minecraft/class_409;field_5722:Z
      named isDoubleClicking Lnet/minecraft/client/gui/screen/ingame/HandledScreen;isDoubleClicking:Z
    • quickMovingStack

      private ItemStack quickMovingStack
      Mappings:
      Namespace Name Mixin selector
      official N Lbdc;N:Labo;
      intermediary field_5723 Lnet/minecraft/class_409;field_5723:Lnet/minecraft/class_1071;
      named quickMovingStack Lnet/minecraft/client/gui/screen/ingame/HandledScreen;quickMovingStack:Lnet/minecraft/item/ItemStack;
  • Constructor Details

    • HandledScreen

      public HandledScreen(ScreenHandler screenHandler)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lbdc;<init>(Lyd;)V
      intermediary <init> Lnet/minecraft/class_409;<init>(Lnet/minecraft/class_1002;)V
      named <init> Lnet/minecraft/client/gui/screen/ingame/HandledScreen;<init>(Lnet/minecraft/screen/ScreenHandler;)V
  • Method Details

    • method_21947

      public void method_21947()
      Overrides:
      method_21947 in class Screen
      Mappings:
      Namespace Name Mixin selector
      official r_ Lbcc;r_()V
      intermediary method_21947 Lnet/minecraft/class_388;method_21947()V
      named method_21947 Lnet/minecraft/client/gui/screen/Screen;method_21947()V
    • method_21925

      public void method_21925(int int2, int int3, float float2)
      Overrides:
      method_21925 in class Screen
      Mappings:
      Namespace Name Mixin selector
      official a Lbcc;a(IIF)V
      intermediary method_21925 Lnet/minecraft/class_388;method_21925(IIF)V
      named method_21925 Lnet/minecraft/client/gui/screen/Screen;method_21925(IIF)V
    • drawItem

      private void drawItem(ItemStack stack, int xPosition, int yPosition, String amountText)
      Mappings:
      Namespace Name Mixin selector
      official a Lbdc;a(Labo;IILjava/lang/String;)V
      intermediary method_4264 Lnet/minecraft/class_409;method_4264(Lnet/minecraft/class_1071;IILjava/lang/String;)V
      named drawItem Lnet/minecraft/client/gui/screen/ingame/HandledScreen;drawItem(Lnet/minecraft/item/ItemStack;IILjava/lang/String;)V
    • drawForeground

      protected void drawForeground(int mouseX, int mouseY)
      Mappings:
      Namespace Name Mixin selector
      official b Lbdc;b(II)V
      intermediary method_4262 Lnet/minecraft/class_409;method_4262(II)V
      named drawForeground Lnet/minecraft/client/gui/screen/ingame/HandledScreen;drawForeground(II)V
    • drawBackground

      protected abstract void drawBackground(float delta, int mouseX, int mouseY)
      Mappings:
      Namespace Name Mixin selector
      official a Lbdc;a(FII)V
      intermediary method_1127 Lnet/minecraft/class_409;method_1127(FII)V
      named drawBackground Lnet/minecraft/client/gui/screen/ingame/HandledScreen;drawBackground(FII)V
    • drawSlot

      private void drawSlot(Slot slot)
      Mappings:
      Namespace Name Mixin selector
      official a Lbdc;a(Lzj;)V
      intermediary method_1129 Lnet/minecraft/class_409;method_1129(Lnet/minecraft/class_1026;)V
      named drawSlot Lnet/minecraft/client/gui/screen/ingame/HandledScreen;drawSlot(Lnet/minecraft/inventory/slot/Slot;)V
    • calculateOffset

      private void calculateOffset()
      Mappings:
      Namespace Name Mixin selector
      official g Lbdc;g()V
      intermediary method_4947 Lnet/minecraft/class_409;method_4947()V
      named calculateOffset Lnet/minecraft/client/gui/screen/ingame/HandledScreen;calculateOffset()V
    • getSlotAt

      private Slot getSlotAt(int x, int y)
      Mappings:
      Namespace Name Mixin selector
      official c Lbdc;c(II)Lzj;
      intermediary method_1133 Lnet/minecraft/class_409;method_1133(II)Lnet/minecraft/class_1026;
      named getSlotAt Lnet/minecraft/client/gui/screen/ingame/HandledScreen;getSlotAt(II)Lnet/minecraft/inventory/slot/Slot;
    • method_21926

      protected void method_21926(int int2, int int3, int int4)
      Overrides:
      method_21926 in class Screen
      Mappings:
      Namespace Name Mixin selector
      official a Lbcc;a(III)V
      intermediary method_21926 Lnet/minecraft/class_388;method_21926(III)V
      named method_21926 Lnet/minecraft/client/gui/screen/Screen;method_21926(III)V
    • method_21927

      protected void method_21927(int int2, int int3, int int4, long long2)
      Overrides:
      method_21927 in class Screen
      Mappings:
      Namespace Name Mixin selector
      official a Lbcc;a(IIIJ)V
      intermediary method_21927 Lnet/minecraft/class_388;method_21927(IIIJ)V
      named method_21927 Lnet/minecraft/client/gui/screen/Screen;method_21927(IIIJ)V
    • method_21935

      protected void method_21935(int int2, int int3, int int4)
      Overrides:
      method_21935 in class Screen
      Mappings:
      Namespace Name Mixin selector
      official b Lbcc;b(III)V
      intermediary method_21935 Lnet/minecraft/class_388;method_21935(III)V
      named method_21935 Lnet/minecraft/client/gui/screen/Screen;method_21935(III)V
    • isPointOverSlot

      private boolean isPointOverSlot(Slot slot, int pointX, int pointY)
      Mappings:
      Namespace Name Mixin selector
      official a Lbdc;a(Lzj;II)Z
      intermediary method_1130 Lnet/minecraft/class_409;method_1130(Lnet/minecraft/class_1026;II)Z
      named isPointOverSlot Lnet/minecraft/client/gui/screen/ingame/HandledScreen;isPointOverSlot(Lnet/minecraft/inventory/slot/Slot;II)Z
    • isPointWithinBounds

      protected boolean isPointWithinBounds(int posX, int posY, int width, int height, int pointX, int pointY)
      Mappings:
      Namespace Name Mixin selector
      official c Lbdc;c(IIIIII)Z
      intermediary method_1134 Lnet/minecraft/class_409;method_1134(IIIIII)Z
      named isPointWithinBounds Lnet/minecraft/client/gui/screen/ingame/HandledScreen;isPointWithinBounds(IIIIII)Z
    • onMouseClick

      protected void onMouseClick(Slot slot, int invSlot, int button, int slotAction)
      Mappings:
      Namespace Name Mixin selector
      official a Lbdc;a(Lzj;III)V
      intermediary method_1131 Lnet/minecraft/class_409;method_1131(Lnet/minecraft/class_1026;III)V
      named onMouseClick Lnet/minecraft/client/gui/screen/ingame/HandledScreen;onMouseClick(Lnet/minecraft/inventory/slot/Slot;III)V
    • method_21924

      protected void method_21924(char char2, int int2)
      Overrides:
      method_21924 in class Screen
      Mappings:
      Namespace Name Mixin selector
      official a Lbcc;a(CI)V
      intermediary method_21924 Lnet/minecraft/class_388;method_21924(CI)V
      named method_21924 Lnet/minecraft/client/gui/screen/Screen;method_21924(CI)V
    • handleHotbarKeyPressed

      protected boolean handleHotbarKeyPressed(int keyCode)
      Mappings:
      Namespace Name Mixin selector
      official a Lbdc;a(I)Z
      intermediary method_4261 Lnet/minecraft/class_409;method_4261(I)Z
      named handleHotbarKeyPressed Lnet/minecraft/client/gui/screen/ingame/HandledScreen;handleHotbarKeyPressed(I)Z
    • method_21933

      public void method_21933()
      Overrides:
      method_21933 in class Screen
      Mappings:
      Namespace Name Mixin selector
      official b Lbcc;b()V
      intermediary method_21933 Lnet/minecraft/class_388;method_21933()V
      named method_21933 Lnet/minecraft/client/gui/screen/Screen;method_21933()V
    • method_21940

      public boolean method_21940()
      Overrides:
      method_21940 in class Screen
      Mappings:
      Namespace Name Mixin selector
      official f Lbcc;f()Z
      intermediary method_21940 Lnet/minecraft/class_388;method_21940()Z
      named method_21940 Lnet/minecraft/client/gui/screen/Screen;method_21940()Z
    • method_21936

      public void method_21936()
      Overrides:
      method_21936 in class Screen
      Mappings:
      Namespace Name Mixin selector
      official c Lbcc;c()V
      intermediary method_21936 Lnet/minecraft/class_388;method_21936()V
      named method_21936 Lnet/minecraft/client/gui/screen/Screen;method_21936()V