mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-22 13:09:42 +00:00
Added Entropic Lens.
This commit is contained in:
1 parent
c1be6fd71d
commit
05f783e6bd
1 file changed
+7
-1
@@ -219,8 +219,14 @@ public class ItemLens extends ItemMod implements ILens {
|
||||
burst.setMinManaLoss(Math.max(0, burst.getMinManaLoss() - 4));
|
||||
}
|
||||
}
|
||||
case 11 : { // Explosive
|
||||
if(!burst.isFake()) {
|
||||
ChunkCoordinates coords = burst.getBurstSourceChunkCoordinates();
|
||||
if(!entity.worldObj.isRemote && pos.entityHit == null && !isManaBlock && (pos.blockX != coords.posX || pos.blockY != coords.posY || pos.blockZ != coords.posZ))
|
||||
entity.worldObj.createExplosion(entity, entity.posX, entity.posY, entity.posZ, (float) burst.getMana() / 100F, true);
|
||||
} else dead = false;
|
||||
}
|
||||
}
|
||||
|
||||
return dead;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user