Skip to content

Scan a Minecraft seed for specific bedrock formations to find coordinates from screenshots

Notifications You must be signed in to change notification settings

JorianWoltjer/BedrockFinder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BedrockFinder

Scan the entire World Border in the nether (-3.75m to 3.75m) in 4 minutes. Allows for partial matches with the pattern without performence loss, and is easy to use together with the Fabric Mod to generate code.

Usage

For an example of recreating bedrock, see this post where I find the coordinates to LiveOverflow's base.

  • You can use the /getcode command in LiveOverflowMod to easily get the offsets as Rust code.
  • Then copy the offsets from the chunk start into main.rs.
  • Put blocks you are 100% sure of in the top if statement, and the rest of the blocks in the let count = variable. Then make sure to update MAX_COUNT to the number of blocks in this count variable.

Finally, you can run the program in its most optimized form with:

$ cargo run --release

Example

Drawing on target screenshot:

Drawing on screenshot with bedrock and air

Recreation in-game:

Recreation of bedrock in-game

See the code in main.rs for these offsets gotten with /getcode.

Note: The hardcoded offsets code in this Github repo are for the following formation as an example:

  ██████  
████
████████
  ██████
  ██  ██

Timeline

  • I created this lib.rs as a proof of concept
  • @user32dll and I created a C version (bedrock_finder) to brute-force the coordinates orignally
  • I remade the brute-force algorithm in Rust (this repository) and cleaned up the code

About

Scan a Minecraft seed for specific bedrock formations to find coordinates from screenshots

Resources

Stars

Watchers

Forks

Languages