Additional information for Altar JEI handler

Hover over the altar image to view Consumption and Drain rates.
This commit is contained in:
Nick 2016-01-17 18:16:17 -08:00
parent 01fcec9a8c
commit 780dcdf7be
3 changed files with 26 additions and 2 deletions
src/main/java/WayofTime/bloodmagic/compat/jei/altar

View file

@ -27,8 +27,10 @@ public class AltarRecipeMaker
ItemStack output = itemStackAltarRecipeEntry.getValue().getOutput();
int requiredTier = itemStackAltarRecipeEntry.getValue().getMinTier().toInt();
int requiredLP = itemStackAltarRecipeEntry.getValue().getSyphon();
int consumptionRate = itemStackAltarRecipeEntry.getValue().getConsumeRate();
int drainRate = itemStackAltarRecipeEntry.getValue().getDrainRate();
AltarRecipeJEI recipe = new AltarRecipeJEI(input, output, requiredTier, requiredLP);
AltarRecipeJEI recipe = new AltarRecipeJEI(input, output, requiredTier, requiredLP, consumptionRate, drainRate);
recipes.add(recipe);
}
}