Class TestBlockScreen
java.lang.Object
net.minecraft.client.gui.AbstractParentElement
net.minecraft.client.gui.screen.Screen
net.minecraft.client.gui.screen.ingame.TestBlockScreen
- All Implemented Interfaces:
Drawable,Element,Navigable,ParentElement
- Mappings:
Namespace Name named net/minecraft/client/gui/screen/ingame/TestBlockScreenintermediary net/minecraft/class_10642official gla
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.client.gui.screen.Screen
Screen.SelectedElementNarrationData -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate Stringprivate static final Textprivate TestBlockModeprivate static final List<TestBlockMode> private final BlockPosprivate @Nullable TextFieldWidgetprivate static final TextFields inherited from class net.minecraft.client.gui.screen.Screen
client, executor, field_60460, FOOTER_SEPARATOR_TEXTURE, HEADER_SEPARATOR_TEXTURE, height, INWORLD_FOOTER_SEPARATOR_TEXTURE, INWORLD_HEADER_SEPARATOR_TEXTURE, MENU_BACKGROUND_TEXTURE, narratorToggleButton, textRenderer, title, width -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()voidinit()Called when a screen should be initialized.booleanprivate voidonCancel()private voidonDone()voidrender(DrawContext context, int mouseX, int mouseY, float deltaTicks) private voidsetMode(TestBlockMode mode) booleanMethods inherited from class net.minecraft.client.gui.screen.Screen
addCrashReportSection, addDrawable, addDrawableChild, addElementNarrations, addScreenNarrations, addSelectableChild, applyBlur, applyKeyPressNarratorDelay, applyMouseMoveNarratorDelay, applyMousePressScrollNarratorDelay, blur, children, clearAndInit, clearChildren, findSelectedElementData, getMusic, getNarratedTitle, getNavigationFocus, getTextRenderer, getTitle, getTooltipFromItem, getUsageNarrationText, handleBasicClickEvent, handleClickEvent, handleClickEvent, handleOpenUri, handleRunCommand, handleTextClick, hasAltDown, hasControlDown, hasShiftDown, hasUsageText, init, insertText, isCopy, isCut, isMouseOver, isPaste, isSelectAll, isValidCharacterForName, keyPressed, method_72798, method_73217, narrateScreenIfNarrationEnabled, onDisplayed, onFilesDropped, refreshNarrator, refreshWidgetPositions, remove, removed, renderBackground, renderBackgroundTexture, renderDarkening, renderDarkening, renderInGameBackground, renderPanoramaBackground, renderWithTooltip, resize, setInitialFocus, setInitialFocus, setWidgetAlpha, shouldCloseOnEsc, showsStatusEffects, switchFocus, tick, updateNarratorMethods inherited from class net.minecraft.client.gui.AbstractParentElement
getFocused, isDragging, setDragging, setFocusedMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.client.gui.Element
getBorder, method_72784, mouseMovedMethods inherited from interface net.minecraft.client.gui.navigation.Navigable
getNavigationOrderMethods inherited from interface net.minecraft.client.gui.ParentElement
charTyped, getFocusedPath, getNavigationPath, hoveredElement, isFocused, keyReleased, mouseClicked, mouseDragged, mouseReleased, mouseScrolled, setFocused
-
Field Details
-
MODES
- Mappings:
Namespace Name Mixin selector named MODESLnet/minecraft/client/gui/screen/ingame/TestBlockScreen;MODES:Ljava/util/List;intermediary field_56036Lnet/minecraft/class_10642;field_56036:Ljava/util/List;official aLgla;a:Ljava/util/List;
-
TITLE_TEXT
- Mappings:
Namespace Name Mixin selector named TITLE_TEXTLnet/minecraft/client/gui/screen/ingame/TestBlockScreen;TITLE_TEXT:Lnet/minecraft/text/Text;intermediary field_56037Lnet/minecraft/class_10642;field_56037:Lnet/minecraft/class_2561;official bLgla;b:Lxv;
-
MESSAGE_TEXT
- Mappings:
Namespace Name Mixin selector named MESSAGE_TEXTLnet/minecraft/client/gui/screen/ingame/TestBlockScreen;MESSAGE_TEXT:Lnet/minecraft/text/Text;intermediary field_56038Lnet/minecraft/class_10642;field_56038:Lnet/minecraft/class_2561;official cLgla;c:Lxv;
-
pos
- Mappings:
Namespace Name Mixin selector named posLnet/minecraft/client/gui/screen/ingame/TestBlockScreen;pos:Lnet/minecraft/util/math/BlockPos;intermediary field_56039Lnet/minecraft/class_10642;field_56039:Lnet/minecraft/class_2338;official dLgla;d:Ljb;
-
mode
- Mappings:
Namespace Name Mixin selector named modeLnet/minecraft/client/gui/screen/ingame/TestBlockScreen;mode:Lnet/minecraft/block/enums/TestBlockMode;intermediary field_56040Lnet/minecraft/class_10642;field_56040:Lnet/minecraft/class_10641;official eLgla;e:Lehg;
-
message
- Mappings:
Namespace Name Mixin selector named messageLnet/minecraft/client/gui/screen/ingame/TestBlockScreen;message:Ljava/lang/String;intermediary field_56041Lnet/minecraft/class_10642;field_56041:Ljava/lang/String;official fLgla;f:Ljava/lang/String;
-
textField
- Mappings:
Namespace Name Mixin selector named textFieldLnet/minecraft/client/gui/screen/ingame/TestBlockScreen;textField:Lnet/minecraft/client/gui/widget/TextFieldWidget;intermediary field_56042Lnet/minecraft/class_10642;field_56042:Lnet/minecraft/class_342;official tLgla;t:Lfzv;
-
-
Constructor Details
-
TestBlockScreen
- Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/client/gui/screen/ingame/TestBlockScreen;<init>(Lnet/minecraft/block/entity/TestBlockEntity;)Vintermediary <init>Lnet/minecraft/class_10642;<init>(Lnet/minecraft/class_10637;)Vofficial <init>Lgla;<init>(Leel;)V
-
-
Method Details
-
init
public void init()Called when a screen should be initialized.This method is called when this screen is opened or resized.
-
render
- Specified by:
renderin interfaceDrawable- Overrides:
renderin classScreen- Mappings:
Namespace Name Mixin selector named renderLnet/minecraft/client/gui/Drawable;render(Lnet/minecraft/client/gui/DrawContext;IIF)Vintermediary method_25394Lnet/minecraft/class_4068;method_25394(Lnet/minecraft/class_332;IIF)Vofficial aLgaq;a(Lfza;IIF)V
-
shouldPause
public boolean shouldPause()- Overrides:
shouldPausein classScreen- Mappings:
Namespace Name Mixin selector named shouldPauseLnet/minecraft/client/gui/screen/Screen;shouldPause()Zintermediary method_25421Lnet/minecraft/class_437;method_25421()Zofficial aV_Lgic;aV_()Z
-
method_73150
public boolean method_73150()- Overrides:
method_73150in classScreen- Mappings:
Namespace Name Mixin selector named method_73150Lnet/minecraft/client/gui/screen/Screen;method_73150()Zintermediary method_73150Lnet/minecraft/class_437;method_73150()Zofficial uLgic;u()Z
-
onDone
private void onDone()- Mappings:
Namespace Name Mixin selector named onDoneLnet/minecraft/client/gui/screen/ingame/TestBlockScreen;onDone()Vintermediary method_66797Lnet/minecraft/class_10642;method_66797()Vofficial oLgla;o()V
-
close
public void close() -
onCancel
private void onCancel()- Mappings:
Namespace Name Mixin selector named onCancelLnet/minecraft/client/gui/screen/ingame/TestBlockScreen;onCancel()Vintermediary method_66792Lnet/minecraft/class_10642;method_66792()Vofficial pLgla;p()V
-
setMode
- Mappings:
Namespace Name Mixin selector named setModeLnet/minecraft/client/gui/screen/ingame/TestBlockScreen;setMode(Lnet/minecraft/block/enums/TestBlockMode;)Vintermediary method_66793Lnet/minecraft/class_10642;method_66793(Lnet/minecraft/class_10641;)Vofficial aLgla;a(Lehg;)V
-