Just do `if (mob instanceof Neutral || mob instanceof Passive) {`

no extra parentheses.