类 CommandBlockScreen
- java.lang.Object
-
- net.minecraft.client.gui.DrawableHelper
-
- net.minecraft.client.gui.AbstractParentElement
-
- net.minecraft.client.gui.screen.Screen
-
- net.minecraft.client.gui.screen.ingame.AbstractCommandBlockScreen
-
- net.minecraft.client.gui.screen.ingame.CommandBlockScreen
-
- 所有已实现的接口:
Drawable,Element,ParentElement,TickableElement
@Environment(CLIENT) public class CommandBlockScreen extends AbstractCommandBlockScreen
- Mappings:
Namespace Name official ealintermediary net/minecraft/class_477named net/minecraft/client/gui/screen/ingame/CommandBlockScreen
-
-
字段概要
字段 修饰符和类型 字段 说明 private booleanautoActivateprivate CommandBlockBlockEntityblockEntityprivate booleanconditionalprivate CyclingButtonWidget<Boolean>conditionalModeButtonprivate CommandBlockBlockEntity.Typemodeprivate CyclingButtonWidget<CommandBlockBlockEntity.Type>modeButtonprivate CyclingButtonWidget<Boolean>redstoneTriggerButton-
从类继承的字段 net.minecraft.client.gui.screen.ingame.AbstractCommandBlockScreen
cancelButton, consoleCommandTextField, doneButton, previousOutputTextField, toggleTrackingOutputButton
-
从类继承的字段 net.minecraft.client.gui.screen.Screen
buttons, children, client, height, itemRenderer, passEvents, textRenderer, title, width
-
从类继承的字段 net.minecraft.client.gui.DrawableHelper
GUI_ICONS_TEXTURE, OPTIONS_BACKGROUND_TEXTURE, STATS_ICON_TEXTURE
-
-
构造器概要
构造器 构造器 说明 CommandBlockScreen(CommandBlockBlockEntity blockEntity)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 (专用程序包) CommandBlockExecutorgetCommandExecutor()(专用程序包) intgetTrackOutputButtonHeight()protected voidinit()Called when a screen should be initialized.voidresize(MinecraftClient client, int width, int height)private voidsetButtonsActive(boolean active)protected voidsyncSettingsToServer(CommandBlockExecutor commandExecutor)voidupdateCommandBlock()-
从类继承的方法 net.minecraft.client.gui.screen.ingame.AbstractCommandBlockScreen
commitAndClose, keyPressed, method_32642, mouseClicked, mouseScrolled, removed, render, tick
-
从类继承的方法 net.minecraft.client.gui.screen.Screen
addButton, addChild, children, filesDragged, getNarrationMessage, getTitle, getTooltipFromItem, handleTextClick, hasAltDown, hasControlDown, hasShiftDown, init, insertText, isCopy, isCut, isMouseOver, isPaste, isPauseScreen, isSelectAll, isValidCharacterForName, onClose, renderBackground, renderBackground, renderBackgroundTexture, renderOrderedTooltip, renderTextHoverEffect, renderTooltip, renderTooltip, renderTooltip, renderTooltip, sendMessage, sendMessage, shouldCloseOnEsc, wrapScreenError
-
从类继承的方法 net.minecraft.client.gui.AbstractParentElement
getFocused, isDragging, setDragging, setFocused
-
从类继承的方法 net.minecraft.client.gui.DrawableHelper
drawCenteredString, drawCenteredText, drawHorizontalLine, drawSprite, drawStringWithShadow, drawTexture, drawTexture, drawTexture, drawTexture, drawTextWithShadow, drawVerticalLine, fill, fillGradient, fillGradient, getZOffset, method_29343, method_33284, method_35719, method_35720, setZOffset
-
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
从接口继承的方法 net.minecraft.client.gui.Element
mouseMoved
-
从接口继承的方法 net.minecraft.client.gui.ParentElement
changeFocus, charTyped, focusOn, hoveredElement, keyReleased, mouseDragged, mouseReleased, setInitialFocus
-
-
-
-
字段详细资料
-
blockEntity
private final CommandBlockBlockEntity blockEntity
- Mappings:
Namespace Name Mixin selector official rLeal;r:Lchw;intermediary field_2865Lnet/minecraft/class_477;field_2865:Lnet/minecraft/class_2593;named blockEntityLnet/minecraft/client/gui/screen/ingame/CommandBlockScreen;blockEntity:Lnet/minecraft/block/entity/CommandBlockBlockEntity;
-
modeButton
private CyclingButtonWidget<CommandBlockBlockEntity.Type> modeButton
- Mappings:
Namespace Name Mixin selector official sLeal;s:Ldwc;intermediary field_2869Lnet/minecraft/class_477;field_2869:Lnet/minecraft/class_5676;named modeButtonLnet/minecraft/client/gui/screen/ingame/CommandBlockScreen;modeButton:Lnet/minecraft/client/gui/widget/CyclingButtonWidget;
-
conditionalModeButton
private CyclingButtonWidget<Boolean> conditionalModeButton
- Mappings:
Namespace Name Mixin selector official tLeal;t:Ldwc;intermediary field_2871Lnet/minecraft/class_477;field_2871:Lnet/minecraft/class_5676;named conditionalModeButtonLnet/minecraft/client/gui/screen/ingame/CommandBlockScreen;conditionalModeButton:Lnet/minecraft/client/gui/widget/CyclingButtonWidget;
-
redstoneTriggerButton
private CyclingButtonWidget<Boolean> redstoneTriggerButton
- Mappings:
Namespace Name Mixin selector official uLeal;u:Ldwc;intermediary field_2866Lnet/minecraft/class_477;field_2866:Lnet/minecraft/class_5676;named redstoneTriggerButtonLnet/minecraft/client/gui/screen/ingame/CommandBlockScreen;redstoneTriggerButton:Lnet/minecraft/client/gui/widget/CyclingButtonWidget;
-
mode
private CommandBlockBlockEntity.Type mode
- Mappings:
Namespace Name Mixin selector official vLeal;v:Lchw$a;intermediary field_2870Lnet/minecraft/class_477;field_2870:Lnet/minecraft/class_2593$class_2594;named modeLnet/minecraft/client/gui/screen/ingame/CommandBlockScreen;mode:Lnet/minecraft/block/entity/CommandBlockBlockEntity$Type;
-
conditional
private boolean conditional
- Mappings:
Namespace Name Mixin selector official wLeal;w:Zintermediary field_2868Lnet/minecraft/class_477;field_2868:Znamed conditionalLnet/minecraft/client/gui/screen/ingame/CommandBlockScreen;conditional:Z
-
autoActivate
private boolean autoActivate
- Mappings:
Namespace Name Mixin selector official xLeal;x:Zintermediary field_2867Lnet/minecraft/class_477;field_2867:Znamed autoActivateLnet/minecraft/client/gui/screen/ingame/CommandBlockScreen;autoActivate:Z
-
-
构造器详细资料
-
CommandBlockScreen
public CommandBlockScreen(CommandBlockBlockEntity blockEntity)
- Mappings:
Namespace Name Mixin selector official <init>Leal;<init>(Lchw;)Vintermediary <init>Lnet/minecraft/class_477;<init>(Lnet/minecraft/class_2593;)Vnamed <init>Lnet/minecraft/client/gui/screen/ingame/CommandBlockScreen;<init>(Lnet/minecraft/block/entity/CommandBlockBlockEntity;)V
-
-
方法详细资料
-
getCommandExecutor
CommandBlockExecutor getCommandExecutor()
- 指定者:
getCommandExecutor在类中AbstractCommandBlockScreen- Mappings:
Namespace Name Mixin selector official hLeab;h()Lbur;intermediary method_2351Lnet/minecraft/class_463;method_2351()Lnet/minecraft/class_1918;named getCommandExecutorLnet/minecraft/client/gui/screen/ingame/AbstractCommandBlockScreen;getCommandExecutor()Lnet/minecraft/world/CommandBlockExecutor;
-
getTrackOutputButtonHeight
int getTrackOutputButtonHeight()
- 指定者:
getTrackOutputButtonHeight在类中AbstractCommandBlockScreen- Mappings:
Namespace Name Mixin selector official iLeab;i()Iintermediary method_2364Lnet/minecraft/class_463;method_2364()Inamed getTrackOutputButtonHeightLnet/minecraft/client/gui/screen/ingame/AbstractCommandBlockScreen;getTrackOutputButtonHeight()I
-
init
protected void init()
Called when a screen should be initialized.This method is called when this screen is opened or resized.
- 覆盖:
init在类中AbstractCommandBlockScreen- Mappings:
Namespace Name Mixin selector official bLdzg;b()Vintermediary method_25426Lnet/minecraft/class_437;method_25426()Vnamed initLnet/minecraft/client/gui/screen/Screen;init()V
-
setButtonsActive
private void setButtonsActive(boolean active)
- Mappings:
Namespace Name Mixin selector official dLeal;d(Z)Vintermediary method_32647Lnet/minecraft/class_477;method_32647(Z)Vnamed setButtonsActiveLnet/minecraft/client/gui/screen/ingame/CommandBlockScreen;setButtonsActive(Z)V
-
updateCommandBlock
public void updateCommandBlock()
- Mappings:
Namespace Name Mixin selector official lLeal;l()Vintermediary method_2457Lnet/minecraft/class_477;method_2457()Vnamed updateCommandBlockLnet/minecraft/client/gui/screen/ingame/CommandBlockScreen;updateCommandBlock()V
-
resize
public void resize(MinecraftClient client, int width, int height)
- 覆盖:
resize在类中AbstractCommandBlockScreen- Mappings:
Namespace Name Mixin selector official aLdzg;a(Ldum;II)Vintermediary method_25410Lnet/minecraft/class_437;method_25410(Lnet/minecraft/class_310;II)Vnamed resizeLnet/minecraft/client/gui/screen/Screen;resize(Lnet/minecraft/client/MinecraftClient;II)V
-
syncSettingsToServer
protected void syncSettingsToServer(CommandBlockExecutor commandExecutor)
- 指定者:
syncSettingsToServer在类中AbstractCommandBlockScreen- Mappings:
Namespace Name Mixin selector official aLeab;a(Lbur;)Vintermediary method_2352Lnet/minecraft/class_463;method_2352(Lnet/minecraft/class_1918;)Vnamed syncSettingsToServerLnet/minecraft/client/gui/screen/ingame/AbstractCommandBlockScreen;syncSettingsToServer(Lnet/minecraft/world/CommandBlockExecutor;)V
-
-