Auto crafting table fixes and improvements.

This now uses the same logic that the rolling machine uses to balance recipes.1.15
Fixes #1891
This commit is contained in:
modmuss50 2019-12-13 10:39:53 +00:00
parent e171d0eabc
commit bd81ca48f6
2 changed files with 120 additions and 83 deletions

View file

@ -57,7 +57,7 @@ public class GuiAutoCrafting extends GuiBase<BuiltContainer> {
@Override
protected void drawForeground(int mouseX, int mouseY) {
super.drawForeground(mouseX, mouseY);
CraftingRecipe recipe = blockEntityAutoCraftingTable.getIRecipe();
CraftingRecipe recipe = blockEntityAutoCraftingTable.getCurrentRecipe();
if (recipe != null) {
renderItemStack(recipe.getOutput(), 95, 42);
}