Class CustomSmithingTransformRecipe

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

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

  • Constructor Details

    • CustomSmithingTransformRecipe

      public CustomSmithingTransformRecipe(org.bukkit.NamespacedKey id, org.bukkit.inventory.RecipeChoice base, org.bukkit.inventory.RecipeChoice template, org.bukkit.inventory.RecipeChoice addition, org.bukkit.inventory.ItemStack result, Optional<Boolean> copyComponents, 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
    • getBase

      public org.bukkit.inventory.RecipeChoice getBase()
    • getTemplate

      public org.bukkit.inventory.RecipeChoice getTemplate()
    • getAddition

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

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

      public Optional<Boolean> getCopyComponents()
    • toBukkit

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