Interface RecipeFactory
Creates the recipe objects of this package, implemented by the server.
Plugins do not call it: they go through the static methods of the types it creates, such as
ShapedRecipe.builder(Key) or Ingredient.of(TypedKey...).
- Since:
- 0.1.0
-
Method Summary
Modifier and TypeMethodDescriptionstatic RecipeFactoryfactory()items(Collection<TypedKey<Item>> items) match(CraftingRecipe recipe, ItemStack result, int[] consumed)
-
Method Details
-
factory
- Returns:
- the factory the server provides
- Since:
- 0.1.0
-
shaped
- See Also:
-
shapeless
- See Also:
-
transmute
- See Also:
-
items
- See Also:
-
tag
- See Also:
-
exact
- See Also:
-
matching
- See Also:
-
input
- See Also:
-
match
- See Also:
-