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 gpi
-
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()booleanvoidinit()Called when a screen should be initialized.private 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, allowRotatingPanorama, applyBlur, applyKeyPressNarratorDelay, applyMouseMoveNarratorDelay, applyMousePressScrollNarratorDelay, blur, canInterruptOtherScreen, children, clearAndInit, clearChildren, findSelectedElementData, getMusic, getNarratedTitle, getNavigationFocus, getTextRenderer, getTitle, getTooltipFromItem, getUsageNarrationText, handleBasicClickEvent, handleClickEvent, handleClickEvent, handleOpenUri, handleRunCommand, handleTextClick, hasUsageText, init, insertText, isMouseOver, isValidCharacterForName, keepOpenThroughPortal, keyPressed, 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, isClickable, 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 aLgpi;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 bLgpi;b:Lxx;
-
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 cLgpi;c:Lxx;
-
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 dLgpi;d:Lja;
-
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 eLgpi;e:Lekz;
-
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 fLgpi;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 tLgpi;t:Lgdz;
-
-
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>Lgpi;<init>(Leie;)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 aLgeu;a(Lgde;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 ba_Lgmk;ba_()Z
-
deferSubtitles
public boolean deferSubtitles()- Overrides:
deferSubtitlesin classScreen- Mappings:
Namespace Name Mixin selector named deferSubtitlesLnet/minecraft/client/gui/screen/Screen;deferSubtitles()Zintermediary method_73150Lnet/minecraft/class_437;method_73150()Zofficial vLgmk;v()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 oLgpi;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 pLgpi;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 aLgpi;a(Lekz;)V
-