Class endstone::SmithingTransformRecipe¶
ClassList > endstone > SmithingTransformRecipe
Represents a smithing transform recipe.
#include <endstone/inventory/smithing_transform_recipe.h>
Inherits the following classes: endstone::SmithingRecipe
Public Functions¶
| Type | Name |
|---|---|
| virtual Nullable< RecipeIngredient > | getTemplate () const = 0 Get the template recipe item. |
| ~SmithingTransformRecipe () override |
Public Functions inherited from endstone::SmithingRecipe¶
| Type | Name |
|---|---|
| virtual Nullable< RecipeIngredient > | getAddition () const = 0 Get the addition recipe item. |
| virtual Nullable< RecipeIngredient > | getBase () const = 0 Get the base recipe item. |
| ~SmithingRecipe () override |
Public Functions inherited from endstone::Recipe¶
See endstone::Recipe
| Type | Name |
|---|---|
| virtual const std::string & | getId () const = 0 Get the identifier of this recipe, such as minecraft:crafting_table . |
| virtual const std::vector< Nullable< RecipeIngredient > > & | getIngredients () const = 0 Gets the ingredients consumed by this recipe. |
| virtual ItemStack | getResult () const = 0 Get the result of this recipe. |
| virtual const std::string & | getTag () const = 0 Gets the station this recipe belongs to, such as crafting_table ,smithing_table orfurnace . |
| ~Recipe () override |
Public Functions inherited from endstone::Object¶
See endstone::Object
| Type | Name |
|---|---|
| T * | as () Attempts to cast this object to the given type T. |
| const T * | as () const Attempts to cast this object to the given type T. |
| virtual ClassInfo | getClassInfo () const = 0 |
| bool | is () const Checks if this object is an instance of the given type T (or a subclass of T). |
| virtual bool | isInstanceOf (ClassInfo target) const = 0 |
| virtual | ~Object () = default |
Public Functions Documentation¶
function getTemplate¶
Get the template recipe item.
Returns:
template choice
function ~SmithingTransformRecipe¶
The documentation for this class was generated from the following file include/endstone/inventory/smithing_transform_recipe.h