Class BeaconScreen
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.BeaconScreen
- All Implemented Interfaces:
IdentifibleBooleanConsumer
@Environment(CLIENT) public class BeaconScreen extends HandledScreen
- Mappings:
Namespace Name official aynintermediary net/minecraft/class_783named net/minecraft/client/gui/screen/ingame/BeaconScreen
-
Nested Class Summary
Nested Classes Modifier and Type Class Description (package private) static classBeaconScreen.BaseButtonWidget(package private) classBeaconScreen.CancelButtonWidget(package private) classBeaconScreen.DoneButtonWidget(package private) classBeaconScreen.EffectButtonWidget -
Field Summary
Fields Modifier and Type Field Description private static IdentifierBEACON_TEXTUREprivate InventorybeaconInventoryprivate booleanconsumeGemprivate BeaconScreen.DoneButtonWidgetdoneButtonprivate static LoggerLOGGERFields 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 BeaconScreen(PlayerInventory playerInventory, Inventory beaconInventory) -
Method Summary
Modifier and Type Method Description protected voidbuttonClicked(ButtonWidget button)protected voiddrawBackground(float delta, int mouseX, int mouseY)protected voiddrawForeground(int mouseX, int mouseY)voidinit()voidtick()Methods inherited from class net.minecraft.client.gui.screen.ingame.HandledScreen
keyPressed, method_2903, method_2905, method_2908, mouseClicked, mouseDragged, mouseReleased, removed, render, shouldPauseGameMethods inherited from class net.minecraft.client.gui.screen.Screen
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
-
LOGGER
- Mappings:
Namespace Name Mixin selector official uLayn;u:Lorg/apache/logging/log4j/Logger;intermediary field_3408Lnet/minecraft/class_783;field_3408:Lorg/apache/logging/log4j/Logger;named LOGGERLnet/minecraft/client/gui/screen/ingame/BeaconScreen;LOGGER:Lorg/apache/logging/log4j/Logger;
-
BEACON_TEXTURE
- Mappings:
Namespace Name Mixin selector official vLayn;v:Ljy;intermediary field_3409Lnet/minecraft/class_783;field_3409:Lnet/minecraft/class_1605;named BEACON_TEXTURELnet/minecraft/client/gui/screen/ingame/BeaconScreen;BEACON_TEXTURE:Lnet/minecraft/util/Identifier;
-
beaconInventory
- Mappings:
Namespace Name Mixin selector official wLayn;w:Log;intermediary field_3410Lnet/minecraft/class_783;field_3410:Lnet/minecraft/class_1718;named beaconInventoryLnet/minecraft/client/gui/screen/ingame/BeaconScreen;beaconInventory:Lnet/minecraft/inventory/Inventory;
-
doneButton
- Mappings:
Namespace Name Mixin selector official xLayn;x:Layn$b;intermediary field_3411Lnet/minecraft/class_783;field_3411:Lnet/minecraft/class_783$class_785;named doneButtonLnet/minecraft/client/gui/screen/ingame/BeaconScreen;doneButton:Lnet/minecraft/client/gui/screen/ingame/BeaconScreen$DoneButtonWidget;
-
consumeGem
private boolean consumeGem- Mappings:
Namespace Name Mixin selector official yLayn;y:Zintermediary field_3412Lnet/minecraft/class_783;field_3412:Znamed consumeGemLnet/minecraft/client/gui/screen/ingame/BeaconScreen;consumeGem:Z
-
-
Constructor Details
-
BeaconScreen
- Mappings:
Namespace Name Mixin selector official <init>Layn;<init>(Lwm;Log;)Vintermediary <init>Lnet/minecraft/class_783;<init>(Lnet/minecraft/class_1962;Lnet/minecraft/class_1718;)Vnamed <init>Lnet/minecraft/client/gui/screen/ingame/BeaconScreen;<init>(Lnet/minecraft/entity/player/PlayerInventory;Lnet/minecraft/inventory/Inventory;)V
-
-
Method Details
-
init
public void init()- Overrides:
initin classHandledScreen- Mappings:
Namespace Name Mixin selector official bLaxu;b()Vintermediary method_2795Lnet/minecraft/class_754;method_2795()Vnamed initLnet/minecraft/client/gui/screen/Screen;init()V
-
tick
public void tick()- Overrides:
tickin classHandledScreen- Mappings:
Namespace Name Mixin selector official eLaxu;e()Vintermediary method_2804Lnet/minecraft/class_754;method_2804()Vnamed tickLnet/minecraft/client/gui/screen/Screen;tick()V
-
buttonClicked
- Overrides:
buttonClickedin classScreen- Mappings:
Namespace Name Mixin selector official aLaxu;a(Lavs;)Vintermediary method_2787Lnet/minecraft/class_754;method_2787(Lnet/minecraft/class_685;)Vnamed buttonClickedLnet/minecraft/client/gui/screen/Screen;buttonClicked(Lnet/minecraft/client/gui/widget/ButtonWidget;)V
-
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
-