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/TestBlockScreen
intermediary net/minecraft/class_10642
official gbv
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.client.gui.screen.Screen
Screen.SelectedElementNarrationData
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate String
private static final Text
private TestBlockMode
private static final List
<TestBlockMode> private final BlockPos
private @Nullable TextFieldWidget
private static final Text
Fields 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, width
Fields inherited from interface net.minecraft.client.gui.Element
MAX_DOUBLE_CLICK_INTERVAL
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
void
init()
Called when a screen should be initialized.private void
onCancel()
private void
onDone()
void
render
(DrawContext context, int mouseX, int mouseY, float deltaTicks) void
renderBackground
(DrawContext context, int mouseX, int mouseY, float deltaTicks) Renders the background of this screen.private void
setMode
(TestBlockMode mode) boolean
Methods 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, updateNarrator
Methods inherited from class net.minecraft.client.gui.AbstractParentElement
getFocused, isDragging, setDragging, setFocused
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.client.gui.Element
getBorder, mouseMoved
Methods inherited from interface net.minecraft.client.gui.navigation.Navigable
getNavigationOrder
Methods 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 MODES
Lnet/minecraft/client/gui/screen/ingame/TestBlockScreen;MODES:Ljava/util/List;
intermediary field_56036
Lnet/minecraft/class_10642;field_56036:Ljava/util/List;
official a
Lgbv;a:Ljava/util/List;
-
TITLE_TEXT
- Mappings:
Namespace Name Mixin selector named TITLE_TEXT
Lnet/minecraft/client/gui/screen/ingame/TestBlockScreen;TITLE_TEXT:Lnet/minecraft/text/Text;
intermediary field_56037
Lnet/minecraft/class_10642;field_56037:Lnet/minecraft/class_2561;
official b
Lgbv;b:Lxg;
-
MESSAGE_TEXT
- Mappings:
Namespace Name Mixin selector named MESSAGE_TEXT
Lnet/minecraft/client/gui/screen/ingame/TestBlockScreen;MESSAGE_TEXT:Lnet/minecraft/text/Text;
intermediary field_56038
Lnet/minecraft/class_10642;field_56038:Lnet/minecraft/class_2561;
official c
Lgbv;c:Lxg;
-
pos
- Mappings:
Namespace Name Mixin selector named pos
Lnet/minecraft/client/gui/screen/ingame/TestBlockScreen;pos:Lnet/minecraft/util/math/BlockPos;
intermediary field_56039
Lnet/minecraft/class_10642;field_56039:Lnet/minecraft/class_2338;
official d
Lgbv;d:Liw;
-
mode
- Mappings:
Namespace Name Mixin selector named mode
Lnet/minecraft/client/gui/screen/ingame/TestBlockScreen;mode:Lnet/minecraft/block/enums/TestBlockMode;
intermediary field_56040
Lnet/minecraft/class_10642;field_56040:Lnet/minecraft/class_10641;
official s
Lgbv;s:Ledb;
-
message
- Mappings:
Namespace Name Mixin selector named message
Lnet/minecraft/client/gui/screen/ingame/TestBlockScreen;message:Ljava/lang/String;
intermediary field_56041
Lnet/minecraft/class_10642;field_56041:Ljava/lang/String;
official u
Lgbv;u:Ljava/lang/String;
-
textField
- Mappings:
Namespace Name Mixin selector named textField
Lnet/minecraft/client/gui/screen/ingame/TestBlockScreen;textField:Lnet/minecraft/client/gui/widget/TextFieldWidget;
intermediary field_56042
Lnet/minecraft/class_10642;field_56042:Lnet/minecraft/class_342;
official v
Lgbv;v:Lfuh;
-
-
Constructor Details
-
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:
render
in interfaceDrawable
- Overrides:
render
in classScreen
- Mappings:
Namespace Name Mixin selector named render
Lnet/minecraft/client/gui/Drawable;render(Lnet/minecraft/client/gui/DrawContext;IIF)V
intermediary method_25394
Lnet/minecraft/class_4068;method_25394(Lnet/minecraft/class_332;IIF)V
official a
Lfvb;a(Lftk;IIF)V
-
shouldPause
public boolean shouldPause()- Overrides:
shouldPause
in classScreen
- Mappings:
Namespace Name Mixin selector named shouldPause
Lnet/minecraft/client/gui/screen/Screen;shouldPause()Z
intermediary method_25421
Lnet/minecraft/class_437;method_25421()Z
official k
Lfzq;k()Z
-
onDone
private void onDone()- Mappings:
Namespace Name Mixin selector named onDone
Lnet/minecraft/client/gui/screen/ingame/TestBlockScreen;onDone()V
intermediary method_66797
Lnet/minecraft/class_10642;method_66797()V
official m
Lgbv;m()V
-
close
public void close() -
onCancel
private void onCancel()- Mappings:
Namespace Name Mixin selector named onCancel
Lnet/minecraft/client/gui/screen/ingame/TestBlockScreen;onCancel()V
intermediary method_66792
Lnet/minecraft/class_10642;method_66792()V
official E
Lgbv;E()V
-
setMode
- Mappings:
Namespace Name Mixin selector named setMode
Lnet/minecraft/client/gui/screen/ingame/TestBlockScreen;setMode(Lnet/minecraft/block/enums/TestBlockMode;)V
intermediary method_66793
Lnet/minecraft/class_10642;method_66793(Lnet/minecraft/class_10641;)V
official a
Lgbv;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:
renderBackground
in classScreen
- Mappings:
Namespace Name Mixin selector named renderBackground
Lnet/minecraft/client/gui/screen/Screen;renderBackground(Lnet/minecraft/client/gui/DrawContext;IIF)V
intermediary method_25420
Lnet/minecraft/class_437;method_25420(Lnet/minecraft/class_332;IIF)V
official b
Lfzq;b(Lftk;IIF)V
-