Examples of toAxisAlignedBB()


Examples of powercrystals.core.position.Area.toAxisAlignedBB()

      }
     
      if(_tick >= 23)
      {
        Area a = new Area(new BlockPosition(this), 3, 3, 3);
        List<?> entities = worldObj.getEntitiesWithinAABB(EntityLiving.class, a.toAxisAlignedBB());
        for(Object o : entities)
        {
          if(o instanceof EntityPlayer)
          {
            ((EntityPlayer)o).addPotionEffect(new PotionEffect(Potion.hunger.id, 20 * 20, 0));
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.