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 Classes
    Modifier and Type
    Class
    Description
    class 
    Deprecated, for removal: This API element is subject to removal in a future version.
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    Deprecated, for removal: This API element is subject to removal in a future version.
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static org.bukkit.inventory.ItemStack
    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.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • CustomRecipes

      public CustomRecipes()
      Deprecated, for removal: This API element is subject to removal in a future version.
  • Method Details

    • CreateBag

      public static org.bukkit.inventory.ItemStack CreateBag(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. 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.