Skip to main content

Module recipe

Module recipe 

Source
Expand description

Recipe system for PumpkinPlus.

Each recipe category is implemented as a module implementing the Recipe trait. Recipes are registered with the server in bulk via Recipe::register.

§Supported Recipe Types

TypePumpkin API StatusDescription
shaped✅ AvailableCrafting recipes with a fixed layout
shapeless✅ AvailableCrafting recipes with loose items
cooking✅ AvailableFurnace, smoker, campfire, blast
potion⛔ UnavailablePotion brewing recipes

Structs§

CookingRecipe
A furnace / smoker / blast furnace / campfire recipe.
ItemStack
A stack of items produced by a recipe.
ShapedRecipe
A shaped crafting recipe.
ShapelessRecipe
A shapeless crafting recipe.

Enums§

CookingKind
Variant of cooking recipe.
Ingredient
An ingredient accepted by a recipe.

Traits§

Recipe
A trait representing a collection of custom recipes that can be registered.