Package valorless.havenbags.hooks
Class CustomRecipes
java.lang.Object
valorless.havenbags.hooks.CustomRecipes
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic org.bukkit.inventory.ItemStack
CreateBag
(CustomRecipes.BagInfo template) Creates an ItemStack representing a custom bag based on the given BagInfo template.
-
Constructor Details
-
CustomRecipes
public CustomRecipes()
-
-
Method Details
-
CreateBag
Creates an ItemStack representing a custom bag based on the given BagInfo template. The bag's material, size, model data, display name, and lore are configured based on the template and config settings.- Parameters:
template
- The BagInfo object containing the template information for creating the bag.- Returns:
- An ItemStack representing the created bag.
-