Class ExperimentsScreen
java.lang.Object
net.minecraft.client.gui.AbstractParentElement
net.minecraft.client.gui.screen.Screen
net.minecraft.client.gui.screen.world.ExperimentsScreen
- All Implemented Interfaces:
Drawable
,Element
,Navigable
,ParentElement
- Mappings:
Namespace Name named net/minecraft/client/gui/screen/world/ExperimentsScreen
intermediary net/minecraft/class_8134
official ftf
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.client.gui.screen.Screen
Screen.SelectedElementNarrationData
-
Field Summary
Modifier and TypeFieldDescriptionprivate final Consumer
<ResourcePackManager> private final Object2BooleanMap
<ResourcePackProfile> private final ThreePartsLayoutWidget
private static final Text
private static final int
private final Screen
private final ResourcePackManager
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
ConstructorDescriptionExperimentsScreen
(Screen parent, ResourcePackManager resourcePackManager, Consumer<ResourcePackManager> applier) -
Method Summary
Modifier and TypeMethodDescriptionprivate void
void
close()
private static Text
getDataPackName
(ResourcePackProfile packProfile) protected void
init()
Called when a screen should be initialized.protected void
Methods inherited from class net.minecraft.client.gui.screen.Screen
addDrawable, addDrawableChild, addElementNarrations, addScreenNarrations, addSelectableChild, applyBlur, applyKeyPressNarratorDelay, applyMouseMoveNarratorDelay, applyMousePressScrollNarratorDelay, blur, children, clearAndInit, clearChildren, clearTooltip, filesDragged, findSelectedElementData, getMusic, getNavigationFocus, getTitle, getTooltipFromItem, getUsageNarrationText, handleTextClick, hasAltDown, hasControlDown, hasShiftDown, hasUsageText, init, insertText, isCopy, isCut, isMouseOver, isPaste, isSelectAll, isValidCharacterForName, keyPressed, narrateScreenIfNarrationEnabled, onDisplayed, refreshNarrator, remove, removed, render, renderBackground, renderBackgroundTexture, renderDarkening, renderDarkening, renderInGameBackground, renderPanoramaBackground, renderWithTooltip, resize, setInitialFocus, setInitialFocus, setTooltip, setTooltip, setTooltip, setTooltip, shouldCloseOnEsc, shouldPause, switchFocus, tick, updateNarrator, wrapScreenError
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
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
-
TITLE
- Mappings:
Namespace Name Mixin selector named TITLE
Lnet/minecraft/client/gui/screen/world/ExperimentsScreen;TITLE:Lnet/minecraft/text/Text;
intermediary field_49562
Lnet/minecraft/class_8134;field_49562:Lnet/minecraft/class_2561;
official a
Lftf;a:Lwz;
-
INFO_TEXT
- Mappings:
Namespace Name Mixin selector named INFO_TEXT
Lnet/minecraft/client/gui/screen/world/ExperimentsScreen;INFO_TEXT:Lnet/minecraft/text/Text;
intermediary field_50043
Lnet/minecraft/class_8134;field_50043:Lnet/minecraft/class_2561;
official b
Lftf;b:Lwz;
-
INFO_WIDTH
private static final int INFO_WIDTH- See Also:
- Mappings:
Namespace Name Mixin selector named INFO_WIDTH
Lnet/minecraft/client/gui/screen/world/ExperimentsScreen;INFO_WIDTH:I
intermediary field_42503
Lnet/minecraft/class_8134;field_42503:I
official c
Lftf;c:I
-
experimentToggleList
- Mappings:
Namespace Name Mixin selector named experimentToggleList
Lnet/minecraft/client/gui/screen/world/ExperimentsScreen;experimentToggleList:Lnet/minecraft/client/gui/widget/ThreePartsLayoutWidget;
intermediary field_42504
Lnet/minecraft/class_8134;field_42504:Lnet/minecraft/class_8132;
official r
Lftf;r:Lflz;
-
parent
- Mappings:
Namespace Name Mixin selector named parent
Lnet/minecraft/client/gui/screen/world/ExperimentsScreen;parent:Lnet/minecraft/client/gui/screen/Screen;
intermediary field_42505
Lnet/minecraft/class_8134;field_42505:Lnet/minecraft/class_437;
official s
Lftf;s:Lfod;
-
resourcePackManager
- Mappings:
Namespace Name Mixin selector named resourcePackManager
Lnet/minecraft/client/gui/screen/world/ExperimentsScreen;resourcePackManager:Lnet/minecraft/resource/ResourcePackManager;
intermediary field_42506
Lnet/minecraft/class_8134;field_42506:Lnet/minecraft/class_3283;
official u
Lftf;u:Latp;
-
applier
- Mappings:
Namespace Name Mixin selector named applier
Lnet/minecraft/client/gui/screen/world/ExperimentsScreen;applier:Ljava/util/function/Consumer;
intermediary field_42507
Lnet/minecraft/class_8134;field_42507:Ljava/util/function/Consumer;
official v
Lftf;v:Ljava/util/function/Consumer;
-
experiments
- Mappings:
Namespace Name Mixin selector named experiments
Lnet/minecraft/client/gui/screen/world/ExperimentsScreen;experiments:Lit/unimi/dsi/fastutil/objects/Object2BooleanMap;
intermediary field_42508
Lnet/minecraft/class_8134;field_42508:Lit/unimi/dsi/fastutil/objects/Object2BooleanMap;
official w
Lftf;w:Lit/unimi/dsi/fastutil/objects/Object2BooleanMap;
-
-
Constructor Details
-
ExperimentsScreen
public ExperimentsScreen(Screen parent, ResourcePackManager resourcePackManager, Consumer<ResourcePackManager> applier) - Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/client/gui/screen/world/ExperimentsScreen;<init>(Lnet/minecraft/client/gui/screen/Screen;Lnet/minecraft/resource/ResourcePackManager;Ljava/util/function/Consumer;)V
intermediary <init>
Lnet/minecraft/class_8134;<init>(Lnet/minecraft/class_437;Lnet/minecraft/class_3283;Ljava/util/function/Consumer;)V
official <init>
Lftf;<init>(Lfod;Latp;Ljava/util/function/Consumer;)V
-
-
Method Details
-
init
protected void init()Called when a screen should be initialized.This method is called when this screen is opened or resized.
This should call
Screen.setInitialFocus()
to set the element that is initially focused. -
getDataPackName
- Mappings:
Namespace Name Mixin selector named getDataPackName
Lnet/minecraft/client/gui/screen/world/ExperimentsScreen;getDataPackName(Lnet/minecraft/resource/ResourcePackProfile;)Lnet/minecraft/text/Text;
intermediary method_49016
Lnet/minecraft/class_8134;method_49016(Lnet/minecraft/class_3288;)Lnet/minecraft/class_2561;
official a
Lftf;a(Latm;)Lwz;
-
getNarratedTitle
- Overrides:
getNarratedTitle
in classScreen
- Mappings:
Namespace Name Mixin selector named getNarratedTitle
Lnet/minecraft/client/gui/screen/Screen;getNarratedTitle()Lnet/minecraft/text/Text;
intermediary method_25435
Lnet/minecraft/class_437;method_25435()Lnet/minecraft/class_2561;
official i
Lfod;i()Lwz;
-
close
public void close() -
applyAndClose
private void applyAndClose()- Mappings:
Namespace Name Mixin selector named applyAndClose
Lnet/minecraft/client/gui/screen/world/ExperimentsScreen;applyAndClose()V
intermediary method_49024
Lnet/minecraft/class_8134;method_49024()V
official m
Lftf;m()V
-