Class SimpleRecipe

java.lang.Object
dev.piglin.piglinworldapi.recipe.CustomRecipe
dev.piglin.piglinworldapi.recipe.SimpleRecipe

public class SimpleRecipe extends CustomRecipe
  • Constructor Details

  • Method Details

    • getResult3x3

      public Optional<org.bukkit.inventory.ItemStack> getResult3x3(@NotNull @NotNull org.bukkit.inventory.ItemStack[] ingredients)
      Specified by:
      getResult3x3 in class CustomRecipe
      Parameters:
      ingredients - ItemStack array of size 9
      Returns:
      The result of this craft if any
    • getResult2x2

      public Optional<org.bukkit.inventory.ItemStack> getResult2x2(@NotNull @NotNull org.bukkit.inventory.ItemStack[] ingredients)
      Specified by:
      getResult2x2 in class CustomRecipe
      Parameters:
      ingredients - ItemStack array of size 4
      Returns:
      The result of this craft if any