mirror of
https://github.com/Ellpeck/ActuallyAdditions.git
synced 2024-12-23 03:49:22 +01:00
NEI Handler shows how much coffee is used per cup
This commit is contained in:
parent
cb10d387d7
commit
d89bfe8cb1
1 changed files with 2 additions and 1 deletions
|
@ -5,6 +5,7 @@ import codechicken.nei.NEIServerUtils;
|
|||
import codechicken.nei.PositionedStack;
|
||||
import codechicken.nei.recipe.RecipeInfo;
|
||||
import codechicken.nei.recipe.TemplateRecipeHandler;
|
||||
import ellpeck.actuallyadditions.config.values.ConfigIntValues;
|
||||
import ellpeck.actuallyadditions.inventory.gui.GuiCoffeeMachine;
|
||||
import ellpeck.actuallyadditions.items.InitItems;
|
||||
import ellpeck.actuallyadditions.items.ItemCoffee;
|
||||
|
@ -40,7 +41,7 @@ public class CoffeeMachineRecipeHandler extends TemplateRecipeHandler{
|
|||
|
||||
public CachedCoffee(ItemCoffee.Ingredient ingredient){
|
||||
this.cup = new PositionedStack(new ItemStack(InitItems.itemMisc, 1, TheMiscItems.CUP.ordinal()), 45, 39);
|
||||
this.coffeeBeans = new PositionedStack(new ItemStack(InitItems.itemCoffeeBean), 2, 39);
|
||||
this.coffeeBeans = new PositionedStack(new ItemStack(InitItems.itemCoffeeBean, ConfigIntValues.COFFEE_CACHE_USED_PER_ITEM.getValue()), 2, 39);
|
||||
this.ingredientStack = new PositionedStack(ingredient.ingredient.copy(), 90, 21);
|
||||
this.setupResult(ingredient);
|
||||
this.extraText = ingredient.getExtraText();
|
||||
|
|
Loading…
Reference in a new issue