Class CustomCampfireRecipe

java.lang.Object
com.github.darksoulq.abyssallib.world.recipe.type.CustomCampfireRecipe
All Implemented Interfaces:
BukkitRecipeProvider, CustomRecipe

public class CustomCampfireRecipe extends Object implements CustomRecipe, BukkitRecipeProvider
  • Field Details

  • Constructor Details

    • CustomCampfireRecipe

      public CustomCampfireRecipe(org.bukkit.NamespacedKey id, org.bukkit.inventory.RecipeChoice input, org.bukkit.inventory.ItemStack result, int cookingTime, float exp, Optional<String> group, Optional<org.bukkit.inventory.recipe.CookingBookCategory> category, boolean replace)
  • Method Details

    • getKey

      public org.bukkit.NamespacedKey getKey()
      Specified by:
      getKey in interface CustomRecipe
    • replace

      public boolean replace()
      Specified by:
      replace in interface CustomRecipe
    • getType

      public RecipeType<?> getType()
      Specified by:
      getType in interface CustomRecipe
    • getInput

      public org.bukkit.inventory.RecipeChoice getInput()
    • getResult

      public org.bukkit.inventory.ItemStack getResult()
    • getCookingTime

      public int getCookingTime()
    • getExp

      public float getExp()
    • getGroup

      public Optional<String> getGroup()
    • getCategory

      public Optional<org.bukkit.inventory.recipe.CookingBookCategory> getCategory()
    • toBukkit

      public org.bukkit.inventory.Recipe toBukkit()
      Specified by:
      toBukkit in interface BukkitRecipeProvider