setEntityProtocol(new CreatureProtocol(CreatureType.SKELETON));
getOwner().add(EntityInventory.class);
getOwner().add(EntityItemCollector.class);
//Physics
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);