I use minecraft java and dont own a bedrock edition account, I was wondering if there was a calculator that put text through the minecraft hash function to see which seed number it would be when loading the world.
About 8 years ago I wrote a spreadsheet that would take up to a 32 character string and produce the equivalent numeric seed.
Due to limitations of Excel it would only that 8 bit ASCII characters.
Right now I don't know where that file is.
It will take a few days to find it.
EDIT: OK, I found my Excel spreadsheet and looked at how hashcode() works.
First the running total is set to zero.
The numeric value of each character in the input string is added to 31 times the running total.
Since hashcode() uses signed 32 bit integers if the running total would exceed 32 bits the upper bits go into the bit bucket.
To emulate this in Excel I take the mod 2^32 of the running total after the addition.
My spreadsheet, as I said, is limited to the character set that Excel uses.
Java, and therefore Minecraft, seems to accept unicode characters which means my spreadsheet doesn't have the full capabilities of hashcode().
There are no dangerous weapons. There are only dangerous people. R.A. Heinlein
If you aren't part of the solution, then you obviously weren't properly dissolved.
I've just discovered that newer releases of Excel (I have Office 2007) has a function called UNICODE() which is the 16 bit equivalent to the ASCII only CODE() function.
This would make my spreadsheet fully compatible with the hashcode() used by Java.
Rollback Post to RevisionRollBack
There are no dangerous weapons. There are only dangerous people. R.A. Heinlein
If you aren't part of the solution, then you obviously weren't properly dissolved.
I now have a .ods spreadsheet file that works with the input of Unicode characters just like Amidst and Minecraft.
Unfortunately my copy of Excel is too old, HOWEVER LibreCalc in LibreOffice 6.3 does have the Unicode() function so I have saved the workbook (3 sheets) as an .ods file.
There are no dangerous weapons. There are only dangerous people. R.A. Heinlein
If you aren't part of the solution, then you obviously weren't properly dissolved.
I use minecraft java and dont own a bedrock edition account, I was wondering if there was a calculator that put text through the minecraft hash function to see which seed number it would be when loading the world.
The online biome finders, and presumably Amidst, accept either numerical or text strings and tend to display the numeric string along with the map.
MineAtlas:
http://mineatlas.com/
only seems to do Java 1.8
Chunkbase:
https://www.chunkbase.com/apps/biome-finder
does either Java or Bedrock
As far as I can tell the hash algorithm seems to be the same, so if you only want the seed and not the map it may not matter which version you use.
Just testing.
About 8 years ago I wrote a spreadsheet that would take up to a 32 character string and produce the equivalent numeric seed.
Due to limitations of Excel it would only that 8 bit ASCII characters.
Right now I don't know where that file is.
It will take a few days to find it.
EDIT: OK, I found my Excel spreadsheet and looked at how hashcode() works.
First the running total is set to zero.
The numeric value of each character in the input string is added to 31 times the running total.
Since hashcode() uses signed 32 bit integers if the running total would exceed 32 bits the upper bits go into the bit bucket.
To emulate this in Excel I take the mod 2^32 of the running total after the addition.
My spreadsheet, as I said, is limited to the character set that Excel uses.
Java, and therefore Minecraft, seems to accept unicode characters which means my spreadsheet doesn't have the full capabilities of hashcode().
There are no dangerous weapons. There are only dangerous people. R.A. Heinlein
If you aren't part of the solution, then you obviously weren't properly dissolved.
The latest release of Amidst, version 4.6 can be found here:
https://github.com/toolbox4minecraft/amidst/releases
You should probably also read this:
https://www.minecraftforum.net/forums/mapping-and-modding-java-edition/minecraft-tools/2970854-amidst-map-explorer-for-minecraft-1-14
You can find me on the Minecraft Forums Discord server.
https://discord.gg/wGrQNKX
I've just discovered that newer releases of Excel (I have Office 2007) has a function called UNICODE() which is the 16 bit equivalent to the ASCII only CODE() function.
This would make my spreadsheet fully compatible with the hashcode() used by Java.
There are no dangerous weapons. There are only dangerous people. R.A. Heinlein
If you aren't part of the solution, then you obviously weren't properly dissolved.
The latest release of Amidst, version 4.6 can be found here:
https://github.com/toolbox4minecraft/amidst/releases
You should probably also read this:
https://www.minecraftforum.net/forums/mapping-and-modding-java-edition/minecraft-tools/2970854-amidst-map-explorer-for-minecraft-1-14
You can find me on the Minecraft Forums Discord server.
https://discord.gg/wGrQNKX
I now have a .ods spreadsheet file that works with the input of Unicode characters just like Amidst and Minecraft.
Unfortunately my copy of Excel is too old, HOWEVER LibreCalc in LibreOffice 6.3 does have the Unicode() function so I have saved the workbook (3 sheets) as an .ods file.
Here's the link to the file:
xlsx format: https://www.mediafire.com/file/clbpk0oyb16e4gn/Hashcode_Unicode_New_Excel.xlsx/file
ods file: https://www.mediafire.com/file/pi20gg1jbmww5gh/Hashcode_Unicode.ods/file
There are no dangerous weapons. There are only dangerous people. R.A. Heinlein
If you aren't part of the solution, then you obviously weren't properly dissolved.
The latest release of Amidst, version 4.6 can be found here:
https://github.com/toolbox4minecraft/amidst/releases
You should probably also read this:
https://www.minecraftforum.net/forums/mapping-and-modding-java-edition/minecraft-tools/2970854-amidst-map-explorer-for-minecraft-1-14
You can find me on the Minecraft Forums Discord server.
https://discord.gg/wGrQNKX