    001    package net.minecraft.client.particle;
    002
    003    import cpw.mods.fml.common.Side;
    004    import cpw.mods.fml.common.asm.SideOnly;
    005    import net.minecraft.world.World;
    006
    007    @SideOnly(Side.CLIENT)
    008    public class EntitySplashFX extends EntityRainFX
    009    {
    010        public EntitySplashFX(World par1World, double par2, double par4, double par6, double par8, double par10, double par12)
    011        {
    012            super(par1World, par2, par4, par6);
    013            this.particleGravity = 0.04F;
    014            this.setParticleTextureIndex(this.getParticleTextureIndex() + 1);
    015
    016            if (par10 == 0.0D && (par8 != 0.0D || par12 != 0.0D))
    017            {
    018                this.motionX = par8;
    019                this.motionY = par10 + 0.1D;
    020                this.motionZ = par12;
    021            }
    022        }
    023    }