net.minecraft.client.gui.components.toasts

public class TutorialToast

implements Toast

fqs
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_Y
field_32225
PROGRESS_BAR_Y
private final TutorialToast$Icons
i
icon
field_2225
type
private final Component
j
title
field_2224
title
private final Component
k
message
field_2226
description
private Toast$Visibility
l
visibility
field_2227
visibility
private long
m
lastSmoothingTime
field_52791
field_52791
private float
n
smoothedProgress
field_52792
field_52792
private float
o
progress
field_2228
progress
private final boolean
p
progressable
field_2222
hasProgressBar
private final int
q
timeToDisplayMs
field_52793
field_52793

Constructor summary

ModifierConstructor
public (TutorialToast$Icons type, Component title, Component description, boolean hasProgressBar, int arg4)
public (TutorialToast$Icons arg0, Component arg1, Component arg2, boolean arg3)

Method summary

Modifier and TypeMethod
public Toast$Visibility
a()
getWantedVisibility()
method_61988()
getVisibility()
public void
a(fqr arg0, long arg1)
update(ToastManager arg0, long arg1)
method_61989(class_374 arg0, long arg1)
update(ToastManager arg0, long arg1)
public void
a(fns arg0, fnq 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)