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 exm
intermediary net/minecraft/class_7745
named net/minecraft/client/gui/screen/pack/ExperimentalWarningScreen
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.client.gui.screen.Screen
Screen.SelectedElementNarrationData
-
Field Summary
Modifier and TypeFieldDescriptionprivate final BooleanConsumer
private static final Text
(package private) final Collection<ResourcePackProfile>
private static final int
private static final int
private final GridWidget
private static final Text
private static final Text
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
ConstructorDescriptionExperimentalWarningScreen
(Collection<ResourcePackProfile> enabledProfiles, BooleanConsumer callback) -
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
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, 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
-
TITLE
- Mappings:
Namespace Name Mixin selector official a
Lexm;a:Ltj;
intermediary field_40443
Lnet/minecraft/class_7745;field_40443:Lnet/minecraft/class_2561;
named TITLE
Lnet/minecraft/client/gui/screen/pack/ExperimentalWarningScreen;TITLE:Lnet/minecraft/text/Text;
-
MESSAGE
- Mappings:
Namespace Name Mixin selector official b
Lexm;b:Ltj;
intermediary field_40444
Lnet/minecraft/class_7745;field_40444:Lnet/minecraft/class_2561;
named MESSAGE
Lnet/minecraft/client/gui/screen/pack/ExperimentalWarningScreen;MESSAGE:Lnet/minecraft/text/Text;
-
DETAILS
- Mappings:
Namespace Name Mixin selector official c
Lexm;c:Ltj;
intermediary field_40445
Lnet/minecraft/class_7745;field_40445:Lnet/minecraft/class_2561;
named DETAILS
Lnet/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 o
Lexm;o:I
intermediary field_42498
Lnet/minecraft/class_7745;field_42498:I
named field_42498
Lnet/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 p
Lexm;p:I
intermediary field_42499
Lnet/minecraft/class_7745;field_42499:I
named field_42499
Lnet/minecraft/client/gui/screen/pack/ExperimentalWarningScreen;field_42499:I
-
callback
- Mappings:
Namespace Name Mixin selector official q
Lexm;q:Lit/unimi/dsi/fastutil/booleans/BooleanConsumer;
intermediary field_40447
Lnet/minecraft/class_7745;field_40447:Lit/unimi/dsi/fastutil/booleans/BooleanConsumer;
named callback
Lnet/minecraft/client/gui/screen/pack/ExperimentalWarningScreen;callback:Lit/unimi/dsi/fastutil/booleans/BooleanConsumer;
-
enabledProfiles
- Mappings:
Namespace Name Mixin selector official r
Lexm;r:Ljava/util/Collection;
intermediary field_40448
Lnet/minecraft/class_7745;field_40448:Ljava/util/Collection;
named enabledProfiles
Lnet/minecraft/client/gui/screen/pack/ExperimentalWarningScreen;enabledProfiles:Ljava/util/Collection;
-
grid
- Mappings:
Namespace Name Mixin selector official s
Lexm;s:Lequ;
intermediary field_42500
Lnet/minecraft/class_7745;field_42500:Lnet/minecraft/class_7845;
named grid
Lnet/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>
Lexm;<init>(Ljava/util/Collection;Lit/unimi/dsi/fastutil/booleans/BooleanConsumer;)V
intermediary <init>
Lnet/minecraft/class_7745;<init>(Ljava/util/Collection;Lit/unimi/dsi/fastutil/booleans/BooleanConsumer;)V
named <init>
Lnet/minecraft/client/gui/screen/pack/ExperimentalWarningScreen;<init>(Ljava/util/Collection;Lit/unimi/dsi/fastutil/booleans/BooleanConsumer;)V
-
-
Method Details
-
getNarratedTitle
- Overrides:
getNarratedTitle
in classScreen
- Mappings:
Namespace Name Mixin selector official aw_
Letd;aw_()Ltj;
intermediary method_25435
Lnet/minecraft/class_437;method_25435()Lnet/minecraft/class_2561;
named getNarratedTitle
Lnet/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:
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
-
close
public void close()
-