Class TutorialToast
java.lang.Object
net.minecraft.client.gui.components.toasts.TutorialToast
- All Implemented Interfaces:
Toast
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.client.gui.components.toasts.Toast
Toast.Visibility
-
Field Summary
Modifier and TypeFieldDescriptionprivate TutorialToast.Icons
private float
private long
private Component
private float
static int
static int
static int
static int
private boolean
private Component
private Toast.Visibility
-
Constructor Summary
ConstructorDescriptionTutorialToast(TutorialToast.Icons p_94958_, Component p_94959_, Component p_94960_, boolean p_94961_)
-
Method Summary
Modifier and TypeMethodDescriptionvoid
hide()
render(PoseStack p_94965_, ToastComponent p_94966_, long p_94967_)
void
updateProgress(float p_94963_)
-
Field Details
-
PROGRESS_BAR_WIDTH
public static final int PROGRESS_BAR_WIDTH- See Also:
- Constant Field Values
-
PROGRESS_BAR_HEIGHT
public static final int PROGRESS_BAR_HEIGHT- See Also:
- Constant Field Values
-
PROGRESS_BAR_X
public static final int PROGRESS_BAR_X- See Also:
- Constant Field Values
-
PROGRESS_BAR_Y
public static final int PROGRESS_BAR_Y- See Also:
- Constant Field Values
-
icon
-
title
-
message
-
visibility
-
lastProgressTime
private long lastProgressTime -
lastProgress
private float lastProgress -
progress
private float progress -
progressable
private final boolean progressable
-
-
Constructor Details
-
TutorialToast
public TutorialToast(TutorialToast.Icons p_94958_, Component p_94959_, @Nullable Component p_94960_, boolean p_94961_)
-
-
Method Details