Package net.minecraft.entity.monster

Examples of net.minecraft.entity.monster.EntityMob.attackEntityFrom()


    @SuppressWarnings("rawtypes")
    List list = housing.getWorld().getEntitiesWithinAABB(EntityMob.class, hurtBox);

    for (Object obj : list) {
      EntityMob mob = (EntityMob) obj;
      mob.attackEntityFrom(DamageSource.generic, 2);
    }

    return storedData;
  }
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.