mirror of
https://github.com/Ellpeck/ActuallyAdditions.git
synced 2024-11-22 23:28:35 +01:00
Made item particles a little faster
This commit is contained in:
parent
244456dae4
commit
ce1ad10398
2 changed files with 3 additions and 3 deletions
|
@ -69,7 +69,7 @@ public final class PacketHandler{
|
||||||
ItemStack stack = new ItemStack(compound);
|
ItemStack stack = new ItemStack(compound);
|
||||||
|
|
||||||
double inX = compound.getDouble("InX")+0.5;
|
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 inZ = compound.getDouble("InZ")+0.5;
|
||||||
|
|
||||||
double outX = compound.getDouble("OutX")+0.5;
|
double outX = compound.getDouble("OutX")+0.5;
|
||||||
|
|
|
@ -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){
|
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.stack = stack;
|
||||||
this.otherX = otherX;
|
this.otherX = otherX;
|
||||||
this.otherY = otherY;
|
this.otherY = otherY;
|
||||||
|
@ -49,7 +49,7 @@ public class ParticleLaserItem extends Particle{
|
||||||
this.motionY = motionY;
|
this.motionY = motionY;
|
||||||
this.motionZ = 0;
|
this.motionZ = 0;
|
||||||
|
|
||||||
this.particleMaxAge = 20;
|
this.particleMaxAge = 10;
|
||||||
this.canCollide = false;
|
this.canCollide = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue