Class CustomRecipes

java.lang.Object
valorless.havenbags.hooks.CustomRecipes

public class CustomRecipes extends Object
  • Constructor Details

    • CustomRecipes

      public CustomRecipes()
  • Method Details

    • CreateBag

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