Package net.minecraft.client.gui.screen
Class CommandBlockScreen
java.lang.Object
net.minecraft.client.gui.DrawableHelper
net.minecraft.client.gui.screen.Screen
net.minecraft.client.gui.screen.CommandBlockScreen
- All Implemented Interfaces:
IdentifibleBooleanConsumer
@Environment(CLIENT) public class CommandBlockScreen extends Screen
- Mappings:
Namespace Name official ayqintermediary net/minecraft/class_791named net/minecraft/client/gui/screen/CommandBlockScreen
-
Field Summary
Fields Modifier and Type Field Description private ButtonWidgetcancelButtonprivate ButtonWidgetdoneButtonprivate CommandBlockExecutorexecutorprivate TextFieldWidgetinputprivate static LoggerLOGGERprivate TextFieldWidgetoutputprivate booleantrackingOutputprivate ButtonWidgettrackingOutputToggleButtonFields 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 CommandBlockScreen(CommandBlockExecutor executor) -
Method Summary
Modifier and Type Method Description protected voidbuttonClicked(ButtonWidget button)voidinit()protected voidkeyPressed(char character, int code)protected voidmouseClicked(int mouseX, int mouseY, int button)voidremoved()voidrender(int mouseX, int mouseY, float tickDelta)voidtick()private voidupdateButtonTexts()Methods inherited from class net.minecraft.client.gui.screen.Screen
confirmResult, getClipboard, handleInput, handleKeyboard, handleMouse, handleTextClick, hasAltDown, hasControlDown, hasShiftDown, init, insertText, isCopy, isCut, isPaste, isSelectAll, mouseDragged, mouseReleased, renderBackground, renderBackground, renderDirtBackground, renderTextHoverEffect, renderTooltip, renderTooltip, renderTooltip, resize, sendMessage, sendMessage, setClipboard, setScreenBounds, shouldPauseGameMethods 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 aLayq;a:Lorg/apache/logging/log4j/Logger;intermediary field_3448Lnet/minecraft/class_791;field_3448:Lorg/apache/logging/log4j/Logger;named LOGGERLnet/minecraft/client/gui/screen/CommandBlockScreen;LOGGER:Lorg/apache/logging/log4j/Logger;
-
input
- Mappings:
Namespace Name Mixin selector official fLayq;f:Lavw;intermediary field_3449Lnet/minecraft/class_791;field_3449:Lnet/minecraft/class_689;named inputLnet/minecraft/client/gui/screen/CommandBlockScreen;input:Lnet/minecraft/client/gui/widget/TextFieldWidget;
-
output
- Mappings:
Namespace Name Mixin selector official gLayq;g:Lavw;intermediary field_3450Lnet/minecraft/class_791;field_3450:Lnet/minecraft/class_689;named outputLnet/minecraft/client/gui/screen/CommandBlockScreen;output:Lnet/minecraft/client/gui/widget/TextFieldWidget;
-
executor
- Mappings:
Namespace Name Mixin selector official hLayq;h:Ladc;intermediary field_3451Lnet/minecraft/class_791;field_3451:Lnet/minecraft/class_87;named executorLnet/minecraft/client/gui/screen/CommandBlockScreen;executor:Lnet/minecraft/world/CommandBlockExecutor;
-
doneButton
- Mappings:
Namespace Name Mixin selector official iLayq;i:Lavs;intermediary field_3452Lnet/minecraft/class_791;field_3452:Lnet/minecraft/class_685;named doneButtonLnet/minecraft/client/gui/screen/CommandBlockScreen;doneButton:Lnet/minecraft/client/gui/widget/ButtonWidget;
-
cancelButton
- Mappings:
Namespace Name Mixin selector official rLayq;r:Lavs;intermediary field_3453Lnet/minecraft/class_791;field_3453:Lnet/minecraft/class_685;named cancelButtonLnet/minecraft/client/gui/screen/CommandBlockScreen;cancelButton:Lnet/minecraft/client/gui/widget/ButtonWidget;
-
trackingOutputToggleButton
- Mappings:
Namespace Name Mixin selector official sLayq;s:Lavs;intermediary field_3454Lnet/minecraft/class_791;field_3454:Lnet/minecraft/class_685;named trackingOutputToggleButtonLnet/minecraft/client/gui/screen/CommandBlockScreen;trackingOutputToggleButton:Lnet/minecraft/client/gui/widget/ButtonWidget;
-
trackingOutput
private boolean trackingOutput- Mappings:
Namespace Name Mixin selector official tLayq;t:Zintermediary field_3455Lnet/minecraft/class_791;field_3455:Znamed trackingOutputLnet/minecraft/client/gui/screen/CommandBlockScreen;trackingOutput:Z
-
-
Constructor Details
-
CommandBlockScreen
- Mappings:
Namespace Name Mixin selector official <init>Layq;<init>(Ladc;)Vintermediary <init>Lnet/minecraft/class_791;<init>(Lnet/minecraft/class_87;)Vnamed <init>Lnet/minecraft/client/gui/screen/CommandBlockScreen;<init>(Lnet/minecraft/world/CommandBlockExecutor;)V
-
-
Method Details
-
tick
public void tick() -
init
public void init() -
removed
public void removed() -
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
-
keyPressed
protected void keyPressed(char character, int code)- Overrides:
keyPressedin classScreen- Mappings:
Namespace Name Mixin selector official aLaxu;a(CI)Vintermediary method_2781Lnet/minecraft/class_754;method_2781(CI)Vnamed keyPressedLnet/minecraft/client/gui/screen/Screen;keyPressed(CI)V
-
mouseClicked
protected void mouseClicked(int mouseX, int mouseY, int button)- Overrides:
mouseClickedin classScreen- Mappings:
Namespace Name Mixin selector official aLaxu;a(III)Vintermediary method_2784Lnet/minecraft/class_754;method_2784(III)Vnamed mouseClickedLnet/minecraft/client/gui/screen/Screen;mouseClicked(III)V
-
render
public void render(int mouseX, int mouseY, float tickDelta) -
updateButtonTexts
private void updateButtonTexts()- Mappings:
Namespace Name Mixin selector official aLayq;a()Vintermediary method_2926Lnet/minecraft/class_791;method_2926()Vnamed updateButtonTextsLnet/minecraft/client/gui/screen/CommandBlockScreen;updateButtonTexts()V
-