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 official fciintermediary net/minecraft/class_8134named net/minecraft/client/gui/screen/world/ExperimentsScreen
-
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 final ThreePartsLayoutWidgetprivate static final intprivate final Screenprivate final ResourcePackManagerFields inherited from class net.minecraft.client.gui.screen.Screen
client, executor, height, OPTIONS_BACKGROUND_TEXTURE, textRenderer, title, widthFields inherited from interface net.minecraft.client.gui.Element
MAX_DOUBLE_CLICK_INTERVAL -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedExperimentsScreen(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 voidvoidrenderBackground(DrawContext context, int mouseX, int mouseY, float delta) Renders the background of this screen.Methods inherited from class net.minecraft.client.gui.screen.Screen
addDrawable, addDrawableChild, addElementNarrations, addScreenNarrations, addSelectableChild, applyKeyPressNarratorDelay, applyMouseMoveNarratorDelay, applyMousePressScrollNarratorDelay, applyNarratorModeChangeDelay, children, clearAndInit, clearChildren, filesDragged, findSelectedElementData, getMusic, getNarratedTitle, getNavigationFocus, getTitle, getTooltipFromItem, handleTextClick, hasAltDown, hasControlDown, hasShiftDown, hasUsageText, hide, init, insertText, isCopy, isCut, isMouseOver, isPaste, isSelectAll, isValidCharacterForName, keyPressed, narrateScreenIfNarrationEnabled, onDisplayed, remove, removed, render, renderBackgroundTexture, renderInGameBackground, renderWithTooltip, resize, setInitialFocus, setTooltip, setTooltip, setTooltip, setTooltip, shouldCloseOnEsc, shouldPause, switchFocus, tick, updateNarrator, wrapScreenErrorMethods 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
mouseMovedMethods inherited from interface net.minecraft.client.gui.navigation.Navigable
getNavigationOrderMethods inherited from interface net.minecraft.client.gui.ParentElement
charTyped, focusOn, getFocusedPath, getNavigationPath, hoveredElement, isFocused, keyReleased, mouseClicked, mouseDragged, mouseReleased, mouseScrolled, setFocused
-
Field Details
-
INFO_WIDTH
private static final int INFO_WIDTH- See Also:
- Mappings:
Namespace Name Mixin selector official aLfci;a:Iintermediary field_42503Lnet/minecraft/class_8134;field_42503:Inamed INFO_WIDTHLnet/minecraft/client/gui/screen/world/ExperimentsScreen;INFO_WIDTH:I
-
experimentToggleList
- Mappings:
Namespace Name Mixin selector official bLfci;b:Levk;intermediary field_42504Lnet/minecraft/class_8134;field_42504:Lnet/minecraft/class_8132;named experimentToggleListLnet/minecraft/client/gui/screen/world/ExperimentsScreen;experimentToggleList:Lnet/minecraft/client/gui/widget/ThreePartsLayoutWidget;
-
parent
- Mappings:
Namespace Name Mixin selector official cLfci;c:Lexv;intermediary field_42505Lnet/minecraft/class_8134;field_42505:Lnet/minecraft/class_437;named parentLnet/minecraft/client/gui/screen/world/ExperimentsScreen;parent:Lnet/minecraft/client/gui/screen/Screen;
-
resourcePackManager
- Mappings:
Namespace Name Mixin selector official kLfci;k:Lamv;intermediary field_42506Lnet/minecraft/class_8134;field_42506:Lnet/minecraft/class_3283;named resourcePackManagerLnet/minecraft/client/gui/screen/world/ExperimentsScreen;resourcePackManager:Lnet/minecraft/resource/ResourcePackManager;
-
applier
- Mappings:
Namespace Name Mixin selector official lLfci;l:Ljava/util/function/Consumer;intermediary field_42507Lnet/minecraft/class_8134;field_42507:Ljava/util/function/Consumer;named applierLnet/minecraft/client/gui/screen/world/ExperimentsScreen;applier:Ljava/util/function/Consumer;
-
experiments
- Mappings:
Namespace Name Mixin selector official mLfci;m:Lit/unimi/dsi/fastutil/objects/Object2BooleanMap;intermediary field_42508Lnet/minecraft/class_8134;field_42508:Lit/unimi/dsi/fastutil/objects/Object2BooleanMap;named experimentsLnet/minecraft/client/gui/screen/world/ExperimentsScreen;experiments:Lit/unimi/dsi/fastutil/objects/Object2BooleanMap;
-
-
Constructor Details
-
ExperimentsScreen
protected ExperimentsScreen(Screen parent, ResourcePackManager resourcePackManager, Consumer<ResourcePackManager> applier) - Mappings:
Namespace Name Mixin selector official <init>Lfci;<init>(Lexv;Lamv;Ljava/util/function/Consumer;)Vintermediary <init>Lnet/minecraft/class_8134;<init>(Lnet/minecraft/class_437;Lnet/minecraft/class_3283;Ljava/util/function/Consumer;)Vnamed <init>Lnet/minecraft/client/gui/screen/world/ExperimentsScreen;<init>(Lnet/minecraft/client/gui/screen/Screen;Lnet/minecraft/resource/ResourcePackManager;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(net.minecraft.client.gui.Element)to set the element that is initially focused. -
getDataPackName
- Mappings:
Namespace Name Mixin selector official aLfci;a(Lams;)Lte;intermediary method_49016Lnet/minecraft/class_8134;method_49016(Lnet/minecraft/class_3288;)Lnet/minecraft/class_2561;named getDataPackNameLnet/minecraft/client/gui/screen/world/ExperimentsScreen;getDataPackName(Lnet/minecraft/resource/ResourcePackProfile;)Lnet/minecraft/text/Text;
-
close
public void close() -
applyAndClose
private void applyAndClose()- Mappings:
Namespace Name Mixin selector official lLfci;l()Vintermediary method_49024Lnet/minecraft/class_8134;method_49024()Vnamed applyAndCloseLnet/minecraft/client/gui/screen/world/ExperimentsScreen;applyAndClose()V
-
renderBackground
Renders the background of this screen.If the client is in a world,
. Otherwise renders the background texture.invalid @linkplain
renders the translucent background gradient
- Overrides:
renderBackgroundin classScreen- Mappings:
Namespace Name Mixin selector official bLexv;b(Lerx;IIF)Vintermediary method_25420Lnet/minecraft/class_437;method_25420(Lnet/minecraft/class_332;IIF)Vnamed renderBackgroundLnet/minecraft/client/gui/screen/Screen;renderBackground(Lnet/minecraft/client/gui/DrawContext;IIF)V
-