Class ExperimentalWarningScreen
java.lang.Object
net.minecraft.client.gui.AbstractParentElement
net.minecraft.client.gui.screen.Screen
net.minecraft.client.gui.screen.pack.ExperimentalWarningScreen
- All Implemented Interfaces:
Drawable,Element,Navigable,ParentElement
- Mappings:
Namespace Name official eyointermediary net/minecraft/class_7745named net/minecraft/client/gui/screen/pack/ExperimentalWarningScreen
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class net.minecraft.client.gui.screen.Screen
Screen.SelectedElementNarrationData -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final BooleanConsumerprivate static final Text(package private) final Collection<ResourcePackProfile>private static final intprivate static final intprivate final GridWidgetprivate static final Textprivate static final TextFields inherited from class net.minecraft.client.gui.screen.Screen
client, height, OPTIONS_BACKGROUND_TEXTURE, textRenderer, title, widthFields inherited from interface net.minecraft.client.gui.Element
MAX_DOUBLE_CLICK_INTERVAL -
Constructor Summary
ConstructorsConstructorDescriptionExperimentalWarningScreen(Collection<ResourcePackProfile> enabledProfiles, BooleanConsumer callback) -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()protected voidinit()Called when a screen should be initialized.protected voidvoidrender(DrawContext context, 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, getMusic, getNavigationFocus, getTitle, getTooltipFromItem, handleTextClick, hasAltDown, hasControlDown, hasShiftDown, hasUsageText, hide, init, insertText, isCopy, isCut, isMouseOver, isPaste, isSelectAll, isValidCharacterForName, keyPressed, narrateScreenIfNarrationEnabled, onDisplayed, remove, removed, renderBackground, renderBackgroundTexture, 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
-
TITLE
- Mappings:
Namespace Name Mixin selector official aLeyo;a:Lsw;intermediary field_40443Lnet/minecraft/class_7745;field_40443:Lnet/minecraft/class_2561;named TITLELnet/minecraft/client/gui/screen/pack/ExperimentalWarningScreen;TITLE:Lnet/minecraft/text/Text;
-
MESSAGE
- Mappings:
Namespace Name Mixin selector official bLeyo;b:Lsw;intermediary field_40444Lnet/minecraft/class_7745;field_40444:Lnet/minecraft/class_2561;named MESSAGELnet/minecraft/client/gui/screen/pack/ExperimentalWarningScreen;MESSAGE:Lnet/minecraft/text/Text;
-
DETAILS
- Mappings:
Namespace Name Mixin selector official cLeyo;c:Lsw;intermediary field_40445Lnet/minecraft/class_7745;field_40445:Lnet/minecraft/class_2561;named DETAILSLnet/minecraft/client/gui/screen/pack/ExperimentalWarningScreen;DETAILS:Lnet/minecraft/text/Text;
-
field_42498
private static final int field_42498- See Also:
- Mappings:
Namespace Name Mixin selector official jLeyo;j:Iintermediary field_42498Lnet/minecraft/class_7745;field_42498:Inamed field_42498Lnet/minecraft/client/gui/screen/pack/ExperimentalWarningScreen;field_42498:I
-
field_42499
private static final int field_42499- See Also:
- Mappings:
Namespace Name Mixin selector official kLeyo;k:Iintermediary field_42499Lnet/minecraft/class_7745;field_42499:Inamed field_42499Lnet/minecraft/client/gui/screen/pack/ExperimentalWarningScreen;field_42499:I
-
callback
- Mappings:
Namespace Name Mixin selector official lLeyo;l:Lit/unimi/dsi/fastutil/booleans/BooleanConsumer;intermediary field_40447Lnet/minecraft/class_7745;field_40447:Lit/unimi/dsi/fastutil/booleans/BooleanConsumer;named callbackLnet/minecraft/client/gui/screen/pack/ExperimentalWarningScreen;callback:Lit/unimi/dsi/fastutil/booleans/BooleanConsumer;
-
enabledProfiles
- Mappings:
Namespace Name Mixin selector official mLeyo;m:Ljava/util/Collection;intermediary field_40448Lnet/minecraft/class_7745;field_40448:Ljava/util/Collection;named enabledProfilesLnet/minecraft/client/gui/screen/pack/ExperimentalWarningScreen;enabledProfiles:Ljava/util/Collection;
-
grid
- Mappings:
Namespace Name Mixin selector official nLeyo;n:Lerw;intermediary field_42500Lnet/minecraft/class_7745;field_42500:Lnet/minecraft/class_7845;named gridLnet/minecraft/client/gui/screen/pack/ExperimentalWarningScreen;grid:Lnet/minecraft/client/gui/widget/GridWidget;
-
-
Constructor Details
-
ExperimentalWarningScreen
public ExperimentalWarningScreen(Collection<ResourcePackProfile> enabledProfiles, BooleanConsumer callback) - Mappings:
Namespace Name Mixin selector official <init>Leyo;<init>(Ljava/util/Collection;Lit/unimi/dsi/fastutil/booleans/BooleanConsumer;)Vintermediary <init>Lnet/minecraft/class_7745;<init>(Ljava/util/Collection;Lit/unimi/dsi/fastutil/booleans/BooleanConsumer;)Vnamed <init>Lnet/minecraft/client/gui/screen/pack/ExperimentalWarningScreen;<init>(Ljava/util/Collection;Lit/unimi/dsi/fastutil/booleans/BooleanConsumer;)V
-
-
Method Details
-
getNarratedTitle
- Overrides:
getNarratedTitlein classScreen- Mappings:
Namespace Name Mixin selector official au_Leug;au_()Lsw;intermediary method_25435Lnet/minecraft/class_437;method_25435()Lnet/minecraft/class_2561;named getNarratedTitleLnet/minecraft/client/gui/screen/Screen;getNarratedTitle()Lnet/minecraft/text/Text;
-
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. -
render
- Specified by:
renderin interfaceDrawable- Overrides:
renderin classScreen- Mappings:
Namespace Name Mixin selector official aLepy;a(Leop;IIF)Vintermediary method_25394Lnet/minecraft/class_4068;method_25394(Lnet/minecraft/class_332;IIF)Vnamed renderLnet/minecraft/client/gui/Drawable;render(Lnet/minecraft/client/gui/DrawContext;IIF)V
-
close
public void close()
-