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,ParentElement,ProgressListener
- Mappings:
Namespace Name official eccintermediary net/minecraft/class_435named 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
FieldsModifier and TypeFieldDescriptionprivate final booleanprivate booleanprivate intFields inherited from class net.minecraft.client.gui.screen.Screen
client, height, itemRenderer, passEvents, textRenderer, widthFields inherited from class net.minecraft.client.gui.DrawableHelper
GUI_ICONS_TEXTURE, OPTIONS_BACKGROUND_TEXTURE, STATS_ICON_TEXTURE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidprogressStagePercentage(int percentage) voidrender(MatrixStack matrices, int mouseX, int mouseY, float delta) voidsetDone()voidvoidvoidsetTitleAndTask(Text title) booleanChecks 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, clearChildren, filesDragged, findSelectedElementData, getNarratedTitle, getTitle, getTooltipFromItem, handleTextClick, hasAltDown, hasControlDown, hasShiftDown, init, init, insertText, isCopy, isCut, isMouseOver, isPaste, isPauseScreen, isSelectAll, isValidCharacterForName, keyPressed, narrateScreenIfNarrationEnabled, onClose, remove, removed, renderBackground, renderBackground, renderBackgroundTexture, renderOrderedTooltip, renderTextHoverEffect, renderTooltip, renderTooltip, renderTooltip, renderTooltip, resize, sendMessage, sendMessage, tick, updateNarrator, wrapScreenErrorMethods inherited from class net.minecraft.client.gui.AbstractParentElement
getFocused, isDragging, setDragging, setFocusedMethods inherited from class net.minecraft.client.gui.DrawableHelper
drawCenteredText, drawCenteredText, drawCenteredTextWithShadow, drawHorizontalLine, drawSprite, drawStringWithShadow, drawTexture, drawTexture, drawTexture, drawTexture, drawTextWithShadow, drawVerticalLine, drawWithOutline, drawWithShadow, 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 aLecc;a:Lpt;intermediary field_2541Lnet/minecraft/class_435;field_2541:Lnet/minecraft/class_2561;named titleLnet/minecraft/client/gui/screen/ProgressScreen;title:Lnet/minecraft/text/Text;
-
task
- Mappings:
Namespace Name Mixin selector official bLecc;b:Lpt;intermediary field_2544Lnet/minecraft/class_435;field_2544:Lnet/minecraft/class_2561;named taskLnet/minecraft/client/gui/screen/ProgressScreen;task:Lnet/minecraft/text/Text;
-
progress
private int progress- Mappings:
Namespace Name Mixin selector official cLecc;c:Iintermediary field_2542Lnet/minecraft/class_435;field_2542:Inamed progressLnet/minecraft/client/gui/screen/ProgressScreen;progress:I
-
done
private boolean done- Mappings:
Namespace Name Mixin selector official nLecc;n:Zintermediary field_2543Lnet/minecraft/class_435;field_2543:Znamed doneLnet/minecraft/client/gui/screen/ProgressScreen;done:Z
-
closeAfterFinished
private final boolean closeAfterFinished- Mappings:
Namespace Name Mixin selector official oLecc;o:Zintermediary field_33625Lnet/minecraft/class_435;field_33625:Znamed closeAfterFinishedLnet/minecraft/client/gui/screen/ProgressScreen;closeAfterFinished:Z
-
-
Constructor Details
-
ProgressScreen
public ProgressScreen(boolean closeAfterFinished) - Mappings:
Namespace Name Mixin selector official <init>Lecc;<init>(Z)Vintermediary <init>Lnet/minecraft/class_435;<init>(Z)Vnamed <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:
shouldCloseOnEscin classScreen- Mappings:
Namespace Name Mixin selector official af_Lece;af_()Zintermediary method_25422Lnet/minecraft/class_437;method_25422()Znamed shouldCloseOnEscLnet/minecraft/client/gui/screen/Screen;shouldCloseOnEsc()Z
-
setTitle
- Specified by:
setTitlein interfaceProgressListener- Mappings:
Namespace Name Mixin selector official aLaiu;a(Lpt;)Vintermediary method_15412Lnet/minecraft/class_3536;method_15412(Lnet/minecraft/class_2561;)Vnamed setTitleLnet/minecraft/util/ProgressListener;setTitle(Lnet/minecraft/text/Text;)V
-
setTitleAndTask
- Specified by:
setTitleAndTaskin interfaceProgressListener- Mappings:
Namespace Name Mixin selector official bLaiu;b(Lpt;)Vintermediary method_15413Lnet/minecraft/class_3536;method_15413(Lnet/minecraft/class_2561;)Vnamed setTitleAndTaskLnet/minecraft/util/ProgressListener;setTitleAndTask(Lnet/minecraft/text/Text;)V
-
setTask
- Specified by:
setTaskin interfaceProgressListener- Mappings:
Namespace Name Mixin selector official cLaiu;c(Lpt;)Vintermediary method_15414Lnet/minecraft/class_3536;method_15414(Lnet/minecraft/class_2561;)Vnamed setTaskLnet/minecraft/util/ProgressListener;setTask(Lnet/minecraft/text/Text;)V
-
progressStagePercentage
public void progressStagePercentage(int percentage) - Specified by:
progressStagePercentagein interfaceProgressListener- Mappings:
Namespace Name Mixin selector official aLaiu;a(I)Vintermediary method_15410Lnet/minecraft/class_3536;method_15410(I)Vnamed progressStagePercentageLnet/minecraft/util/ProgressListener;progressStagePercentage(I)V
-
setDone
public void setDone()- Specified by:
setDonein interfaceProgressListener- Mappings:
Namespace Name Mixin selector official aLaiu;a()Vintermediary method_15411Lnet/minecraft/class_3536;method_15411()Vnamed setDoneLnet/minecraft/util/ProgressListener;setDone()V
-
render
- Specified by:
renderin interfaceDrawable- Overrides:
renderin classScreen- Mappings:
Namespace Name Mixin selector official aLdzi;a(Ldrw;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
-