Class ChestScreen
java.lang.Object
net.minecraft.client.gui.DrawableHelper
net.minecraft.client.gui.screen.Screen
net.minecraft.client.gui.screen.ingame.HandledScreen
net.minecraft.client.gui.screen.ingame.ChestScreen
- All Implemented Interfaces:
IdentifibleBooleanConsumer
@Environment(CLIENT) public class ChestScreen extends HandledScreen
- Mappings:
Namespace Name official ayrintermediary net/minecraft/class_792named net/minecraft/client/gui/screen/ingame/ChestScreen
-
Field Summary
Fields Modifier and Type Field Description private Inventorybottomprivate introwsprivate static IdentifierTEXTUREprivate InventorytopFields inherited from class net.minecraft.client.gui.screen.ingame.HandledScreen
backgroundHeight, backgroundWidth, cursorDragSlots, INVENTORY_TEXTURE, isCursorDragging, screenHandler, x, yFields inherited from class net.minecraft.client.gui.screen.Screen
buttons, client, height, itemRenderer, labels, passEvents, textRenderer, widthFields inherited from class net.minecraft.client.gui.DrawableHelper
BACKGROUND_TEXTURE, GUI_ICONS_TEXTURE, STATS_ICON_TEXTURE, zOffset -
Constructor Summary
Constructors Constructor Description ChestScreen(Inventory bottom, Inventory top) -
Method Summary
Modifier and Type Method Description protected voiddrawBackground(float delta, int mouseX, int mouseY)protected voiddrawForeground(int mouseX, int mouseY)Methods inherited from class net.minecraft.client.gui.screen.ingame.HandledScreen
init, keyPressed, method_2903, method_2905, method_2908, mouseClicked, mouseDragged, mouseReleased, removed, render, shouldPauseGame, tickMethods inherited from class net.minecraft.client.gui.screen.Screen
buttonClicked, confirmResult, getClipboard, handleInput, handleKeyboard, handleMouse, handleTextClick, hasAltDown, hasControlDown, hasShiftDown, init, insertText, isCopy, isCut, isPaste, isSelectAll, renderBackground, renderBackground, renderDirtBackground, renderTextHoverEffect, renderTooltip, renderTooltip, renderTooltip, resize, sendMessage, sendMessage, setClipboard, setScreenBoundsMethods inherited from class net.minecraft.client.gui.DrawableHelper
drawCenteredString, drawHorizontalLine, drawSprite, drawTexture, drawTexture, drawTexture, drawTexture, drawVerticalLine, drawWithShadow, fill, fillGradient
-
Field Details
-
TEXTURE
- Mappings:
Namespace Name Mixin selector official uLayr;u:Ljy;intermediary field_3456Lnet/minecraft/class_792;field_3456:Lnet/minecraft/class_1605;named TEXTURELnet/minecraft/client/gui/screen/ingame/ChestScreen;TEXTURE:Lnet/minecraft/util/Identifier;
-
bottom
- Mappings:
Namespace Name Mixin selector official vLayr;v:Log;intermediary field_3457Lnet/minecraft/class_792;field_3457:Lnet/minecraft/class_1718;named bottomLnet/minecraft/client/gui/screen/ingame/ChestScreen;bottom:Lnet/minecraft/inventory/Inventory;
-
top
- Mappings:
Namespace Name Mixin selector official wLayr;w:Log;intermediary field_3458Lnet/minecraft/class_792;field_3458:Lnet/minecraft/class_1718;named topLnet/minecraft/client/gui/screen/ingame/ChestScreen;top:Lnet/minecraft/inventory/Inventory;
-
rows
private int rows- Mappings:
Namespace Name Mixin selector official xLayr;x:Iintermediary field_3459Lnet/minecraft/class_792;field_3459:Inamed rowsLnet/minecraft/client/gui/screen/ingame/ChestScreen;rows:I
-
-
Constructor Details
-
ChestScreen
- Mappings:
Namespace Name Mixin selector official <init>Layr;<init>(Log;Log;)Vintermediary <init>Lnet/minecraft/class_792;<init>(Lnet/minecraft/class_1718;Lnet/minecraft/class_1718;)Vnamed <init>Lnet/minecraft/client/gui/screen/ingame/ChestScreen;<init>(Lnet/minecraft/inventory/Inventory;Lnet/minecraft/inventory/Inventory;)V
-
-
Method Details
-
drawForeground
protected void drawForeground(int mouseX, int mouseY)- Overrides:
drawForegroundin classHandledScreen- Mappings:
Namespace Name Mixin selector official bLayl;b(II)Vintermediary method_2906Lnet/minecraft/class_781;method_2906(II)Vnamed drawForegroundLnet/minecraft/client/gui/screen/ingame/HandledScreen;drawForeground(II)V
-
drawBackground
protected void drawBackground(float delta, int mouseX, int mouseY)- Specified by:
drawBackgroundin classHandledScreen- Mappings:
Namespace Name Mixin selector official aLayl;a(FII)Vintermediary method_2900Lnet/minecraft/class_781;method_2900(FII)Vnamed drawBackgroundLnet/minecraft/client/gui/screen/ingame/HandledScreen;drawBackground(FII)V
-