Package net.minecraft.client.toast
Class TutorialToast
java.lang.Object
net.minecraft.client.toast.TutorialToast
- All Implemented Interfaces:
Toast
- Mappings:
Namespace Name named net/minecraft/client/toast/TutorialToastintermediary net/minecraft/class_372official fkx
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from interface net.minecraft.client.toast.Toast
Toast.Visibility -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final booleanprivate floatprivate longprivate floatstatic final intstatic final intstatic final intstatic final intprivate static final Identifierprivate final Textprivate final TutorialToast.Typeprivate Toast.VisibilityFields inherited from interface net.minecraft.client.toast.Toast
BASE_HEIGHT, TYPE -
Constructor Summary
ConstructorsConstructorDescriptionTutorialToast(TutorialToast.Type type, Text title, @Nullable Text description, boolean hasProgressBar) -
Method Summary
Modifier and TypeMethodDescriptiondraw(DrawContext context, ToastManager manager, long startTime) voidhide()voidsetProgress(float progress) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.client.toast.Toast
getHeight, getRequiredSpaceCount, getType, getWidth
-
Field Details
-
TEXTURE
- Mappings:
Namespace Name Mixin selector named TEXTURELnet/minecraft/client/toast/TutorialToast;TEXTURE:Lnet/minecraft/util/Identifier;intermediary field_45397Lnet/minecraft/class_372;field_45397:Lnet/minecraft/class_2960;official gLfkx;g:Lakr;
-
PROGRESS_BAR_WIDTH
public static final int PROGRESS_BAR_WIDTH- See Also:
- Mappings:
Namespace Name Mixin selector named PROGRESS_BAR_WIDTHLnet/minecraft/client/toast/TutorialToast;PROGRESS_BAR_WIDTH:Iintermediary field_32222Lnet/minecraft/class_372;field_32222:Iofficial aLfkx;a:I
-
PROGRESS_BAR_HEIGHT
public static final int PROGRESS_BAR_HEIGHT- See Also:
- Mappings:
Namespace Name Mixin selector named PROGRESS_BAR_HEIGHTLnet/minecraft/client/toast/TutorialToast;PROGRESS_BAR_HEIGHT:Iintermediary field_32223Lnet/minecraft/class_372;field_32223:Iofficial dLfkx;d:I
-
PROGRESS_BAR_X
public static final int PROGRESS_BAR_X- See Also:
- Mappings:
Namespace Name Mixin selector named PROGRESS_BAR_XLnet/minecraft/client/toast/TutorialToast;PROGRESS_BAR_X:Iintermediary field_32224Lnet/minecraft/class_372;field_32224:Iofficial eLfkx;e:I
-
PROGRESS_BAR_Y
public static final int PROGRESS_BAR_Y- See Also:
- Mappings:
Namespace Name Mixin selector named PROGRESS_BAR_YLnet/minecraft/client/toast/TutorialToast;PROGRESS_BAR_Y:Iintermediary field_32225Lnet/minecraft/class_372;field_32225:Iofficial fLfkx;f:I
-
type
- Mappings:
Namespace Name Mixin selector named typeLnet/minecraft/client/toast/TutorialToast;type:Lnet/minecraft/client/toast/TutorialToast$Type;intermediary field_2225Lnet/minecraft/class_372;field_2225:Lnet/minecraft/class_372$class_373;official hLfkx;h:Lfkx$a;
-
title
- Mappings:
Namespace Name Mixin selector named titleLnet/minecraft/client/toast/TutorialToast;title:Lnet/minecraft/text/Text;intermediary field_2224Lnet/minecraft/class_372;field_2224:Lnet/minecraft/class_2561;official iLfkx;i:Lwz;
-
description
- Mappings:
Namespace Name Mixin selector named descriptionLnet/minecraft/client/toast/TutorialToast;description:Lnet/minecraft/text/Text;intermediary field_2226Lnet/minecraft/class_372;field_2226:Lnet/minecraft/class_2561;official jLfkx;j:Lwz;
-
visibility
- Mappings:
Namespace Name Mixin selector named visibilityLnet/minecraft/client/toast/TutorialToast;visibility:Lnet/minecraft/client/toast/Toast$Visibility;intermediary field_2227Lnet/minecraft/class_372;field_2227:Lnet/minecraft/class_368$class_369;official kLfkx;k:Lfkv$a;
-
lastTime
private long lastTime- Mappings:
Namespace Name Mixin selector named lastTimeLnet/minecraft/client/toast/TutorialToast;lastTime:Jintermediary field_2223Lnet/minecraft/class_372;field_2223:Jofficial lLfkx;l:J
-
lastProgress
private float lastProgress- Mappings:
Namespace Name Mixin selector named lastProgressLnet/minecraft/client/toast/TutorialToast;lastProgress:Fintermediary field_2229Lnet/minecraft/class_372;field_2229:Fofficial mLfkx;m:F
-
progress
private float progress- Mappings:
Namespace Name Mixin selector named progressLnet/minecraft/client/toast/TutorialToast;progress:Fintermediary field_2228Lnet/minecraft/class_372;field_2228:Fofficial nLfkx;n:F
-
hasProgressBar
private final boolean hasProgressBar- Mappings:
Namespace Name Mixin selector named hasProgressBarLnet/minecraft/client/toast/TutorialToast;hasProgressBar:Zintermediary field_2222Lnet/minecraft/class_372;field_2222:Zofficial oLfkx;o:Z
-
-
Constructor Details
-
TutorialToast
public TutorialToast(TutorialToast.Type type, Text title, @Nullable @Nullable Text description, boolean hasProgressBar) - Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/client/toast/TutorialToast;<init>(Lnet/minecraft/client/toast/TutorialToast$Type;Lnet/minecraft/text/Text;Lnet/minecraft/text/Text;Z)Vintermediary <init>Lnet/minecraft/class_372;<init>(Lnet/minecraft/class_372$class_373;Lnet/minecraft/class_2561;Lnet/minecraft/class_2561;Z)Vofficial <init>Lfkx;<init>(Lfkx$a;Lwz;Lwz;Z)V
-
-
Method Details
-
draw
- Specified by:
drawin interfaceToast- Mappings:
Namespace Name Mixin selector named drawLnet/minecraft/client/toast/Toast;draw(Lnet/minecraft/client/gui/DrawContext;Lnet/minecraft/client/toast/ToastManager;J)Lnet/minecraft/client/toast/Toast$Visibility;intermediary method_1986Lnet/minecraft/class_368;method_1986(Lnet/minecraft/class_332;Lnet/minecraft/class_374;J)Lnet/minecraft/class_368$class_369;official aLfkv;a(Lfhz;Lfkw;J)Lfkv$a;
-
hide
public void hide()- Mappings:
Namespace Name Mixin selector named hideLnet/minecraft/client/toast/TutorialToast;hide()Vintermediary method_1993Lnet/minecraft/class_372;method_1993()Vofficial cLfkx;c()V
-
setProgress
public void setProgress(float progress) - Mappings:
Namespace Name Mixin selector named setProgressLnet/minecraft/client/toast/TutorialToast;setProgress(F)Vintermediary method_1992Lnet/minecraft/class_372;method_1992(F)Vofficial aLfkx;a(F)V
-