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 gbv
-
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, FOOTER_SEPARATOR_TEXTURE, HEADER_SEPARATOR_TEXTURE, height, INWORLD_FOOTER_SEPARATOR_TEXTURE, INWORLD_HEADER_SEPARATOR_TEXTURE, MENU_BACKGROUND_TEXTURE, narratorToggleButton, PANORAMA_RENDERER, ROTATING_PANORAMA_RENDERER, textRenderer, title, widthFields inherited from interface net.minecraft.client.gui.Element
MAX_DOUBLE_CLICK_INTERVAL -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()voidinit()Called when a screen should be initialized.private voidonCancel()private voidonDone()voidrender(DrawContext context, int mouseX, int mouseY, float deltaTicks) voidrenderBackground(DrawContext context, int mouseX, int mouseY, float deltaTicks) Renders the background of this screen.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, clearTooltip, findSelectedElementData, getMusic, getNarratedTitle, getNavigationFocus, getTextRenderer, getTitle, getTooltipFromItem, getUsageNarrationText, handleTextClick, hasAltDown, hasControlDown, hasShiftDown, hasUsageText, init, insertText, isCopy, isCut, isMouseOver, isPaste, isSelectAll, isValidCharacterForName, keyPressed, narrateScreenIfNarrationEnabled, onDisplayed, onFilesDropped, refreshNarrator, refreshWidgetPositions, remove, removed, renderBackgroundTexture, renderDarkening, renderDarkening, renderInGameBackground, renderPanoramaBackground, renderWithTooltip, resize, setInitialFocus, setInitialFocus, setTooltip, setTooltip, setTooltip, setTooltip, shouldCloseOnEsc, shouldHideStatusEffectHud, 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, 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 aLgbv;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 bLgbv;b:Lxg;
-
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 cLgbv;c:Lxg;
-
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 dLgbv;d:Liw;
-
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 sLgbv;s:Ledb;
-
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 uLgbv;u: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 vLgbv;v:Lfuh;
-
-
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>Lgbv;<init>(Leai;)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 aLfvb;a(Lftk;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 kLfzq;k()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 mLgbv;m()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 ELgbv;E()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 aLgbv;a(Ledb;)V
-
renderBackground
Renders the background of this screen.If the client is in a world, renders the translucent background gradient. Otherwise renders the background texture.
- Overrides:
renderBackgroundin classScreen- Mappings:
Namespace Name Mixin selector named renderBackgroundLnet/minecraft/client/gui/screen/Screen;renderBackground(Lnet/minecraft/client/gui/DrawContext;IIF)Vintermediary method_25420Lnet/minecraft/class_437;method_25420(Lnet/minecraft/class_332;IIF)Vofficial bLfzq;b(Lftk;IIF)V
-