Package net.minecraft.client.gui.screen
Class ProgressScreen
java.lang.Object
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 named net/minecraft/client/gui/screen/ProgressScreenintermediary net/minecraft/class_435official foa
-
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, executor, FOOTER_SEPARATOR_TEXTURE, HEADER_SEPARATOR_TEXTURE, height, INWORLD_FOOTER_SEPARATOR_TEXTURE, INWORLD_HEADER_SEPARATOR_TEXTURE, MENU_BACKGROUND_TEXTURE, narratorToggleButton, PANORAMA_RENDERER, ROTATING_PANORAMA_RENDERER, textRenderer, widthFields inherited from interface net.minecraft.client.gui.Element
MAX_DOUBLE_CLICK_INTERVAL -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanvoidprogressStagePercentage(int percentage) voidrender(DrawContext context, 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, applyBlur, applyKeyPressNarratorDelay, applyMouseMoveNarratorDelay, applyMousePressScrollNarratorDelay, blur, children, clearAndInit, clearChildren, clearTooltip, close, filesDragged, findSelectedElementData, getMusic, getNarratedTitle, getNavigationFocus, getTitle, getTooltipFromItem, getUsageNarrationText, handleTextClick, hasAltDown, hasControlDown, hasShiftDown, init, init, initTabNavigation, insertText, isCopy, isCut, isMouseOver, isPaste, isSelectAll, isValidCharacterForName, keyPressed, narrateScreenIfNarrationEnabled, onDisplayed, refreshNarrator, remove, removed, renderBackground, renderBackgroundTexture, renderDarkening, renderDarkening, renderInGameBackground, renderPanoramaBackground, renderWithTooltip, resize, setInitialFocus, setInitialFocus, setTooltip, setTooltip, setTooltip, setTooltip, shouldPause, switchFocus, tick, updateNarrator, wrapScreenErrorMethods inherited from class net.minecraft.client.gui.AbstractParentElement
getFocused, isDragging, setDragging, setFocusedMethods 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.navigation.Navigable
getNavigationOrderMethods inherited from interface net.minecraft.client.gui.ParentElement
charTyped, getFocusedPath, getNavigationPath, hoveredElement, isFocused, keyReleased, mouseClicked, mouseDragged, mouseReleased, mouseScrolled, setFocused
-
Field Details
-
title
- Mappings:
Namespace Name Mixin selector named titleLnet/minecraft/client/gui/screen/ProgressScreen;title:Lnet/minecraft/text/Text;intermediary field_2541Lnet/minecraft/class_435;field_2541:Lnet/minecraft/class_2561;official aLfoa;a:Lwz;
-
task
- Mappings:
Namespace Name Mixin selector named taskLnet/minecraft/client/gui/screen/ProgressScreen;task:Lnet/minecraft/text/Text;intermediary field_2544Lnet/minecraft/class_435;field_2544:Lnet/minecraft/class_2561;official bLfoa;b:Lwz;
-
progress
private int progress- Mappings:
Namespace Name Mixin selector named progressLnet/minecraft/client/gui/screen/ProgressScreen;progress:Iintermediary field_2542Lnet/minecraft/class_435;field_2542:Iofficial cLfoa;c:I
-
done
private boolean done- Mappings:
Namespace Name Mixin selector named doneLnet/minecraft/client/gui/screen/ProgressScreen;done:Zintermediary field_2543Lnet/minecraft/class_435;field_2543:Zofficial rLfoa;r:Z
-
closeAfterFinished
private final boolean closeAfterFinished- Mappings:
Namespace Name Mixin selector named closeAfterFinishedLnet/minecraft/client/gui/screen/ProgressScreen;closeAfterFinished:Zintermediary field_33625Lnet/minecraft/class_435;field_33625:Zofficial sLfoa;s:Z
-
-
Constructor Details
-
ProgressScreen
public ProgressScreen(boolean closeAfterFinished) - Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/client/gui/screen/ProgressScreen;<init>(Z)Vintermediary <init>Lnet/minecraft/class_435;<init>(Z)Vofficial <init>Lfoa;<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 named shouldCloseOnEscLnet/minecraft/client/gui/screen/Screen;shouldCloseOnEsc()Zintermediary method_25422Lnet/minecraft/class_437;method_25422()Zofficial aJ_Lfod;aJ_()Z
-
hasUsageText
protected boolean hasUsageText()- Overrides:
hasUsageTextin classScreen- Mappings:
Namespace Name Mixin selector named hasUsageTextLnet/minecraft/client/gui/screen/Screen;hasUsageText()Zintermediary method_48262Lnet/minecraft/class_437;method_48262()Zofficial aS_Lfod;aS_()Z
-
setTitle
- Specified by:
setTitlein interfaceProgressListener- Mappings:
Namespace Name Mixin selector named setTitleLnet/minecraft/util/ProgressListener;setTitle(Lnet/minecraft/text/Text;)Vintermediary method_15412Lnet/minecraft/class_3536;method_15412(Lnet/minecraft/class_2561;)Vofficial aLayv;a(Lwz;)V
-
setTitleAndTask
- Specified by:
setTitleAndTaskin interfaceProgressListener- Mappings:
Namespace Name Mixin selector named setTitleAndTaskLnet/minecraft/util/ProgressListener;setTitleAndTask(Lnet/minecraft/text/Text;)Vintermediary method_15413Lnet/minecraft/class_3536;method_15413(Lnet/minecraft/class_2561;)Vofficial bLayv;b(Lwz;)V
-
setTask
- Specified by:
setTaskin interfaceProgressListener- Mappings:
Namespace Name Mixin selector named setTaskLnet/minecraft/util/ProgressListener;setTask(Lnet/minecraft/text/Text;)Vintermediary method_15414Lnet/minecraft/class_3536;method_15414(Lnet/minecraft/class_2561;)Vofficial cLayv;c(Lwz;)V
-
progressStagePercentage
public void progressStagePercentage(int percentage) - Specified by:
progressStagePercentagein interfaceProgressListener- Mappings:
Namespace Name Mixin selector named progressStagePercentageLnet/minecraft/util/ProgressListener;progressStagePercentage(I)Vintermediary method_15410Lnet/minecraft/class_3536;method_15410(I)Vofficial aLayv;a(I)V
-
setDone
public void setDone()- Specified by:
setDonein interfaceProgressListener- Mappings:
Namespace Name Mixin selector named setDoneLnet/minecraft/util/ProgressListener;setDone()Vintermediary method_15411Lnet/minecraft/class_3536;method_15411()Vofficial aLayv;a()V
-
render
- Specified by:
renderin interfaceDrawable- Overrides:
renderin classScreen- Mappings:
Namespace Name Mixin selector named renderLnet/minecraft/client/gui/Drawable;render(Lnet/minecraft/client/gui/DrawContext;IIF)Vintermediary method_25394Lnet/minecraft/class_4068;method_25394(Lnet/minecraft/class_332;IIF)Vofficial aLfjp;a(Lfhz;IIF)V
-