In CraftBlockState.java we reduced the amount of if statements in the
equals method.