Package net.minecraft.src

Examples of net.minecraft.src.DamageSource


            * motionZ);
        int j1 = (int) Math.ceil((double) f1 * 2D);
        if (arrowCritical) {
          j1 += rand.nextInt(j1 / 2 + 2);
        }
        DamageSource damagesource = null;
        if (shootingEntity == null)
          damagesource = DamageSource.causeArrowDamage(new EntityArrow(worldObj), this);
        else
          damagesource = DamageSource.causeArrowDamage(new EntityArrow(worldObj),
              shootingEntity);
View Full Code Here

TOP

Related Classes of net.minecraft.src.DamageSource

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.