Skip to content

Commit ad213c8

Browse files
committed
Add CustomRecipe
1 parent 6ba4fcd commit ad213c8

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
package io.github.kiber2009.plugin.contentapi.api.recipe;
2+
3+
import org.bukkit.inventory.ItemStack;
4+
import org.jspecify.annotations.NonNull;
5+
import org.jspecify.annotations.Nullable;
6+
7+
public interface CustomRecipe {
8+
@NonNull ItemStack getResult();
9+
10+
boolean match(final @Nullable ItemStack @NonNull [] matrix);
11+
}

0 commit comments

Comments
 (0)