Auto convert grinder recipes to datagen

This commit is contained in:
modmuss50 2023-02-01 22:11:21 +00:00
parent acccaaa84c
commit d305a7f092
128 changed files with 675 additions and 2792 deletions

View file

@ -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;
}
}

View file

@ -158,4 +158,8 @@ public class TagIngredient extends RebornIngredient {
public int getCount() {
return count.orElse(1);
}
public TagKey<Item> getTag() {
return tag;
}
}