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)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val title: Component

Functions

Link copied to clipboard

Validates this Baked instance and returns the result.

Link copied to clipboard

Returns the placeholder icon displayed for recipe until its result item has been generated.