Class ExperimentsScreen
java.lang.Object
net.minecraft.client.gui.DrawableHelper
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 exq
intermediary net/minecraft/class_8134
named 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
Modifier and TypeFieldDescriptionprivate final Consumer<ResourcePackManager>
private final Object2BooleanMap<ResourcePackProfile>
private final ThreePartsLayoutWidget
private static final int
private final Screen
private final ResourcePackManager
Fields inherited from class net.minecraft.client.gui.screen.Screen
client, height, itemRenderer, passEvents, textRenderer, title, width
Fields inherited from class net.minecraft.client.gui.DrawableHelper
GUI_ICONS_TEXTURE, LIGHT_DIRT_BACKGROUND_TEXTURE, OPTIONS_BACKGROUND_TEXTURE, STATS_ICON_TEXTURE
Fields inherited from interface net.minecraft.client.gui.Element
MAX_DOUBLE_CLICK_INTERVAL
-
Constructor Summary
ModifierConstructorDescriptionprotected
ExperimentsScreen
(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
void
render
(MatrixStack matrices, int mouseX, int mouseY, float delta) Methods inherited from class net.minecraft.client.gui.screen.Screen
addDrawable, addDrawableChild, addElementNarrations, addScreenNarrations, addSelectableChild, applyKeyPressNarratorDelay, applyMouseMoveNarratorDelay, applyMousePressScrollNarratorDelay, applyNarratorModeChangeDelay, children, clearAndInit, clearChildren, filesDragged, findSelectedElementData, getNarratedTitle, getNavigationFocus, getTitle, getTooltipFromItem, handleTextClick, hasAltDown, hasControlDown, hasShiftDown, hasUsageText, hide, init, insertText, isCopy, isCut, isMouseOver, isPaste, isSelectAll, isValidCharacterForName, keyPressed, narrateScreenIfNarrationEnabled, onDisplayed, remove, removed, renderBackground, renderBackgroundTexture, renderOrderedTooltip, renderTextHoverEffect, renderTooltip, renderTooltip, renderTooltip, renderTooltip, renderWithTooltip, resize, 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 net.minecraft.client.gui.DrawableHelper
disableScissor, drawBorder, drawCenteredTextWithShadow, drawCenteredTextWithShadow, drawCenteredTextWithShadow, drawHorizontalLine, drawNineSlicedTexture, drawNineSlicedTexture, drawNineSlicedTexture, drawRepeatingTexture, drawSprite, drawSprite, drawTexture, drawTexture, drawTexture, drawTexture, drawTextWithShadow, drawTextWithShadow, drawTextWithShadow, drawVerticalLine, drawWithOutline, enableScissor, fill, fill, fillGradient, fillGradient, fillGradient
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, 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 a
Lexq;a:I
intermediary field_42503
Lnet/minecraft/class_8134;field_42503:I
named INFO_WIDTH
Lnet/minecraft/client/gui/screen/world/ExperimentsScreen;INFO_WIDTH:I
-
experimentToggleList
- Mappings:
Namespace Name Mixin selector official b
Lexq;b:Leqv;
intermediary field_42504
Lnet/minecraft/class_8134;field_42504:Lnet/minecraft/class_8132;
named experimentToggleList
Lnet/minecraft/client/gui/screen/world/ExperimentsScreen;experimentToggleList:Lnet/minecraft/client/gui/widget/ThreePartsLayoutWidget;
-
parent
- Mappings:
Namespace Name Mixin selector official c
Lexq;c:Letd;
intermediary field_42505
Lnet/minecraft/class_8134;field_42505:Lnet/minecraft/class_437;
named parent
Lnet/minecraft/client/gui/screen/world/ExperimentsScreen;parent:Lnet/minecraft/client/gui/screen/Screen;
-
resourcePackManager
- Mappings:
Namespace Name Mixin selector official o
Lexq;o:Laks;
intermediary field_42506
Lnet/minecraft/class_8134;field_42506:Lnet/minecraft/class_3283;
named resourcePackManager
Lnet/minecraft/client/gui/screen/world/ExperimentsScreen;resourcePackManager:Lnet/minecraft/resource/ResourcePackManager;
-
applier
- Mappings:
Namespace Name Mixin selector official p
Lexq;p:Ljava/util/function/Consumer;
intermediary field_42507
Lnet/minecraft/class_8134;field_42507:Ljava/util/function/Consumer;
named applier
Lnet/minecraft/client/gui/screen/world/ExperimentsScreen;applier:Ljava/util/function/Consumer;
-
experiments
- Mappings:
Namespace Name Mixin selector official q
Lexq;q:Lit/unimi/dsi/fastutil/objects/Object2BooleanMap;
intermediary field_42508
Lnet/minecraft/class_8134;field_42508:Lit/unimi/dsi/fastutil/objects/Object2BooleanMap;
named experiments
Lnet/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>
Lexq;<init>(Letd;Laks;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
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
-
-
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 a
Lexq;a(Lakq;)Ltj;
intermediary method_49016
Lnet/minecraft/class_8134;method_49016(Lnet/minecraft/class_3288;)Lnet/minecraft/class_2561;
named getDataPackName
Lnet/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 m
Lexq;m()V
intermediary method_49024
Lnet/minecraft/class_8134;method_49024()V
named applyAndClose
Lnet/minecraft/client/gui/screen/world/ExperimentsScreen;applyAndClose()V
-
render
- Specified by:
render
in interfaceDrawable
- Overrides:
render
in classScreen
- Mappings:
Namespace Name Mixin selector official a
Lepa;a(Lehe;IIF)V
intermediary method_25394
Lnet/minecraft/class_4068;method_25394(Lnet/minecraft/class_4587;IIF)V
named render
Lnet/minecraft/client/gui/Drawable;render(Lnet/minecraft/client/util/math/MatrixStack;IIF)V
-