PhysicsComponent physics = getOwner().getPhysics();
physics.activate(2f, new BoxShape(1f, 2f, 1f), false, true);
physics.setFriction(10f);
physics.setRestitution(0f);
DeathDrops dropComponent = getOwner().add(DeathDrops.class);
dropComponent.addDrop(new ItemStack(VanillaMaterials.ARROW, random.nextInt(2)));
dropComponent.addDrop(new ItemStack(VanillaMaterials.BONE, random.nextInt(2)));
dropComponent.addXpDrop((short) 5);
if (getAttachedCount() == 1) {
getOwner().add(Health.class).setSpawnHealth(20);
}
//TODO: There are 2 kinds of damage for Skeles : Sword & Bow, along with different AI when either is equipped