Smithing recipe builder + REI tool damage diplay
This commit is contained in:
parent
2f6014d441
commit
c1b7c83569
8 changed files with 116 additions and 20 deletions
|
@ -26,6 +26,10 @@ public class REIAnvilDisplay implements TransferRecipeDisplay {
|
|||
this.output = Collections.singletonList(EntryStack.create(recipe.getOutput()));
|
||||
}
|
||||
|
||||
public int getDamage() {
|
||||
return this.recipe.getDamage();
|
||||
}
|
||||
|
||||
@Override
|
||||
public @NotNull Optional<Identifier> getRecipeLocation() {
|
||||
return Optional.ofNullable(recipe).map(Recipe::getId);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue