More work on stats. Adding modifyEntity to EntityStat