Removed needing a buffer chest for the new item routing ritual - working on a few odd quirks, however.
This commit is contained in:
parent
2888fcfe07
commit
539bb564fa
12 changed files with 437 additions and 188 deletions
|
@ -685,8 +685,18 @@ public class AlchemicalWizardryEventHooks
|
|||
}
|
||||
|
||||
@Optional.Method(modid = "Botania")
|
||||
private boolean isManaBurst(Entity projectile)
|
||||
private boolean isManaBurst(Entity entity)
|
||||
{
|
||||
return projectile instanceof IManaBurst;
|
||||
if(entity instanceof IManaBurst) {
|
||||
ItemStack lens = ((IManaBurst)entity).getSourceLens();
|
||||
if(lens.getItemDamage()!=8 && lens.getItemDamage()!=11)
|
||||
return false;
|
||||
else
|
||||
return true;
|
||||
}
|
||||
else
|
||||
return false;
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue