use of icbm.classic.content.explosive.thread.ThreadSky in project ICBM-Classic by BuiltBrokenModding.
the class BlastBeam method doPreExplode.
/** Called before an explosion happens */
@Override
public void doPreExplode() {
if (!this.world().isRemote) {
this.world().createExplosion(this.exploder, position.x(), position.y(), position.z(), 4F, true);
this.lightBeam = new EntityLightBeam(this.world(), position, 20 * 20, this.red, this.green, this.blue);
this.world().spawnEntityInWorld(this.lightBeam);
this.thread = new ThreadSky(this.position, (int) this.getRadius(), 50, this.exploder);
this.thread.start();
}
}
Aggregations