Package net.minecraft.client.toast
Class TutorialToast
java.lang.Object
net.minecraft.client.toast.TutorialToast
- All Implemented Interfaces:
Toast
@Environment(CLIENT) public class TutorialToast extends Object implements Toast
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTutorialToast.TypeNested classes/interfaces inherited from interface net.minecraft.client.toast.Toast
Toast.Visibility -
Field Summary
Fields Modifier and Type Field Description private Textdescriptionprivate booleanhasProgressBarprivate floatlastProgressprivate longlastTimeprivate floatprogressprivate Texttitleprivate TutorialToast.Typetypeprivate Toast.Visibilityvisibility -
Constructor Summary
Constructors Constructor Description TutorialToast(TutorialToast.Type type, Text title, Text description, boolean hasProgressBar) -
Method Summary
Modifier and Type Method Description Toast.Visibilitydraw(MatrixStack matrices, ToastManager manager, long startTime)voidhide()voidsetProgress(float progress)
-
Field Details
-
type
-
title
-
description
-
visibility
-
lastTime
private long lastTime -
lastProgress
private float lastProgress -
progress
private float progress -
hasProgressBar
private final boolean hasProgressBar
-
-
Constructor Details
-
TutorialToast
public TutorialToast(TutorialToast.Type type, Text title, @Nullable Text description, boolean hasProgressBar)
-
-
Method Details