net.minecraft.client.gui.components.toasts

public class TutorialToast

implements Toast

frg
net.minecraft.client.gui.components.toasts.TutorialToast
net.minecraft.class_372
net.minecraft.client.toast.TutorialToast

Field summary

Modifier and TypeField
private static final ResourceLocation
h
BACKGROUND_SPRITE
field_45397
TEXTURE
public static final int
a
PROGRESS_BAR_WIDTH
field_32222
PROGRESS_BAR_WIDTH
public static final int
e
PROGRESS_BAR_HEIGHT
field_32223
PROGRESS_BAR_HEIGHT
public static final int
f
PROGRESS_BAR_X
field_32224
PROGRESS_BAR_X
public static final int
g
PROGRESS_BAR_MARGIN_BOTTOM
field_55091
field_55091
private static final int
i
PADDING_TOP
field_55092
field_55092
private static final int
j
PADDING_BOTTOM
field_55093
field_55093
private static final int
k
LINE_SPACING
field_55094
field_55094
private static final int
l
TEXT_LEFT
field_55095
field_55095
private static final int
m
TEXT_WIDTH
field_55096
field_55096
private final TutorialToast$Icons
n
icon
field_2225
type
private final List<FormattedCharSequence>
o
lines
field_55097
text
private Toast$Visibility
p
visibility
field_2227
visibility
private long
q
lastSmoothingTime
field_52791
lastTime
private float
r
smoothedProgress
field_52792
lastProgress
private float
s
progress
field_2228
progress
private final boolean
t
progressable
field_2222
hasProgressBar
private final int
u
timeToDisplayMs
field_52793
displayDuration

Constructor summary

ModifierConstructor
public (Font textRenderer, TutorialToast$Icons type, Component title, Component description, boolean hasProgressBar, int arg5)
public (Font textRenderer, TutorialToast$Icons type, Component title, Component description, boolean hasProgressBar)

Method summary

Modifier and TypeMethod
public Toast$Visibility
a()
getWantedVisibility()
method_61988()
getVisibility()
public void
a(frf arg0, long arg1)
update(ToastManager arg0, long arg1)
method_61989(class_374 arg0, long arg1)
update(ToastManager arg0, long arg1)
public int
c()
height()
method_29050()
getHeight()
private int
e()
contentHeight()
method_65180()
getTextHeight()
public void
a(fof arg0, fod arg1, long arg2)
render(GuiGraphics arg0, Font arg1, long arg2)
method_1986(class_332 arg0, class_327 arg1, long arg2)
draw(DrawContext arg0, TextRenderer arg1, long arg2)
public void
d()
hide()
method_1993()
hide()
public void
a(float arg0)
updateProgress(float arg0)
method_1992(float arg0)
setProgress(float progress)