Baked
class Baked(val title: Component, val recipeSlots: Set<CoordinateComponent>, val previousPageButton: Pair<CoordinateComponent, ItemStack>, val nextPageButton: Pair<CoordinateComponent, ItemStack>, val backToCraftUIButton: Pair<CoordinateComponent, ItemStack>, val noDisplayableItem: ItemStack, val ungeneratedIconPlaceholderItem: (CRecipe) -> ItemStack)
An immutable snapshot of a resolved AllCandidateUIDesigner with all values fixed at bake time.
Obtained by calling bake or bakeWithEmptyContext. If any value fails isValid, the system falls back to a Baked built entirely from the DEFAULT designer.
Since
5.2.0
Constructors
Link copied to clipboard
constructor(title: Component, recipeSlots: Set<CoordinateComponent>, previousPageButton: Pair<CoordinateComponent, ItemStack>, nextPageButton: Pair<CoordinateComponent, ItemStack>, backToCraftUIButton: Pair<CoordinateComponent, ItemStack>, noDisplayableItem: ItemStack, ungeneratedIconPlaceholderItem: (CRecipe) -> ItemStack)
Properties
Functions
Link copied to clipboard
Returns the placeholder icon displayed for recipe until its result item has been generated.