net.minecraft.client.gui.components.toasts

public class AdvancementToast

implements Toast

fqn
net.minecraft.client.gui.components.toasts.AdvancementToast
net.minecraft.class_367
net.minecraft.client.toast.AdvancementToast

Field summary

Modifier and TypeField
private static final ResourceLocation
e
BACKGROUND_SPRITE
field_45394
TEXTURE
public static final int
a
DISPLAY_TIME
field_41812
DEFAULT_DURATION_MS
private final AdvancementHolder
f
advancement
field_2205
advancement
private boolean
g
playedSound
field_2206
soundPlayed
private Toast$Visibility
h
wantedVisibility
field_52780
visibility

Constructor summary

ModifierConstructor
public (AdvancementHolder advancement)

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)