Class ICraftRecipe

java.lang.Object
studio.magemonkey.codex.util.craft.api.IAbstractRecipe
studio.magemonkey.codex.util.craft.api.ICraftRecipe

public class ICraftRecipe extends IAbstractRecipe
  • Constructor Details

    • ICraftRecipe

      public ICraftRecipe(@NotNull org.bukkit.plugin.java.JavaPlugin plugin, @NotNull String id, @NotNull org.bukkit.inventory.ItemStack result, boolean shaped)
  • Method Details

    • addIngredient

      public void addIngredient(int pos, @Nullable org.bukkit.inventory.ItemStack item)
      Specified by:
      addIngredient in class IAbstractRecipe
    • getRecipe

      @NotNull public org.bukkit.inventory.Recipe getRecipe()
      Specified by:
      getRecipe in class IAbstractRecipe
    • isShaped

      public boolean isShaped()
    • getShape

      @NotNull public String[] getShape()
    • getIngredients

      public org.bukkit.inventory.ItemStack[] getIngredients()