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/TutorialToast
intermediary net/minecraft/class_372
official fjq
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.client.toast.Toast
Toast.Visibility
-
Field Summary
Modifier and TypeFieldDescriptionprivate final boolean
private float
private long
private float
static final int
static final int
static final int
static final int
private static final Identifier
private final Text
private final TutorialToast.Type
private Toast.Visibility
Fields inherited from interface net.minecraft.client.toast.Toast
BASE_HEIGHT, TYPE
-
Constructor Summary
ConstructorDescriptionTutorialToast
(TutorialToast.Type type, Text title, @Nullable Text description, boolean hasProgressBar) -
Method Summary
Modifier and TypeMethodDescriptiondraw
(DrawContext context, ToastManager manager, long startTime) void
hide()
void
setProgress
(float progress) 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.toast.Toast
getHeight, getRequiredSpaceCount, getType, getWidth
-
Field Details
-
TEXTURE
- Mappings:
Namespace Name Mixin selector named TEXTURE
Lnet/minecraft/client/toast/TutorialToast;TEXTURE:Lnet/minecraft/util/Identifier;
intermediary field_45397
Lnet/minecraft/class_372;field_45397:Lnet/minecraft/class_2960;
official g
Lfjq;g:Lalf;
-
PROGRESS_BAR_WIDTH
public static final int PROGRESS_BAR_WIDTH- See Also:
- Mappings:
Namespace Name Mixin selector named PROGRESS_BAR_WIDTH
Lnet/minecraft/client/toast/TutorialToast;PROGRESS_BAR_WIDTH:I
intermediary field_32222
Lnet/minecraft/class_372;field_32222:I
official a
Lfjq;a:I
-
PROGRESS_BAR_HEIGHT
public static final int PROGRESS_BAR_HEIGHT- See Also:
- Mappings:
Namespace Name Mixin selector named PROGRESS_BAR_HEIGHT
Lnet/minecraft/client/toast/TutorialToast;PROGRESS_BAR_HEIGHT:I
intermediary field_32223
Lnet/minecraft/class_372;field_32223:I
official d
Lfjq;d:I
-
PROGRESS_BAR_X
public static final int PROGRESS_BAR_X- See Also:
- Mappings:
Namespace Name Mixin selector named PROGRESS_BAR_X
Lnet/minecraft/client/toast/TutorialToast;PROGRESS_BAR_X:I
intermediary field_32224
Lnet/minecraft/class_372;field_32224:I
official e
Lfjq;e:I
-
PROGRESS_BAR_Y
public static final int PROGRESS_BAR_Y- See Also:
- Mappings:
Namespace Name Mixin selector named PROGRESS_BAR_Y
Lnet/minecraft/client/toast/TutorialToast;PROGRESS_BAR_Y:I
intermediary field_32225
Lnet/minecraft/class_372;field_32225:I
official f
Lfjq;f:I
-
type
- Mappings:
Namespace Name Mixin selector named type
Lnet/minecraft/client/toast/TutorialToast;type:Lnet/minecraft/client/toast/TutorialToast$Type;
intermediary field_2225
Lnet/minecraft/class_372;field_2225:Lnet/minecraft/class_372$class_373;
official h
Lfjq;h:Lfjq$a;
-
title
- Mappings:
Namespace Name Mixin selector named title
Lnet/minecraft/client/toast/TutorialToast;title:Lnet/minecraft/text/Text;
intermediary field_2224
Lnet/minecraft/class_372;field_2224:Lnet/minecraft/class_2561;
official i
Lfjq;i:Lxp;
-
description
- Mappings:
Namespace Name Mixin selector named description
Lnet/minecraft/client/toast/TutorialToast;description:Lnet/minecraft/text/Text;
intermediary field_2226
Lnet/minecraft/class_372;field_2226:Lnet/minecraft/class_2561;
official j
Lfjq;j:Lxp;
-
visibility
- Mappings:
Namespace Name Mixin selector named visibility
Lnet/minecraft/client/toast/TutorialToast;visibility:Lnet/minecraft/client/toast/Toast$Visibility;
intermediary field_2227
Lnet/minecraft/class_372;field_2227:Lnet/minecraft/class_368$class_369;
official k
Lfjq;k:Lfjo$a;
-
lastTime
private long lastTime- Mappings:
Namespace Name Mixin selector named lastTime
Lnet/minecraft/client/toast/TutorialToast;lastTime:J
intermediary field_2223
Lnet/minecraft/class_372;field_2223:J
official l
Lfjq;l:J
-
lastProgress
private float lastProgress- Mappings:
Namespace Name Mixin selector named lastProgress
Lnet/minecraft/client/toast/TutorialToast;lastProgress:F
intermediary field_2229
Lnet/minecraft/class_372;field_2229:F
official m
Lfjq;m:F
-
progress
private float progress- Mappings:
Namespace Name Mixin selector named progress
Lnet/minecraft/client/toast/TutorialToast;progress:F
intermediary field_2228
Lnet/minecraft/class_372;field_2228:F
official n
Lfjq;n:F
-
hasProgressBar
private final boolean hasProgressBar- Mappings:
Namespace Name Mixin selector named hasProgressBar
Lnet/minecraft/client/toast/TutorialToast;hasProgressBar:Z
intermediary field_2222
Lnet/minecraft/class_372;field_2222:Z
official o
Lfjq;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)V
intermediary <init>
Lnet/minecraft/class_372;<init>(Lnet/minecraft/class_372$class_373;Lnet/minecraft/class_2561;Lnet/minecraft/class_2561;Z)V
official <init>
Lfjq;<init>(Lfjq$a;Lxp;Lxp;Z)V
-
-
Method Details
-
draw
- Specified by:
draw
in interfaceToast
- Mappings:
Namespace Name Mixin selector named draw
Lnet/minecraft/client/toast/Toast;draw(Lnet/minecraft/client/gui/DrawContext;Lnet/minecraft/client/toast/ToastManager;J)Lnet/minecraft/client/toast/Toast$Visibility;
intermediary method_1986
Lnet/minecraft/class_368;method_1986(Lnet/minecraft/class_332;Lnet/minecraft/class_374;J)Lnet/minecraft/class_368$class_369;
official a
Lfjo;a(Lfgs;Lfjp;J)Lfjo$a;
-
hide
public void hide()- Mappings:
Namespace Name Mixin selector named hide
Lnet/minecraft/client/toast/TutorialToast;hide()V
intermediary method_1993
Lnet/minecraft/class_372;method_1993()V
official c
Lfjq;c()V
-
setProgress
public void setProgress(float progress) - Mappings:
Namespace Name Mixin selector named setProgress
Lnet/minecraft/client/toast/TutorialToast;setProgress(F)V
intermediary method_1992
Lnet/minecraft/class_372;method_1992(F)V
official a
Lfjq;a(F)V
-