net.minecraft.client.gui.components.toasts

public class RecipeToast

implements Toast

fjn
net.minecraft.client.gui.components.toasts.RecipeToast
net.minecraft.class_366
net.minecraft.client.toast.RecipeToast
net.minecraft.src.C_3498_

Field summary

Modifier and TypeField
private static final ResourceLocation
a
BACKGROUND_SPRITE
field_45395
TEXTURE
f_291662_
private static final long
d
DISPLAY_TIME
field_32217
DEFAULT_DURATION_MS
f_169076_
private static final Component
e
TITLE_TEXT
field_26533
TITLE
f_94803_
private static final Component
f
DESCRIPTION_TEXT
field_26534
DESCRIPTION
f_94804_
private final List<RecipeHolder<?>>
g
recipes
field_2202
recipes
f_94805_
private long
h
lastChanged
field_2204
startTime
f_94806_
private boolean
i
changed
field_2203
justUpdated
f_94807_

Constructor summary

ModifierConstructor
public (RecipeHolder<?> recipe)

Method summary

Modifier and TypeMethod
public Toast$Visibility
a(fgt arg0, fjq arg1, long arg2)
render(GuiGraphics arg0, ToastComponent arg1, long arg2)
method_1986(class_332 arg0, class_374 arg1, long arg2)
draw(DrawContext arg0, ToastManager arg1, long arg2)
m_7172_(C_279497_ p_281321_, C_3503_ p_281779_, long arg2)
private void
a(cyz<?> arg0)
addItem(RecipeHolder<?> arg0)
method_1984(class_8786<?> arg0)
addRecipes(RecipeEntry<?> recipe)
m_94811_(C_290175_<?> arg0)
public static void
a(fjq arg0, cyz<?> arg1)
addOrUpdate(ToastComponent arg0, RecipeHolder<?> arg1)
method_1985(class_374 arg0, class_8786<?> arg1)
show(ToastManager manager, RecipeEntry<?> recipe)
m_94817_(C_3503_ p_94818_, C_290175_<?> p_300003_)