Modified RiftFX Classes

Modifed the RiftFX classes so that their particles have noClip = true.
This avoids rifts spamming the collision events of other blocks,
including dimensional doors, and it should improve the performance of DD
a little.
This commit is contained in:
SenseiKiwi
2013-09-08 15:18:48 -04:00
parent f83841a142
commit 44b39be7b7
3 changed files with 3 additions and 3 deletions

View File

@@ -31,7 +31,7 @@ public class ClosingRiftFX extends EntityFX
this.field_92047_az = par14EffectRenderer;
this.particleScale *= .55F;
this.particleMaxAge = 30 + this.rand.nextInt(16);
this.noClip = false;
this.noClip = true;
}
public void func_92045_e(boolean par1)

View File

@@ -31,7 +31,7 @@ public class GoggleRiftFX extends EntityFireworkSparkFX
this.field_92047_az = par14EffectRenderer;
this.particleScale *= .55F;
this.particleMaxAge = 30 + this.rand.nextInt(16);
this.noClip = false;
this.noClip = true;
}
public void renderParticle(Tessellator par1Tessellator, float par2, float par3, float par4, float par5, float par6, float par7)
{

View File

@@ -31,7 +31,7 @@ public class RiftFX extends EntityFX
this.field_92047_az = par14EffectRenderer;
this.particleScale *= 0.75F;
this.particleMaxAge = 40 + this.rand.nextInt(26);
this.noClip = false;
this.noClip = true;
}
public void func_92045_e(boolean par1)