Class HandledScreen
java.lang.Object
net.minecraft.client.gui.DrawableHelper
net.minecraft.class_4121
net.minecraft.client.gui.screen.Screen
net.minecraft.client.gui.screen.ingame.HandledScreen
- All Implemented Interfaces:
class_4122,class_4123,IdentifibleBooleanConsumer
- Direct Known Subclasses:
AnvilScreen,BeaconScreen,BrewingStandScreen,ChestScreen,class_3084,CraftingTableScreen,DispenserScreen,EnchantingScreen,FurnaceScreen,HopperScreen,HorseScreen,InventoryScreen,VillagerTradingScreen
- Mappings:
Namespace Name official ckyintermediary net/minecraft/class_409named net/minecraft/client/gui/screen/ingame/HandledScreen
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected intprotected intprivate booleanprivate intprotected Slotprivate intprivate intstatic final Identifierprotected booleanprivate booleanprivate longprivate intprivate Slotprivate ItemStackprivate Slotprivate ItemStackprivate Slotprivate ItemStackprivate longprivate longprivate intprivate intprivate Slotprivate booleanprotected intprotected intFields inherited from class net.minecraft.client.gui.screen.Screen
buttons, client, field_20307, field_20308, height, labels, passEvents, textRenderer, widthFields inherited from class net.minecraft.client.gui.DrawableHelper
GUI_ICONS_TEXTURE, OPTIONS_BACKGROUND_TEXTURE, STATS_ICON_TEXTURE, zOffset -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate voidprotected abstract voiddrawBackground(float delta, int mouseX, int mouseY) protected voiddrawForeground(int mouseX, int mouseY) private voidprivate voidprotected voidinit()booleankeyPressed(int int2, int int3, int int4) protected voidmethod_1131(Slot slot, int int2, int int3, ItemAction itemAction) protected booleanmethod_1134(int int2, int int3, int int4, int int5, double double2, double double3) protected voidmethod_14548(int int2, int int3) protected booleanmethod_14549(double double2, double double3, int int2, int int3, int int4) booleanprivate Slotmethod_18680(double double2, double double3) private booleanmethod_18681(Slot slot, double double2, double double3) protected booleanmethod_4261(int int2, int int3) booleanmouseClicked(double double2, double double3, int int2) booleanmouseDragged(double double2, double double3, int int2, double double4, double double5) booleanmouseReleased(double double2, double double3, int int2) voidremoved()voidrender(int mouseX, int mouseY, float tickDelta) booleanvoidtick()Methods inherited from class net.minecraft.client.gui.screen.Screen
confirmResult, handleTextClick, hasAltDown, hasControlDown, hasShiftDown, init, insertText, isCopy, isCut, isPaste, isSelectAll, method_13411, method_14502, method_18423, method_18605, method_18608, renderBackground, renderBackground, renderDirtBackground, renderTextHoverEffect, renderTooltip, renderTooltip, renderTooltip, resize, sendMessage, sendMessageMethods inherited from class net.minecraft.class_4121
getFocused, method_18421, method_18424, method_18425, method_18426Methods inherited from class net.minecraft.client.gui.DrawableHelper
drawCenteredString, drawHorizontalLine, drawSprite, drawTexture, drawTexture, drawTexture, drawTexture, drawVerticalLine, drawWithShadow, fill, fillGradientMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.class_4122
method_18427, method_18428Methods inherited from interface net.minecraft.class_4123
charTyped, keyReleased, mouseScrolled
-
Field Details
-
INVENTORY_TEXTURE
- Mappings:
Namespace Name Mixin selector official aLcky;a:Lpc;intermediary field_6301Lnet/minecraft/class_409;field_6301:Lnet/minecraft/class_1653;named INVENTORY_TEXTURELnet/minecraft/client/gui/screen/ingame/HandledScreen;INVENTORY_TEXTURE:Lnet/minecraft/util/Identifier;
-
backgroundWidth
protected int backgroundWidth- Mappings:
Namespace Name Mixin selector official fLcky;f:Iintermediary field_1347Lnet/minecraft/class_409;field_1347:Inamed backgroundWidthLnet/minecraft/client/gui/screen/ingame/HandledScreen;backgroundWidth:I
-
backgroundHeight
protected int backgroundHeight- Mappings:
Namespace Name Mixin selector official gLcky;g:Iintermediary field_1348Lnet/minecraft/class_409;field_1348:Inamed backgroundHeightLnet/minecraft/client/gui/screen/ingame/HandledScreen;backgroundHeight:I
-
screenHandler
- Mappings:
Namespace Name Mixin selector official hLcky;h:Lapv;intermediary field_1349Lnet/minecraft/class_409;field_1349:Lnet/minecraft/class_1002;named screenHandlerLnet/minecraft/client/gui/screen/ingame/HandledScreen;screenHandler:Lnet/minecraft/screen/ScreenHandler;
-
x
protected int x- Mappings:
Namespace Name Mixin selector official iLcky;i:Iintermediary field_1350Lnet/minecraft/class_409;field_1350:Inamed xLnet/minecraft/client/gui/screen/ingame/HandledScreen;x:I
-
y
protected int y- Mappings:
Namespace Name Mixin selector official sLcky;s:Iintermediary field_1351Lnet/minecraft/class_409;field_1351:Inamed yLnet/minecraft/client/gui/screen/ingame/HandledScreen;y:I
-
focusedSlot
- Mappings:
Namespace Name Mixin selector official tLcky;t:Laqx;intermediary field_5095Lnet/minecraft/class_409;field_5095:Lnet/minecraft/class_1026;named focusedSlotLnet/minecraft/client/gui/screen/ingame/HandledScreen;focusedSlot:Lnet/minecraft/inventory/slot/Slot;
-
touchDragSlotStart
- Mappings:
Namespace Name Mixin selector official wLcky;w:Laqx;intermediary field_5096Lnet/minecraft/class_409;field_5096:Lnet/minecraft/class_1026;named touchDragSlotStartLnet/minecraft/client/gui/screen/ingame/HandledScreen;touchDragSlotStart:Lnet/minecraft/inventory/slot/Slot;
-
touchIsRightClickDrag
private boolean touchIsRightClickDrag- Mappings:
Namespace Name Mixin selector official xLcky;x:Zintermediary field_5097Lnet/minecraft/class_409;field_5097:Znamed touchIsRightClickDragLnet/minecraft/client/gui/screen/ingame/HandledScreen;touchIsRightClickDrag:Z
-
touchDragStack
- Mappings:
Namespace Name Mixin selector official yLcky;y:Late;intermediary field_5098Lnet/minecraft/class_409;field_5098:Lnet/minecraft/class_1071;named touchDragStackLnet/minecraft/client/gui/screen/ingame/HandledScreen;touchDragStack:Lnet/minecraft/item/ItemStack;
-
touchDropX
private int touchDropX- Mappings:
Namespace Name Mixin selector official zLcky;z:Iintermediary field_5099Lnet/minecraft/class_409;field_5099:Inamed touchDropXLnet/minecraft/client/gui/screen/ingame/HandledScreen;touchDropX:I
-
touchDropY
private int touchDropY- Mappings:
Namespace Name Mixin selector official ALcky;A:Iintermediary field_5100Lnet/minecraft/class_409;field_5100:Inamed touchDropYLnet/minecraft/client/gui/screen/ingame/HandledScreen;touchDropY:I
-
touchDropOriginSlot
- Mappings:
Namespace Name Mixin selector official BLcky;B:Laqx;intermediary field_5101Lnet/minecraft/class_409;field_5101:Lnet/minecraft/class_1026;named touchDropOriginSlotLnet/minecraft/client/gui/screen/ingame/HandledScreen;touchDropOriginSlot:Lnet/minecraft/inventory/slot/Slot;
-
touchDropTime
private long touchDropTime- Mappings:
Namespace Name Mixin selector official CLcky;C:Jintermediary field_5102Lnet/minecraft/class_409;field_5102:Jnamed touchDropTimeLnet/minecraft/client/gui/screen/ingame/HandledScreen;touchDropTime:J
-
touchDropReturningStack
- Mappings:
Namespace Name Mixin selector official DLcky;D:Late;intermediary field_5103Lnet/minecraft/class_409;field_5103:Lnet/minecraft/class_1071;named touchDropReturningStackLnet/minecraft/client/gui/screen/ingame/HandledScreen;touchDropReturningStack:Lnet/minecraft/item/ItemStack;
-
touchHoveredSlot
- Mappings:
Namespace Name Mixin selector official ELcky;E:Laqx;intermediary field_5104Lnet/minecraft/class_409;field_5104:Lnet/minecraft/class_1026;named touchHoveredSlotLnet/minecraft/client/gui/screen/ingame/HandledScreen;touchHoveredSlot:Lnet/minecraft/inventory/slot/Slot;
-
touchDropTimer
private long touchDropTimer- Mappings:
Namespace Name Mixin selector official FLcky;F:Jintermediary field_5105Lnet/minecraft/class_409;field_5105:Jnamed touchDropTimerLnet/minecraft/client/gui/screen/ingame/HandledScreen;touchDropTimer:J
-
cursorDragSlots
- Mappings:
Namespace Name Mixin selector official uLcky;u:Ljava/util/Set;intermediary field_5724Lnet/minecraft/class_409;field_5724:Ljava/util/Set;named cursorDragSlotsLnet/minecraft/client/gui/screen/ingame/HandledScreen;cursorDragSlots:Ljava/util/Set;
-
isCursorDragging
protected boolean isCursorDragging- Mappings:
Namespace Name Mixin selector official vLcky;v:Zintermediary field_5725Lnet/minecraft/class_409;field_5725:Znamed isCursorDraggingLnet/minecraft/client/gui/screen/ingame/HandledScreen;isCursorDragging:Z
-
heldButtonType
private int heldButtonType- Mappings:
Namespace Name Mixin selector official GLcky;G:Iintermediary field_5715Lnet/minecraft/class_409;field_5715:Inamed heldButtonTypeLnet/minecraft/client/gui/screen/ingame/HandledScreen;heldButtonType:I
-
heldButtonCode
private int heldButtonCode- Mappings:
Namespace Name Mixin selector official HLcky;H:Iintermediary field_5716Lnet/minecraft/class_409;field_5716:Inamed heldButtonCodeLnet/minecraft/client/gui/screen/ingame/HandledScreen;heldButtonCode:I
-
cancelNextRelease
private boolean cancelNextRelease- Mappings:
Namespace Name Mixin selector official ILcky;I:Zintermediary field_5717Lnet/minecraft/class_409;field_5717:Znamed cancelNextReleaseLnet/minecraft/client/gui/screen/ingame/HandledScreen;cancelNextRelease:Z
-
draggedStackRemainder
private int draggedStackRemainder- Mappings:
Namespace Name Mixin selector official JLcky;J:Iintermediary field_5718Lnet/minecraft/class_409;field_5718:Inamed draggedStackRemainderLnet/minecraft/client/gui/screen/ingame/HandledScreen;draggedStackRemainder:I
-
lastButtonClickTime
private long lastButtonClickTime- Mappings:
Namespace Name Mixin selector official KLcky;K:Jintermediary field_5719Lnet/minecraft/class_409;field_5719:Jnamed lastButtonClickTimeLnet/minecraft/client/gui/screen/ingame/HandledScreen;lastButtonClickTime:J
-
lastClickedSlot
- Mappings:
Namespace Name Mixin selector official LLcky;L:Laqx;intermediary field_5720Lnet/minecraft/class_409;field_5720:Lnet/minecraft/class_1026;named lastClickedSlotLnet/minecraft/client/gui/screen/ingame/HandledScreen;lastClickedSlot:Lnet/minecraft/inventory/slot/Slot;
-
lastClickedButton
private int lastClickedButton- Mappings:
Namespace Name Mixin selector official MLcky;M:Iintermediary field_5721Lnet/minecraft/class_409;field_5721:Inamed lastClickedButtonLnet/minecraft/client/gui/screen/ingame/HandledScreen;lastClickedButton:I
-
isDoubleClicking
private boolean isDoubleClicking- Mappings:
Namespace Name Mixin selector official NLcky;N:Zintermediary field_5722Lnet/minecraft/class_409;field_5722:Znamed isDoubleClickingLnet/minecraft/client/gui/screen/ingame/HandledScreen;isDoubleClicking:Z
-
quickMovingStack
- Mappings:
Namespace Name Mixin selector official OLcky;O:Late;intermediary field_5723Lnet/minecraft/class_409;field_5723:Lnet/minecraft/class_1071;named quickMovingStackLnet/minecraft/client/gui/screen/ingame/HandledScreen;quickMovingStack:Lnet/minecraft/item/ItemStack;
-
-
Constructor Details
-
HandledScreen
- Mappings:
Namespace Name Mixin selector official <init>Lcky;<init>(Lapv;)Vintermediary <init>Lnet/minecraft/class_409;<init>(Lnet/minecraft/class_1002;)Vnamed <init>Lnet/minecraft/client/gui/screen/ingame/HandledScreen;<init>(Lnet/minecraft/screen/ScreenHandler;)V
-
-
Method Details
-
init
protected void init() -
render
public void render(int mouseX, int mouseY, float tickDelta) -
method_14548
protected void method_14548(int int2, int int3) - Mappings:
Namespace Name Mixin selector official bLcky;b(II)Vintermediary method_14548Lnet/minecraft/class_409;method_14548(II)Vnamed method_14548Lnet/minecraft/client/gui/screen/ingame/HandledScreen;method_14548(II)V
-
drawItem
- Mappings:
Namespace Name Mixin selector official aLcky;a(Late;IILjava/lang/String;)Vintermediary method_4264Lnet/minecraft/class_409;method_4264(Lnet/minecraft/class_1071;IILjava/lang/String;)Vnamed drawItemLnet/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 cLcky;c(II)Vintermediary method_4262Lnet/minecraft/class_409;method_4262(II)Vnamed drawForegroundLnet/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 aLcky;a(FII)Vintermediary method_1127Lnet/minecraft/class_409;method_1127(FII)Vnamed drawBackgroundLnet/minecraft/client/gui/screen/ingame/HandledScreen;drawBackground(FII)V
-
drawSlot
- Mappings:
Namespace Name Mixin selector official aLcky;a(Laqx;)Vintermediary method_1129Lnet/minecraft/class_409;method_1129(Lnet/minecraft/class_1026;)Vnamed drawSlotLnet/minecraft/client/gui/screen/ingame/HandledScreen;drawSlot(Lnet/minecraft/inventory/slot/Slot;)V
-
calculateOffset
private void calculateOffset()- Mappings:
Namespace Name Mixin selector official hLcky;h()Vintermediary method_4947Lnet/minecraft/class_409;method_4947()Vnamed calculateOffsetLnet/minecraft/client/gui/screen/ingame/HandledScreen;calculateOffset()V
-
method_18680
- Mappings:
Namespace Name Mixin selector official aLcky;a(DD)Laqx;intermediary method_18680Lnet/minecraft/class_409;method_18680(DD)Lnet/minecraft/class_1026;named method_18680Lnet/minecraft/client/gui/screen/ingame/HandledScreen;method_18680(DD)Lnet/minecraft/inventory/slot/Slot;
-
mouseClicked
public boolean mouseClicked(double double2, double double3, int int2) - Specified by:
mouseClickedin interfaceclass_4122- Specified by:
mouseClickedin interfaceclass_4123- Overrides:
mouseClickedin classclass_4121- Mappings:
Namespace Name Mixin selector official mouseClickedLchr;mouseClicked(DDI)Zintermediary mouseClickedLnet/minecraft/class_4122;mouseClicked(DDI)Znamed mouseClickedLnet/minecraft/class_4122;mouseClicked(DDI)Z
-
method_14549
protected boolean method_14549(double double2, double double3, int int2, int int3, int int4) - Mappings:
Namespace Name Mixin selector official aLcky;a(DDIII)Zintermediary method_14549Lnet/minecraft/class_409;method_14549(DDIII)Znamed method_14549Lnet/minecraft/client/gui/screen/ingame/HandledScreen;method_14549(DDIII)Z
-
mouseDragged
public boolean mouseDragged(double double2, double double3, int int2, double double4, double double5) - Specified by:
mouseDraggedin interfaceclass_4122- Specified by:
mouseDraggedin interfaceclass_4123- Overrides:
mouseDraggedin classclass_4121- Mappings:
Namespace Name Mixin selector official mouseDraggedLchr;mouseDragged(DDIDD)Zintermediary mouseDraggedLnet/minecraft/class_4122;mouseDragged(DDIDD)Znamed mouseDraggedLnet/minecraft/class_4122;mouseDragged(DDIDD)Z
-
mouseReleased
public boolean mouseReleased(double double2, double double3, int int2) - Specified by:
mouseReleasedin interfaceclass_4122- Specified by:
mouseReleasedin interfaceclass_4123- Overrides:
mouseReleasedin classclass_4121- Mappings:
Namespace Name Mixin selector official mouseReleasedLchr;mouseReleased(DDI)Zintermediary mouseReleasedLnet/minecraft/class_4122;mouseReleased(DDI)Znamed mouseReleasedLnet/minecraft/class_4122;mouseReleased(DDI)Z
-
method_18681
- Mappings:
Namespace Name Mixin selector official aLcky;a(Laqx;DD)Zintermediary method_18681Lnet/minecraft/class_409;method_18681(Lnet/minecraft/class_1026;DD)Znamed method_18681Lnet/minecraft/client/gui/screen/ingame/HandledScreen;method_18681(Lnet/minecraft/inventory/slot/Slot;DD)Z
-
method_1134
protected boolean method_1134(int int2, int int3, int int4, int int5, double double2, double double3) - Mappings:
Namespace Name Mixin selector official aLcky;a(IIIIDD)Zintermediary method_1134Lnet/minecraft/class_409;method_1134(IIIIDD)Znamed method_1134Lnet/minecraft/client/gui/screen/ingame/HandledScreen;method_1134(IIIIDD)Z
-
method_1131
- Mappings:
Namespace Name Mixin selector official aLcky;a(Laqx;IILaqa;)Vintermediary method_1131Lnet/minecraft/class_409;method_1131(Lnet/minecraft/class_1026;IILnet/minecraft/class_2679;)Vnamed method_1131Lnet/minecraft/client/gui/screen/ingame/HandledScreen;method_1131(Lnet/minecraft/inventory/slot/Slot;IILnet/minecraft/util/ItemAction;)V
-
method_18607
public boolean method_18607()- Overrides:
method_18607in classScreen- Mappings:
Namespace Name Mixin selector official ah_Lckd;ah_()Zintermediary method_18607Lnet/minecraft/class_388;method_18607()Znamed method_18607Lnet/minecraft/client/gui/screen/Screen;method_18607()Z
-
keyPressed
public boolean keyPressed(int int2, int int3, int int4) - Specified by:
keyPressedin interfaceclass_4122- Specified by:
keyPressedin interfaceclass_4123- Overrides:
keyPressedin classScreen- Mappings:
Namespace Name Mixin selector official keyPressedLchr;keyPressed(III)Zintermediary keyPressedLnet/minecraft/class_4122;keyPressed(III)Znamed keyPressedLnet/minecraft/class_4122;keyPressed(III)Z
-
method_4261
protected boolean method_4261(int int2, int int3) - Mappings:
Namespace Name Mixin selector official dLcky;d(II)Zintermediary method_4261Lnet/minecraft/class_409;method_4261(II)Znamed method_4261Lnet/minecraft/client/gui/screen/ingame/HandledScreen;method_4261(II)Z
-
removed
public void removed() -
shouldPauseGame
public boolean shouldPauseGame()- Overrides:
shouldPauseGamein classScreen- Mappings:
Namespace Name Mixin selector official eLckd;e()Zintermediary method_1037Lnet/minecraft/class_388;method_1037()Znamed shouldPauseGameLnet/minecraft/client/gui/screen/Screen;shouldPauseGame()Z
-
tick
public void tick()
-