Package valorless.havenbags.hooks
Class CustomRecipes
java.lang.Object
valorless.havenbags.hooks.CustomRecipes
@MarkedForRemoval("Originally part of HavenBags API, now deprecated in favor of direct usage of the HavenBagsAPI.")
@Deprecated(since="1.39.0",
forRemoval=true)
public class CustomRecipes
extends Object
Deprecated, for removal: This API element is subject to removal in a future version.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionclassDeprecated, for removal: This API element is subject to removal in a future version. -
Constructor Summary
ConstructorsConstructorDescriptionDeprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Modifier and TypeMethodDescriptionstatic org.bukkit.inventory.ItemStackCreateBag(CustomRecipes.BagInfo template) Deprecated, for removal: This API element is subject to removal in a future version.Creates an ItemStack representing a custom bag based on the given BagInfo template.
-
Constructor Details
-
CustomRecipes
public CustomRecipes()Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Method Details
-
CreateBag
Deprecated, for removal: This API element is subject to removal in a future version.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.
-