Fixed Orb filling and added the Weak Blood Orb as a fillable orb.

This commit is contained in:
WayofTime 2015-12-22 21:03:00 -05:00
parent 4145b2a11c
commit f1a3c5ee46
3 changed files with 23 additions and 14 deletions

View file

@ -83,5 +83,15 @@ public class AltarRecipeRegistry {
public AltarRecipe(ItemStack input, EnumAltarTier minTier, int consumeRate, int drainRate) {
this(input, null, minTier, 0, consumeRate, drainRate);
}
public boolean doesRequiredItemMatch(ItemStack comparedStack, EnumAltarTier tierCheck)
{
if (comparedStack == null || this.input == null)
{
return false;
}
return tierCheck.ordinal() >= minTier.ordinal() && this.input.isItemEqual(comparedStack);// && (this.useTag ? this.areRequiredTagsEqual(comparedStack) : true);
}
}
}