Class ExperimentalWarningScreen
java.lang.Object
net.minecraft.client.gui.DrawableHelper
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 ewcintermediary 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, itemRenderer, passEvents, textRenderer, title, widthFields inherited from class net.minecraft.client.gui.DrawableHelper
GUI_ICONS_TEXTURE, OPTIONS_BACKGROUND_TEXTURE, STATS_ICON_TEXTUREFields 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(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, getNavigationFocus, getTitle, getTooltipFromItem, handleTextClick, hasAltDown, hasControlDown, hasShiftDown, hasUsageText, hide, init, insertText, isCopy, isCut, isMouseOver, isPaste, isSelectAll, isValidCharacterForName, keyPressed, narrateScreenIfNarrationEnabled, remove, removed, renderBackground, renderBackgroundTexture, renderOrderedTooltip, renderTextHoverEffect, renderTooltip, renderTooltip, renderTooltip, renderTooltip, 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 net.minecraft.client.gui.DrawableHelper
disableScissor, drawCenteredTextWithShadow, drawCenteredTextWithShadow, drawCenteredTextWithShadow, drawHorizontalLine, drawNineSlicedTexture, drawNineSlicedTexture, drawRepeatingTexture, drawSprite, drawSprite, drawTexture, drawTexture, drawTexture, drawTexture, drawTextWithShadow, drawTextWithShadow, drawTextWithShadow, drawVerticalLine, drawWithOutline, enableScissor, fill, fill, fillGradient, fillGradient, fillGradient, getZOffset, setZOffsetMethods 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 aLewc;a:Ltd;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 bLewc;b:Ltd;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 cLewc;c:Ltd;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 nLewc;n: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 oLewc;o: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 pLewc;p: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 qLewc;q: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;
-
field_42500
- Mappings:
Namespace Name Mixin selector official rLewc;r:Lepl;intermediary field_42500Lnet/minecraft/class_7745;field_42500:Lnet/minecraft/class_7845;named field_42500Lnet/minecraft/client/gui/screen/pack/ExperimentalWarningScreen;field_42500:Lnet/minecraft/client/gui/widget/GridWidget;
-
-
Constructor Details
-
ExperimentalWarningScreen
public ExperimentalWarningScreen(Collection<ResourcePackProfile> enabledProfiles, BooleanConsumer callback) - Mappings:
Namespace Name Mixin selector official <init>Lewc;<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 ar_Lert;ar_()Ltd;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 aLens;a(Lega;IIF)Vintermediary method_25394Lnet/minecraft/class_4068;method_25394(Lnet/minecraft/class_4587;IIF)Vnamed renderLnet/minecraft/client/gui/Drawable;render(Lnet/minecraft/client/util/math/MatrixStack;IIF)V
-
close
public void close()
-