mirror of
https://github.com/GTNewHorizons/BloodMagic.git
synced 2026-11-26 06:42:57 +00:00
Removed needing a buffer chest for the new item routing ritual - working on a few odd quirks, however.
This commit is contained in:
1 parent
2888fcfe07
commit
539bb564fa
12 files changed
+437
-188
No files matched your search
+12
-2
@@ -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;
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user