How To Stack Mobs In Minecraft Java. getType () == EntityType.