Class CustomTransmuteRecipe

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

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

  • Constructor Details

    • CustomTransmuteRecipe

      public CustomTransmuteRecipe(org.bukkit.NamespacedKey id, org.bukkit.inventory.RecipeChoice input, org.bukkit.inventory.RecipeChoice material, org.bukkit.inventory.ItemStack result, Optional<String> group, Optional<org.bukkit.inventory.recipe.CraftingBookCategory> 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()
    • getMaterial

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

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

      public Optional<String> getGroup()
    • getCategory

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

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