类 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
-
- 所有已实现的接口:
Drawable,Element,ParentElement,TickableElement,ProgressListener
@Environment(CLIENT) public class ProgressScreen extends Screen implements ProgressListener
- Mappings:
Namespace Name official dzeintermediary net/minecraft/class_435named net/minecraft/client/gui/screen/ProgressScreen
-
-
字段概要
字段 修饰符和类型 字段 说明 private booleandoneprivate intprogressprivate @Nullable Texttaskprivate @Nullable Texttitle-
从类继承的字段 net.minecraft.client.gui.screen.Screen
buttons, children, client, height, itemRenderer, passEvents, textRenderer, width
-
从类继承的字段 net.minecraft.client.gui.DrawableHelper
GUI_ICONS_TEXTURE, OPTIONS_BACKGROUND_TEXTURE, STATS_ICON_TEXTURE
-
-
构造器概要
构造器 构造器 说明 ProgressScreen()
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 voidprogressStagePercentage(int percentage)voidrender(MatrixStack matrices, int mouseX, int mouseY, float delta)voidsetDone()voidsetTask(Text task)voidsetTitle(Text title)voidsetTitleAndTask(Text title)booleanshouldCloseOnEsc()Checks whether this screen should be closed when the escape key is pressed.-
从类继承的方法 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
-
从类继承的方法 net.minecraft.client.gui.AbstractParentElement
getFocused, isDragging, setDragging, setFocused
-
从类继承的方法 net.minecraft.client.gui.DrawableHelper
drawCenteredString, drawCenteredText, drawHorizontalLine, drawSprite, drawStringWithShadow, drawTexture, drawTexture, drawTexture, drawTexture, drawTextWithShadow, drawVerticalLine, fill, fillGradient, fillGradient, getZOffset, method_29343, method_33284, method_35719, method_35720, setZOffset
-
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
从接口继承的方法 net.minecraft.client.gui.Element
mouseMoved
-
从接口继承的方法 net.minecraft.client.gui.ParentElement
changeFocus, charTyped, focusOn, hoveredElement, keyReleased, mouseClicked, mouseDragged, mouseReleased, mouseScrolled, setInitialFocus
-
-
-
-
字段详细资料
-
title
@Nullable private @Nullable Text title
- Mappings:
Namespace Name Mixin selector official aLdze;a:Lon;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
@Nullable private @Nullable Text task
- Mappings:
Namespace Name Mixin selector official bLdze;b:Lon;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 cLdze;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 pLdze;p:Zintermediary field_2543Lnet/minecraft/class_435;field_2543:Znamed doneLnet/minecraft/client/gui/screen/ProgressScreen;done:Z
-
-
方法详细资料
-
shouldCloseOnEsc
public boolean shouldCloseOnEsc()
Checks whether this screen should be closed when the escape key is pressed.- 覆盖:
shouldCloseOnEsc在类中Screen- Mappings:
Namespace Name Mixin selector official az_Ldzg;az_()Zintermediary method_25422Lnet/minecraft/class_437;method_25422()Znamed shouldCloseOnEscLnet/minecraft/client/gui/screen/Screen;shouldCloseOnEsc()Z
-
setTitle
public void setTitle(Text title)
- 指定者:
setTitle在接口中ProgressListener- Mappings:
Namespace Name Mixin selector official aLagu;a(Lon;)Vintermediary method_15412Lnet/minecraft/class_3536;method_15412(Lnet/minecraft/class_2561;)Vnamed setTitleLnet/minecraft/util/ProgressListener;setTitle(Lnet/minecraft/text/Text;)V
-
setTitleAndTask
public void setTitleAndTask(Text title)
- 指定者:
setTitleAndTask在接口中ProgressListener- Mappings:
Namespace Name Mixin selector official bLagu;b(Lon;)Vintermediary method_15413Lnet/minecraft/class_3536;method_15413(Lnet/minecraft/class_2561;)Vnamed setTitleAndTaskLnet/minecraft/util/ProgressListener;setTitleAndTask(Lnet/minecraft/text/Text;)V
-
setTask
public void setTask(Text task)
- 指定者:
setTask在接口中ProgressListener- Mappings:
Namespace Name Mixin selector official cLagu;c(Lon;)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)
- 指定者:
progressStagePercentage在接口中ProgressListener- Mappings:
Namespace Name Mixin selector official aLagu;a(I)Vintermediary method_15410Lnet/minecraft/class_3536;method_15410(I)Vnamed progressStagePercentageLnet/minecraft/util/ProgressListener;progressStagePercentage(I)V
-
setDone
public void setDone()
- 指定者:
setDone在接口中ProgressListener- Mappings:
Namespace Name Mixin selector official aLagu;a()Vintermediary method_15411Lnet/minecraft/class_3536;method_15411()Vnamed setDoneLnet/minecraft/util/ProgressListener;setDone()V
-
render
public void render(MatrixStack matrices, int mouseX, int mouseY, float delta)
- 指定者:
render在接口中Drawable- 覆盖:
render在类中Screen- Mappings:
Namespace Name Mixin selector official aLdws;a(Ldpi;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
-
-