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:
class_8083,Drawable,Element,ParentElement
- Mappings:
Namespace Name official evnintermediary 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 MultilineTextprivate 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()private intprivate intprotected voidinit()Called when a screen should be initialized.voidrender(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, method_48640, 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, drawCenteredText, drawCenteredText, drawCenteredTextWithShadow, drawHorizontalLine, drawSprite, drawSprite, drawStringWithShadow, drawTexture, drawTexture, drawTexture, drawTexture, drawTextWithShadow, drawVerticalLine, drawWithOutline, drawWithShadow, enableScissor, fill, fill, fillGradient, fillGradient, fillGradient, getZOffset, method_48585, method_48586, method_48587, setZOffsetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.class_8083
method_48590Methods inherited from interface net.minecraft.client.gui.Element
mouseMovedMethods 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 aLevn;a:Lta;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 bLevn;b:Lta;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 cLevn;c:Lta;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_40446
private static final int field_40446- See Also:
- Mappings:
Namespace Name Mixin selector official nLevn;n:Iintermediary field_40446Lnet/minecraft/class_7745;field_40446:Inamed field_40446Lnet/minecraft/client/gui/screen/pack/ExperimentalWarningScreen;field_40446:I
-
callback
- Mappings:
Namespace Name Mixin selector official oLevn;o: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 pLevn;p: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;
-
message
- Mappings:
Namespace Name Mixin selector official qLevn;q:Lemx;intermediary field_40449Lnet/minecraft/class_7745;field_40449:Lnet/minecraft/class_5489;named messageLnet/minecraft/client/gui/screen/pack/ExperimentalWarningScreen;message:Lnet/minecraft/client/font/MultilineText;
-
-
Constructor Details
-
ExperimentalWarningScreen
public ExperimentalWarningScreen(Collection<ResourcePackProfile> enabledProfiles, BooleanConsumer callback) - Mappings:
Namespace Name Mixin selector official <init>Levn;<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 ak_Lere;ak_()Lta;intermediary method_25435Lnet/minecraft/class_437;method_25435()Lnet/minecraft/class_2561;named getNarratedTitleLnet/minecraft/client/gui/screen/Screen;getNarratedTitle()Lnet/minecraft/text/Text;
-
getMessageHeight
private int getMessageHeight()- Mappings:
Namespace Name Mixin selector official jLevn;j()Iintermediary method_45669Lnet/minecraft/class_7745;method_45669()Inamed getMessageHeightLnet/minecraft/client/gui/screen/pack/ExperimentalWarningScreen;getMessageHeight()I
-
getTitleY
private int getTitleY()- Mappings:
Namespace Name Mixin selector official BLevn;B()Iintermediary method_45670Lnet/minecraft/class_7745;method_45670()Inamed getTitleYLnet/minecraft/client/gui/screen/pack/ExperimentalWarningScreen;getTitleY()I
-
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 aLenf;a(Lefn;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()
-