[Changed] AnvilRecipe
has a single input only
This commit is contained in:
parent
e21e81d452
commit
385e0baa5f
2 changed files with 2 additions and 2 deletions
|
@ -67,7 +67,7 @@ public abstract class AbstractSingleInputRecipeBuilder<T extends AbstractSingleI
|
||||||
root.addProperty("group", group);
|
root.addProperty("group", group);
|
||||||
}
|
}
|
||||||
|
|
||||||
root.add("result", ItemUtil.toJsonRecipe(output));
|
root.add("result", ItemUtil.toJsonRecipeWithNBT(output));
|
||||||
}
|
}
|
||||||
|
|
||||||
protected void setupAdvancementForResult() {
|
protected void setupAdvancementForResult() {
|
||||||
|
|
|
@ -247,7 +247,7 @@ public class AnvilRecipe implements Recipe<Container>, UnknownReceipBookCategory
|
||||||
return "AnvilRecipe [" + id + "]";
|
return "AnvilRecipe [" + id + "]";
|
||||||
}
|
}
|
||||||
|
|
||||||
public static class Builder extends AbstractDoubleInputRecipeBuilder<Builder, AnvilRecipe> {
|
public static class Builder extends AbstractSingleInputRecipeBuilder<Builder, AnvilRecipe> {
|
||||||
private int inputCount;
|
private int inputCount;
|
||||||
private int toolLevel;
|
private int toolLevel;
|
||||||
private int anvilLevel;
|
private int anvilLevel;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue