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
,TickableElement
,ProgressListener
@Environment(CLIENT) public class ProgressScreen extends Screen implements ProgressListener
- Mappings:
Namespace Name official dvc
intermediary net/minecraft/class_435
named net/minecraft/client/gui/screen/ProgressScreen
-
Field Summary
Fields Modifier and Type Field Description private boolean
done
private int
progress
private Text
task
private Text
title
Fields inherited from class net.minecraft.client.gui.screen.Screen
buttons, children, client, height, itemRenderer, passEvents, textRenderer, width
Fields inherited from class net.minecraft.client.gui.DrawableHelper
GUI_ICONS_TEXTURE, OPTIONS_BACKGROUND_TEXTURE, STATS_ICON_TEXTURE
-
Constructor Summary
Constructors Constructor Description ProgressScreen()
-
Method Summary
Modifier and Type Method Description void
method_15412(Text text)
void
method_15413(Text text)
void
method_15414(Text text)
void
progressStagePercentage(int int2)
void
render(MatrixStack matrices, int mouseX, int mouseY, float delta)
void
setDone()
boolean
shouldCloseOnEsc()
Checks whether this screen should be closed when the escape key is pressed.Methods inherited from class net.minecraft.client.gui.screen.Screen
addButton, addChild, children, filesDragged, getNarrationMessage, getTitle, getTooltipFromItem, handleTextClick, hasAltDown, hasControlDown, hasShiftDown, init, init, insertText, isCopy, isCut, isMouseOver, isPaste, isPauseScreen, isSelectAll, isValidCharacterForName, keyPressed, onClose, removed, renderBackground, renderBackground, renderBackgroundTexture, renderOrderedTooltip, renderTextHoverEffect, renderTooltip, renderTooltip, renderTooltip, renderTooltip, resize, sendMessage, sendMessage, tick, wrapScreenError
Methods inherited from class net.minecraft.client.gui.AbstractParentElement
getFocused, isDragging, setDragging, setFocused
Methods inherited from class net.minecraft.client.gui.DrawableHelper
drawCenteredString, drawCenteredText, drawHorizontalLine, drawSprite, drawStringWithShadow, drawTexture, drawTexture, drawTexture, drawTexture, drawTextWithShadow, drawVerticalLine, fill, fillGradient, fillGradient, getZOffset, method_29343, method_33284, setZOffset
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.ParentElement
changeFocus, charTyped, focusOn, hoveredElement, keyReleased, mouseClicked, mouseDragged, mouseReleased, mouseScrolled, setInitialFocus
-
Field Details
-
title
- Mappings:
Namespace Name Mixin selector official a
Ldvc;a:Loi;
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
Ldvc;b:Loi;
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
Ldvc;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 p
Ldvc;p:Z
intermediary field_2543
Lnet/minecraft/class_435;field_2543:Z
named done
Lnet/minecraft/client/gui/screen/ProgressScreen;done:Z
-
-
Constructor Details
-
ProgressScreen
public ProgressScreen()
-
-
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 ay_
Ldve;ay_()Z
intermediary method_25422
Lnet/minecraft/class_437;method_25422()Z
named shouldCloseOnEsc
Lnet/minecraft/client/gui/screen/Screen;shouldCloseOnEsc()Z
-
method_15412
- Specified by:
method_15412
in interfaceProgressListener
- Mappings:
Namespace Name Mixin selector official a
Lagd;a(Loi;)V
intermediary method_15412
Lnet/minecraft/class_3536;method_15412(Lnet/minecraft/class_2561;)V
named method_15412
Lnet/minecraft/util/ProgressListener;method_15412(Lnet/minecraft/text/Text;)V
-
method_15413
- Specified by:
method_15413
in interfaceProgressListener
- Mappings:
Namespace Name Mixin selector official b
Lagd;b(Loi;)V
intermediary method_15413
Lnet/minecraft/class_3536;method_15413(Lnet/minecraft/class_2561;)V
named method_15413
Lnet/minecraft/util/ProgressListener;method_15413(Lnet/minecraft/text/Text;)V
-
method_15414
- Specified by:
method_15414
in interfaceProgressListener
- Mappings:
Namespace Name Mixin selector official c
Lagd;c(Loi;)V
intermediary method_15414
Lnet/minecraft/class_3536;method_15414(Lnet/minecraft/class_2561;)V
named method_15414
Lnet/minecraft/util/ProgressListener;method_15414(Lnet/minecraft/text/Text;)V
-
progressStagePercentage
public void progressStagePercentage(int int2)- Specified by:
progressStagePercentage
in interfaceProgressListener
- Mappings:
Namespace Name Mixin selector official a
Lagd;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
Lagd;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
Ldsq;a(Ldlr;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
-