Package net.minecraft.client.gui.screen
Class ProgressScreen
java.lang.Object
net.minecraft.client.gui.DrawableHelper
net.minecraft.client.gui.AbstractParentElement
net.minecraft.client.gui.screen.Screen
net.minecraft.client.gui.screen.ProgressScreen
- All Implemented Interfaces:
Drawable
,Element
,Navigable
,ParentElement
,ProgressListener
- Mappings:
Namespace Name official etb
intermediary net/minecraft/class_435
named net/minecraft/client/gui/screen/ProgressScreen
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.client.gui.screen.Screen
Screen.SelectedElementNarrationData
-
Field Summary
Modifier and TypeFieldDescriptionprivate final boolean
private boolean
private int
Fields inherited from class net.minecraft.client.gui.screen.Screen
client, height, itemRenderer, passEvents, textRenderer, 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
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
void
progressStagePercentage
(int percentage) void
render
(MatrixStack matrices, int mouseX, int mouseY, float delta) void
setDone()
void
void
void
setTitleAndTask
(Text title) boolean
Checks whether this screen should be closed when the escape key is pressed.Methods inherited from class net.minecraft.client.gui.screen.Screen
addDrawable, addDrawableChild, addElementNarrations, addScreenNarrations, addSelectableChild, applyKeyPressNarratorDelay, applyMouseMoveNarratorDelay, applyMousePressScrollNarratorDelay, applyNarratorModeChangeDelay, children, clearAndInit, clearChildren, close, filesDragged, findSelectedElementData, getNarratedTitle, getNavigationFocus, getTitle, getTooltipFromItem, handleTextClick, hasAltDown, hasControlDown, hasShiftDown, hide, init, init, initTabNavigation, 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, 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
Letb;a:Ltj;
intermediary field_2541
Lnet/minecraft/class_435;field_2541:Lnet/minecraft/class_2561;
named title
Lnet/minecraft/client/gui/screen/ProgressScreen;title:Lnet/minecraft/text/Text;
-
task
- Mappings:
Namespace Name Mixin selector official b
Letb;b:Ltj;
intermediary field_2544
Lnet/minecraft/class_435;field_2544:Lnet/minecraft/class_2561;
named task
Lnet/minecraft/client/gui/screen/ProgressScreen;task:Lnet/minecraft/text/Text;
-
progress
private int progress- Mappings:
Namespace Name Mixin selector official c
Letb;c:I
intermediary field_2542
Lnet/minecraft/class_435;field_2542:I
named progress
Lnet/minecraft/client/gui/screen/ProgressScreen;progress:I
-
done
private boolean done- Mappings:
Namespace Name Mixin selector official o
Letb;o:Z
intermediary field_2543
Lnet/minecraft/class_435;field_2543:Z
named done
Lnet/minecraft/client/gui/screen/ProgressScreen;done:Z
-
closeAfterFinished
private final boolean closeAfterFinished- Mappings:
Namespace Name Mixin selector official p
Letb;p:Z
intermediary field_33625
Lnet/minecraft/class_435;field_33625:Z
named closeAfterFinished
Lnet/minecraft/client/gui/screen/ProgressScreen;closeAfterFinished:Z
-
-
Constructor Details
-
ProgressScreen
public ProgressScreen(boolean closeAfterFinished) - Mappings:
Namespace Name Mixin selector official <init>
Letb;<init>(Z)V
intermediary <init>
Lnet/minecraft/class_435;<init>(Z)V
named <init>
Lnet/minecraft/client/gui/screen/ProgressScreen;<init>(Z)V
-
-
Method Details
-
shouldCloseOnEsc
public boolean shouldCloseOnEsc()Checks whether this screen should be closed when the escape key is pressed.- Overrides:
shouldCloseOnEsc
in classScreen
- Mappings:
Namespace Name Mixin selector official ax_
Letd;ax_()Z
intermediary method_25422
Lnet/minecraft/class_437;method_25422()Z
named shouldCloseOnEsc
Lnet/minecraft/client/gui/screen/Screen;shouldCloseOnEsc()Z
-
hasUsageText
protected boolean hasUsageText()- Overrides:
hasUsageText
in classScreen
- Mappings:
Namespace Name Mixin selector official aJ_
Letd;aJ_()Z
intermediary method_48262
Lnet/minecraft/class_437;method_48262()Z
named hasUsageText
Lnet/minecraft/client/gui/screen/Screen;hasUsageText()Z
-
setTitle
- Specified by:
setTitle
in interfaceProgressListener
- Mappings:
Namespace Name Mixin selector official a
Lapn;a(Ltj;)V
intermediary method_15412
Lnet/minecraft/class_3536;method_15412(Lnet/minecraft/class_2561;)V
named setTitle
Lnet/minecraft/util/ProgressListener;setTitle(Lnet/minecraft/text/Text;)V
-
setTitleAndTask
- Specified by:
setTitleAndTask
in interfaceProgressListener
- Mappings:
Namespace Name Mixin selector official b
Lapn;b(Ltj;)V
intermediary method_15413
Lnet/minecraft/class_3536;method_15413(Lnet/minecraft/class_2561;)V
named setTitleAndTask
Lnet/minecraft/util/ProgressListener;setTitleAndTask(Lnet/minecraft/text/Text;)V
-
setTask
- Specified by:
setTask
in interfaceProgressListener
- Mappings:
Namespace Name Mixin selector official c
Lapn;c(Ltj;)V
intermediary method_15414
Lnet/minecraft/class_3536;method_15414(Lnet/minecraft/class_2561;)V
named setTask
Lnet/minecraft/util/ProgressListener;setTask(Lnet/minecraft/text/Text;)V
-
progressStagePercentage
public void progressStagePercentage(int percentage) - Specified by:
progressStagePercentage
in interfaceProgressListener
- Mappings:
Namespace Name Mixin selector official a
Lapn;a(I)V
intermediary method_15410
Lnet/minecraft/class_3536;method_15410(I)V
named progressStagePercentage
Lnet/minecraft/util/ProgressListener;progressStagePercentage(I)V
-
setDone
public void setDone()- Specified by:
setDone
in interfaceProgressListener
- Mappings:
Namespace Name Mixin selector official a
Lapn;a()V
intermediary method_15411
Lnet/minecraft/class_3536;method_15411()V
named setDone
Lnet/minecraft/util/ProgressListener;setDone()V
-
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
-