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,ParentElement
- Mappings:
Namespace Name official ethintermediary 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, getTitle, getTooltipFromItem, handleTextClick, hasAltDown, hasControlDown, hasShiftDown, hide, init, insertText, isCopy, isCut, isMouseOver, isPaste, isSelectAll, isValidCharacterForName, keyPressed, narrateScreenIfNarrationEnabled, remove, removed, renderBackground, renderBackground, renderBackgroundTexture, renderOrderedTooltip, renderTextHoverEffect, renderTooltip, renderTooltip, renderTooltip, renderTooltip, renderWithTooltip, resize, setTooltip, setTooltip, setTooltip, setTooltip, shouldCloseOnEsc, shouldPause, 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, drawStringWithShadow, drawTexture, drawTexture, drawTexture, drawTexture, drawTextWithShadow, drawVerticalLine, drawWithOutline, drawWithShadow, enableScissor, 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.ParentElement
changeFocus, charTyped, focusOn, hoveredElement, keyReleased, mouseClicked, mouseDragged, mouseReleased, mouseScrolled, setInitialFocus
-
Field Details
-
TITLE
- Mappings:
Namespace Name Mixin selector official aLeth;a:Lss;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 bLeth;b:Lss;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 cLeth;c:Lss;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 nLeth;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 oLeth;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 pLeth;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 qLeth;q:Lelq;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>Leth;<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 ah_Lepb;ah_()Lss;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 iLeth;i()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 wLeth;w()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.
-
render
- Specified by:
renderin interfaceDrawable- Overrides:
renderin classScreen- Mappings:
Namespace Name Mixin selector official aLely;a(Leed;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()
-