Made item particles a little faster

This commit is contained in:
Ellpeck 2016-12-27 21:43:00 +01:00
parent 244456dae4
commit ce1ad10398
2 changed files with 3 additions and 3 deletions

View file

@ -69,7 +69,7 @@ public final class PacketHandler{
ItemStack stack = new ItemStack(compound);
double inX = compound.getDouble("InX")+0.5;
double inY = compound.getDouble("InY")+0.925;
double inY = compound.getDouble("InY")+0.78;
double inZ = compound.getDouble("InZ")+0.5;
double outX = compound.getDouble("OutX")+0.5;

View file

@ -39,7 +39,7 @@ public class ParticleLaserItem extends Particle{
}
public ParticleLaserItem(World world, double posX, double posY, double posZ, ItemStack stack, double motionY, double otherX, double otherY, double otherZ){
super(world, posX+(world.rand.nextDouble()-0.5)/12, posY, posZ+(world.rand.nextDouble()-0.5)/12);
super(world, posX+(world.rand.nextDouble()-0.5)/8, posY, posZ+(world.rand.nextDouble()-0.5)/8);
this.stack = stack;
this.otherX = otherX;
this.otherY = otherY;
@ -49,7 +49,7 @@ public class ParticleLaserItem extends Particle{
this.motionY = motionY;
this.motionZ = 0;
this.particleMaxAge = 20;
this.particleMaxAge = 10;
this.canCollide = false;
}