I'm sure this has been asked dozens of times before but I can't find a consistent answer. So, I'm curious about MC's method of calculating seeds from textual input. I keep reading that anything that isn't strictly a number gets converted to a Java int datatype using the hashcode() function. But the seed I see in my world when I run the /seed command does not match the int returned by the hashcode() method. For reference, when I created my world (verion 1.18.1) I entered the string "Bogosity Worldwide" into the seed generator field. Running "Bogosity Worldwide".hashcode() in a Java Virtual Machine returns -911571947. However, running /seed in-game returns -2321916893369672077, a number that is clearly out of range for a valid int type which is (-2^31, 2^31-1). Can anyone explain this discrepancy between the two seed values?
1