Skip to content

Instantly share code, notes, and snippets.

View dexter3k's full-sized avatar

Alexander dexter3k

View GitHub Profile
@dexter3k
dexter3k / reseed.go
Last active February 26, 2019 12:38
Go program to reverse Minecraft seed based on Village locations.
// Copyright Dexter3000 (aka SMemsky) 2018-2019.
// Find me at: github.com/SMemsky
// DONATE ETHEREUM: 0x5Cc0DC5A8E38BaCDB2c316d8B6A052BCB087C8F4
// Thank you :3
// Implementation Note:
// This implementation depends alot on signed integer magic and stuff. Original
// LCG implementation is done in Java and so sign is kept for unexpected bugs I
// didn't think of. Be aware that signed integer bit operations are undefined in