mirror of
https://github.com/Ellpeck/ActuallyAdditions.git
synced 2024-12-22 19:39:24 +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);
|
||||
|
||||
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;
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue