mirror of
https://github.com/GTNewHorizons/Electro-Magic-Tools.git
synced 2026-11-19 19:49:55 +00:00
Another Cleanup + Removal of GT-Harddep (#74)
* Update deps * Fix generics * Deobfuscate parameters * Minor fixes * Remove GT harddep * Exclude GT6
This commit is contained in:
1 parent
f7a608bf2b
commit
93dd3c91c2
51 files changed
+391
-400
No files matched your search
@@ -99,7 +99,7 @@ public class EntityEnergyBall extends Entity implements IProjectile, IEntityAddi
|
||||
}
|
||||
|
||||
/** Generating Coords for every Entity **/
|
||||
ArrayList<Entity> entities = new ArrayList();
|
||||
ArrayList<Entity> entities = new ArrayList<>();
|
||||
|
||||
int chunkSize = ((RADIUS - 1) >> 4) + 2;
|
||||
|
||||
|
||||
@@ -165,7 +165,7 @@ public class EntityLaser extends Entity implements IThrowableEntity, IProjectile
|
||||
}
|
||||
|
||||
Entity entity = null;
|
||||
List list = this.worldObj.getEntitiesWithinAABBExcludingEntity(
|
||||
List<Entity> list = this.worldObj.getEntitiesWithinAABBExcludingEntity(
|
||||
this,
|
||||
this.boundingBox.addCoord(this.motionX, this.motionY, this.motionZ).expand(1.0D, 1.0D, 1.0D));
|
||||
double d0 = 0.0D;
|
||||
@@ -173,7 +173,7 @@ public class EntityLaser extends Entity implements IThrowableEntity, IProjectile
|
||||
float down;
|
||||
|
||||
for (l = 0; l < list.size(); ++l) {
|
||||
Entity entity1 = (Entity) list.get(l);
|
||||
Entity entity1 = list.get(l);
|
||||
|
||||
if (entity1.canBeCollidedWith() && (entity1 != this.shootingEntity || this.ticksInAir >= 5)) {
|
||||
down = 0.3F;
|
||||
|
||||
Reference in new issue
Block a user