Skip to main content

Module types

Module types 

Source
Expand description

Owned recipe data types for plugin interaction.

These types are the plugin-facing representations of crafting recipes. They own their data on the heap (unlike the static codegen’d types in basalt-recipes::generated) and are used in event payloads, registry trait methods, and plugin registration.

Structs§

OwnedShapedRecipe
An owned shaped crafting recipe for plugin-registered custom recipes.
OwnedShapelessRecipe
An owned shapeless crafting recipe for plugin-registered custom recipes.

Enums§

Recipe
A crafting recipe of either shape.