Package net.minecraft.src

Examples of net.minecraft.src.Entity.attackEntityFrom()


      boolean b = false;
      for (Entity e : dragonPartList)
        if (entity == e)
          b = true;
      if (entity instanceof EntityLiving && !b && entity != this) {
        entity.attackEntityFrom(DamageSource.causeMobDamage(this), 10);
      }
    }

  }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.