okay, so which entity should i use if i want to stack only the mobs which we can spawn in monster spawners, because if i use "instanceof Living" it also stacks up the players, so which entity instanceof should i use which will stack up mobs and not players and slappers?
You know you can chain multiple instanceofs right? PHP: if($entity instanceof Living && !($entity instanceof Player) && !($entity instanceof SlapperEntity)){ //Blah, blah, and blah.}