You're also going to want to do more robust checking to see if the string is actually a number. `parseInt` throws NumberFormatExceptions if the string isn't one, and possibly return 0 (if for whatever reason it doesn't throw the exception) which is a valid biome ID.