Gelatine, jelly, recipes
This commit is contained in:
parent
02e99b8cc4
commit
eca14bce9b
14 changed files with 58 additions and 7 deletions
|
@ -1,5 +1,6 @@
|
|||
package ru.betterend.recipe.builders;
|
||||
|
||||
import java.util.Arrays;
|
||||
import java.util.Map;
|
||||
|
||||
import com.google.common.collect.Maps;
|
||||
|
@ -71,6 +72,10 @@ public class GridRecipe {
|
|||
return addMaterial(key, Ingredient.fromTag(value));
|
||||
}
|
||||
|
||||
public GridRecipe addMaterial(char key, ItemStack... value) {
|
||||
return addMaterial(key, Ingredient.ofStacks(Arrays.stream(value)));
|
||||
}
|
||||
|
||||
public GridRecipe addMaterial(char key, ItemConvertible... values) {
|
||||
for (ItemConvertible item: values) {
|
||||
exist &= RecipeHelper.exists(item);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue