Class CustomPotionMix

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

public class CustomPotionMix extends Object implements CustomRecipe, PotionMixProvider
  • Field Details

  • Constructor Details

    • CustomPotionMix

      public CustomPotionMix(org.bukkit.NamespacedKey id, org.bukkit.inventory.RecipeChoice input, org.bukkit.inventory.RecipeChoice ingredient, org.bukkit.inventory.ItemStack result, 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()
    • getIngredient

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

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

      public io.papermc.paper.potion.PotionMix toPotionMix()
      Specified by:
      toPotionMix in interface PotionMixProvider