Package net.minecraft.client.toast
Class TutorialToast
java.lang.Object
net.minecraft.client.toast.TutorialToast
- All Implemented Interfaces:
Toast
- Mappings:
Namespace Name official dzv
intermediary net/minecraft/class_372
named net/minecraft/client/toast/TutorialToast
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.client.toast.Toast
Toast.Visibility
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
static final int
static final int
static final int
private final boolean
private float
private long
private float
private final Text
private final TutorialToast.Type
private Toast.Visibility
-
Constructor Summary
ConstructorDescriptionTutorialToast
(TutorialToast.Type type, Text title, @Nullable Text description, boolean hasProgressBar) -
Method Summary
Modifier and TypeMethodDescriptiondraw
(MatrixStack matrices, ToastManager manager, long startTime) void
hide()
void
setProgress
(float progress)
-
Field Details
-
field_32222
public static final int field_32222- See Also:
- Mappings:
Namespace Name Mixin selector official c
Ldzv;c:I
intermediary field_32222
Lnet/minecraft/class_372;field_32222:I
named field_32222
Lnet/minecraft/client/toast/TutorialToast;field_32222:I
-
field_32223
public static final int field_32223- See Also:
- Mappings:
Namespace Name Mixin selector official d
Ldzv;d:I
intermediary field_32223
Lnet/minecraft/class_372;field_32223:I
named field_32223
Lnet/minecraft/client/toast/TutorialToast;field_32223:I
-
field_32224
public static final int field_32224- See Also:
- Mappings:
Namespace Name Mixin selector official e
Ldzv;e:I
intermediary field_32224
Lnet/minecraft/class_372;field_32224:I
named field_32224
Lnet/minecraft/client/toast/TutorialToast;field_32224:I
-
field_32225
public static final int field_32225- See Also:
- Mappings:
Namespace Name Mixin selector official f
Ldzv;f:I
intermediary field_32225
Lnet/minecraft/class_372;field_32225:I
named field_32225
Lnet/minecraft/client/toast/TutorialToast;field_32225:I
-
type
- Mappings:
Namespace Name Mixin selector official g
Ldzv;g:Ldzv$a;
intermediary field_2225
Lnet/minecraft/class_372;field_2225:Lnet/minecraft/class_372$class_373;
named type
Lnet/minecraft/client/toast/TutorialToast;type:Lnet/minecraft/client/toast/TutorialToast$Type;
-
title
- Mappings:
Namespace Name Mixin selector official h
Ldzv;h:Lpt;
intermediary field_2224
Lnet/minecraft/class_372;field_2224:Lnet/minecraft/class_2561;
named title
Lnet/minecraft/client/toast/TutorialToast;title:Lnet/minecraft/text/Text;
-
description
- Mappings:
Namespace Name Mixin selector official i
Ldzv;i:Lpt;
intermediary field_2226
Lnet/minecraft/class_372;field_2226:Lnet/minecraft/class_2561;
named description
Lnet/minecraft/client/toast/TutorialToast;description:Lnet/minecraft/text/Text;
-
visibility
- Mappings:
Namespace Name Mixin selector official j
Ldzv;j:Ldzt$a;
intermediary field_2227
Lnet/minecraft/class_372;field_2227:Lnet/minecraft/class_368$class_369;
named visibility
Lnet/minecraft/client/toast/TutorialToast;visibility:Lnet/minecraft/client/toast/Toast$Visibility;
-
lastTime
private long lastTime- Mappings:
Namespace Name Mixin selector official k
Ldzv;k:J
intermediary field_2223
Lnet/minecraft/class_372;field_2223:J
named lastTime
Lnet/minecraft/client/toast/TutorialToast;lastTime:J
-
lastProgress
private float lastProgress- Mappings:
Namespace Name Mixin selector official l
Ldzv;l:F
intermediary field_2229
Lnet/minecraft/class_372;field_2229:F
named lastProgress
Lnet/minecraft/client/toast/TutorialToast;lastProgress:F
-
progress
private float progress- Mappings:
Namespace Name Mixin selector official m
Ldzv;m:F
intermediary field_2228
Lnet/minecraft/class_372;field_2228:F
named progress
Lnet/minecraft/client/toast/TutorialToast;progress:F
-
hasProgressBar
private final boolean hasProgressBar- Mappings:
Namespace Name Mixin selector official n
Ldzv;n:Z
intermediary field_2222
Lnet/minecraft/class_372;field_2222:Z
named hasProgressBar
Lnet/minecraft/client/toast/TutorialToast;hasProgressBar:Z
-
-
Constructor Details
-
TutorialToast
public TutorialToast(TutorialToast.Type type, Text title, @Nullable @Nullable Text description, boolean hasProgressBar) - Mappings:
Namespace Name Mixin selector official <init>
Ldzv;<init>(Ldzv$a;Lpt;Lpt;Z)V
intermediary <init>
Lnet/minecraft/class_372;<init>(Lnet/minecraft/class_372$class_373;Lnet/minecraft/class_2561;Lnet/minecraft/class_2561;Z)V
named <init>
Lnet/minecraft/client/toast/TutorialToast;<init>(Lnet/minecraft/client/toast/TutorialToast$Type;Lnet/minecraft/text/Text;Lnet/minecraft/text/Text;Z)V
-
-
Method Details
-
draw
- Specified by:
draw
in interfaceToast
- Mappings:
Namespace Name Mixin selector official a
Ldzt;a(Ldrw;Ldzu;J)Ldzt$a;
intermediary method_1986
Lnet/minecraft/class_368;method_1986(Lnet/minecraft/class_4587;Lnet/minecraft/class_374;J)Lnet/minecraft/class_368$class_369;
named draw
Lnet/minecraft/client/toast/Toast;draw(Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/toast/ToastManager;J)Lnet/minecraft/client/toast/Toast$Visibility;
-
hide
public void hide()- Mappings:
Namespace Name Mixin selector official b
Ldzv;b()V
intermediary method_1993
Lnet/minecraft/class_372;method_1993()V
named hide
Lnet/minecraft/client/toast/TutorialToast;hide()V
-
setProgress
public void setProgress(float progress) - Mappings:
Namespace Name Mixin selector official a
Ldzv;a(F)V
intermediary method_1992
Lnet/minecraft/class_372;method_1992(F)V
named setProgress
Lnet/minecraft/client/toast/TutorialToast;setProgress(F)V
-