reduced coal fumes size

This commit is contained in:
Cheese 2015-12-14 15:43:45 +11:00
parent 85f0f6001e
commit bccade55bc

View File

@ -28,19 +28,12 @@ public class ParticleCoalFumes extends ParticleGadget
@EventHandler
public void onUpdate(UpdateEvent event)
{
if(event.getType() != UpdateType.TICK) return;
// int dur = 200;
// int tick = Math.abs(event.getTick()%dur);
// double d = tick/(double)dur;
// float xz = (float) Math.sin(d*Math.PI);
float xz = 2;
if(event.getType() != UpdateType.TICK)
return;
for(Player p : GetActive())
{
UtilParticle.PlayParticleToAll(ParticleType.LARGE_SMOKE, p.getLocation(), xz, 0, xz, 0, 5, ViewDist.NORMAL);
UtilParticle.PlayParticleToAll(ParticleType.LARGE_SMOKE, p.getLocation(), 0.8f, 0, 0.8f, 0, 6, ViewDist.NORMAL);
}
}