- Got all hammers back

- Added anvil level and recipe input count
This commit is contained in:
Aleksey 2021-01-31 17:35:11 +03:00
parent 7b40047213
commit 68636e2ecd
18 changed files with 176 additions and 85 deletions

View file

@ -16,9 +16,9 @@ import ru.betterend.recipe.builders.AnvilRecipe;
public class REIAnvilDisplay implements TransferRecipeDisplay {
private AnvilRecipe recipe;
private List<List<EntryStack>> input;
private List<EntryStack> output;
private final AnvilRecipe recipe;
private final List<List<EntryStack>> input;
private final List<EntryStack> output;
public REIAnvilDisplay(AnvilRecipe recipe) {
this.recipe = recipe;
@ -29,6 +29,10 @@ public class REIAnvilDisplay implements TransferRecipeDisplay {
public int getDamage() {
return this.recipe.getDamage();
}
public int getInputCount() {
return this.recipe.getInputCount();
}
@Override
public @NotNull Optional<Identifier> getRecipeLocation() {