Hey. I'm currently working on a mob that has a radius of damage around it. So far, this is what I have:
public void onUpdate() {
List list = World.getEntitiesWithinAABBExcludingEntity(Player, player.boundingBox.expand(5D, 5D, 5D));
for (int i = 0; i < list.size(); i++)
{
Entity entity1 = (Entity)list.get(i);
if (entity1 instanceof EntityLiving)
{
entity1.setDead(); //TODO Change to damage
}
}
}
}
I'm afraid I'm not the best programmer out there, and right now this is all I can think to do. Any help would be much appreciated! Sorry I sound like such a noob. xD
Good to know the server is doing so well! We're still thinking of ways to make people Members, AKA: what they should do to become one. If you have any suggestions, please post them!
0
I'm afraid I'm not the best programmer out there, and right now this is all I can think to do. Any help would be much appreciated! Sorry I sound like such a noob. xD
0
0
0
0
0
0
0
0
0
0
0
0
0
0