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/ExperimentsScreenintermediary net/minecraft/class_8134official gvl
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.client.gui.screen.Screen
Screen.SelectedElementNarrationData -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Consumer<ResourcePackManager> private final Object2BooleanMap<ResourcePackProfile> private static final intprivate static final intprivate @Nullable ScrollableLayoutWidgetprivate final ThreePartsLayoutWidgetprivate static final Textprivate final Screenprivate final ResourcePackManagerprivate 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
ConstructorsConstructorDescriptionExperimentsScreen(Screen parent, ResourcePackManager resourcePackManager, Consumer<ResourcePackManager> applier) -
Method Summary
Modifier and TypeMethodDescriptionprivate voidvoidclose()private static TextgetDataPackName(ResourcePackProfile packProfile) protected voidinit()Called when a screen should be initialized.protected voidMethods 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, deferSubtitles, findSelectedElementData, getMusic, getNavigationFocus, getTextRenderer, getTitle, getTooltipFromItem, getUsageNarrationText, handleBasicClickEvent, handleClickEvent, handleOpenUri, handleRunCommand, hasUsageText, init, insertText, isMouseOver, isValidCharacterForName, keepOpenThroughPortal, keyPressed, narrateScreenIfNarrationEnabled, onDisplayed, onFilesDropped, refreshNarrator, remove, removed, render, renderBackground, renderBackgroundTexture, renderDarkening, renderDarkening, renderInGameBackground, renderPanoramaBackground, renderWithTooltip, resize, setInitialFocus, setInitialFocus, setWidgetAlpha, shouldCloseOnEsc, shouldPause, 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
-
TITLE
- Mappings:
Namespace Name Mixin selector named TITLELnet/minecraft/client/gui/screen/world/ExperimentsScreen;TITLE:Lnet/minecraft/text/Text;intermediary field_49562Lnet/minecraft/class_8134;field_49562:Lnet/minecraft/class_2561;official aLgvl;a:Lym;
-
INFO_TEXT
- Mappings:
Namespace Name Mixin selector named INFO_TEXTLnet/minecraft/client/gui/screen/world/ExperimentsScreen;INFO_TEXT:Lnet/minecraft/text/Text;intermediary field_50043Lnet/minecraft/class_8134;field_50043:Lnet/minecraft/class_2561;official bLgvl;b:Lym;
-
EXPERIMENTS_LIST_WIDTH
private static final int EXPERIMENTS_LIST_WIDTH- See Also:
- Mappings:
Namespace Name Mixin selector named EXPERIMENTS_LIST_WIDTHLnet/minecraft/client/gui/screen/world/ExperimentsScreen;EXPERIMENTS_LIST_WIDTH:Iintermediary field_42503Lnet/minecraft/class_8134;field_42503:Iofficial cLgvl;c:I
-
EXPERIMENTS_LIST_HEIGHT
private static final int EXPERIMENTS_LIST_HEIGHT- See Also:
- Mappings:
Namespace Name Mixin selector named EXPERIMENTS_LIST_HEIGHTLnet/minecraft/client/gui/screen/world/ExperimentsScreen;EXPERIMENTS_LIST_HEIGHT:Iintermediary field_55262Lnet/minecraft/class_8134;field_55262:Iofficial dLgvl;d:I
-
experimentToggleList
- Mappings:
Namespace Name Mixin selector named experimentToggleListLnet/minecraft/client/gui/screen/world/ExperimentsScreen;experimentToggleList:Lnet/minecraft/client/gui/widget/ThreePartsLayoutWidget;intermediary field_42504Lnet/minecraft/class_8134;field_42504:Lnet/minecraft/class_8132;official eLgvl;e:Lgmg;
-
parent
- Mappings:
Namespace Name Mixin selector named parentLnet/minecraft/client/gui/screen/world/ExperimentsScreen;parent:Lnet/minecraft/client/gui/screen/Screen;intermediary field_42505Lnet/minecraft/class_8134;field_42505:Lnet/minecraft/class_437;official fLgvl;f:Lgpn;
-
resourcePackManager
- Mappings:
Namespace Name Mixin selector named resourcePackManagerLnet/minecraft/client/gui/screen/world/ExperimentsScreen;resourcePackManager:Lnet/minecraft/resource/ResourcePackManager;intermediary field_42506Lnet/minecraft/class_8134;field_42506:Lnet/minecraft/class_3283;official tLgvl;t:Lbap;
-
applier
- Mappings:
Namespace Name Mixin selector named applierLnet/minecraft/client/gui/screen/world/ExperimentsScreen;applier:Ljava/util/function/Consumer;intermediary field_42507Lnet/minecraft/class_8134;field_42507:Ljava/util/function/Consumer;official uLgvl;u:Ljava/util/function/Consumer;
-
experiments
- Mappings:
Namespace Name Mixin selector named experimentsLnet/minecraft/client/gui/screen/world/ExperimentsScreen;experiments:Lit/unimi/dsi/fastutil/objects/Object2BooleanMap;intermediary field_42508Lnet/minecraft/class_8134;field_42508:Lit/unimi/dsi/fastutil/objects/Object2BooleanMap;official vLgvl;v:Lit/unimi/dsi/fastutil/objects/Object2BooleanMap;
-
experimentsList
- Mappings:
Namespace Name Mixin selector named experimentsListLnet/minecraft/client/gui/screen/world/ExperimentsScreen;experimentsList:Lnet/minecraft/client/gui/widget/ScrollableLayoutWidget;intermediary field_55263Lnet/minecraft/class_8134;field_55263:Lnet/minecraft/class_11467;official wLgvl;w:Lghw;
-
-
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;)Vintermediary <init>Lnet/minecraft/class_8134;<init>(Lnet/minecraft/class_437;Lnet/minecraft/class_3283;Ljava/util/function/Consumer;)Vofficial <init>Lgvl;<init>(Lgpn;Lbap;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.
-
getDataPackName
- Mappings:
Namespace Name Mixin selector named getDataPackNameLnet/minecraft/client/gui/screen/world/ExperimentsScreen;getDataPackName(Lnet/minecraft/resource/ResourcePackProfile;)Lnet/minecraft/text/Text;intermediary method_49016Lnet/minecraft/class_8134;method_49016(Lnet/minecraft/class_3288;)Lnet/minecraft/class_2561;official aLgvl;a(Lbam;)Lym;
-
refreshWidgetPositions
protected void refreshWidgetPositions()- Overrides:
refreshWidgetPositionsin classScreen- Mappings:
Namespace Name Mixin selector named refreshWidgetPositionsLnet/minecraft/client/gui/screen/Screen;refreshWidgetPositions()Vintermediary method_48640Lnet/minecraft/class_437;method_48640()Vofficial cLgpn;c()V
-
getNarratedTitle
- Overrides:
getNarratedTitlein classScreen- Mappings:
Namespace Name Mixin selector named getNarratedTitleLnet/minecraft/client/gui/screen/Screen;getNarratedTitle()Lnet/minecraft/text/Text;intermediary method_25435Lnet/minecraft/class_437;method_25435()Lnet/minecraft/class_2561;official iLgpn;i()Lym;
-
close
public void close() -
applyAndClose
private void applyAndClose()- Mappings:
Namespace Name Mixin selector named applyAndCloseLnet/minecraft/client/gui/screen/world/ExperimentsScreen;applyAndClose()Vintermediary method_49024Lnet/minecraft/class_8134;method_49024()Vofficial oLgvl;o()V
-