dropComponent.addDrop(new ItemStack(VanillaMaterials.LEATHER, random.nextInt(2)));
dropComponent.addXpDrop((short) (getRandom().nextInt(3) + 1));
if (getAttachedCount() == 1) {
getOwner().add(Health.class).setSpawnHealth(10);
}
NearbyMaterialHolderSensor materialHolderSensor = new NearbyMaterialHolderSensor(getAI(), VanillaMaterials.WHEAT);
materialHolderSensor.setSensorRadius(16);
getAI().registerSensor(materialHolderSensor);
getAI().registerGoal(new FollowMaterialHolderGoal(getAI()));
getAI().registerAction(new FollowMaterialHolderAction(getAI()));
}