Auto convert grinder recipes to datagen
This commit is contained in:
parent
acccaaa84c
commit
d305a7f092
128 changed files with 675 additions and 2792 deletions
|
@ -153,4 +153,16 @@ public class StackIngredient extends RebornIngredient {
|
|||
public int getCount() {
|
||||
return count.orElse(1);
|
||||
}
|
||||
|
||||
public ItemStack getStack() {
|
||||
return stack;
|
||||
}
|
||||
|
||||
public Optional<NbtCompound> getNbt() {
|
||||
return nbt;
|
||||
}
|
||||
|
||||
public boolean isRequireEmptyNbt() {
|
||||
return requireEmptyNbt;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -158,4 +158,8 @@ public class TagIngredient extends RebornIngredient {
|
|||
public int getCount() {
|
||||
return count.orElse(1);
|
||||
}
|
||||
|
||||
public TagKey<Item> getTag() {
|
||||
return tag;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue