Fixed Orb filling and added the Weak Blood Orb as a fillable orb.
This commit is contained in:
parent
4145b2a11c
commit
f1a3c5ee46
3 changed files with 23 additions and 14 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue