net.minecraft.client.gui.components.toasts

public class RecipeToast

implements Toast

fqo
net.minecraft.client.gui.components.toasts.RecipeToast
net.minecraft.class_366
net.minecraft.client.toast.RecipeToast

Field summary

Modifier and TypeField
private static final ResourceLocation
a
BACKGROUND_SPRITE
field_45395
TEXTURE
private static final long
e
DISPLAY_TIME
field_32217
DEFAULT_DURATION_MS
private static final Component
f
TITLE_TEXT
field_26533
TITLE
private static final Component
g
DESCRIPTION_TEXT
field_26534
DESCRIPTION
private final List<RecipeToast$Entry>
h
recipeItems
field_52781
displayItems
private long
i
lastChanged
field_2204
startTime
private boolean
j
changed
field_2203
justUpdated
private Toast$Visibility
k
wantedVisibility
field_52782
visibility
private int
l
displayedRecipeIndex
field_52783
currentItemsDisplayed

Constructor summary

ModifierConstructor
private ()

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)
private void
a(cxp arg0, cxp arg1)
addItem(ItemStack arg0, ItemStack arg1)
method_1984(class_1799 arg0, class_1799 arg1)
addRecipes(ItemStack categoryItem, ItemStack unlockedItem)
public static void
a(fqr arg0, ddj arg1)
addOrUpdate(ToastManager arg0, RecipeDisplay arg1)
method_1985(class_374 arg0, class_10295 arg1)
show(ToastManager toastManager, RecipeDisplay display)