All Candidate UIDesigner
Interface for customizing the AllCandidateUI, which displays all craft recipe candidates.
All methods have default implementations, so only the parts that need customization must be overridden; the rest fall back to the default behavior.
Internally, bake receives a Context and produces a Baked instance with all values resolved. If the resulting Baked fails validation (contradictory or out-of-range values), a Baked built entirely from default values is used instead.
Since
5.2.0
See also
Types
An immutable snapshot of a resolved AllCandidateUIDesigner with all values fixed at bake time.
Context provided when baking an AllCandidateUIDesigner into a fixed-value Baked instance.
Functions
Returns the slot coordinate and icon item for the button that navigates back to the CraftUI.
Bakes this designer's values with the given context into an immutable Baked instance.
Bakes a context with Context.emptyContext. Shorthand of .bake(Context.emptyContext)
Returns the slot coordinate and icon item for the next-page button.
Returns the icon item shown in recipe slots where the recipe cannot produce a displayable item.
Returns the slot coordinate and icon item for the previous-page button.
Returns the set of slot coordinates where recipe icons can be placed.
Returns the title Component of the AllCandidateUI inventory.
Returns a lambda that produces a placeholder icon for recipe slots whose result item has not yet been generated.