Always use the latest (stable) version!
In-game Minecraft Fabric mod that allows you to do various things with the world seed. For reference, have a look at the features this mod has. Keep in mind though, this mod requires you to have access to the seed. If the seed is not known, you could crack it using SeedCrackerX by 19MisterX98. For questions and support please head to my Discord.
- Install the Fabric Loader
- Download the Fabric API and move it to your mods folder
- Linux/Windows:
.minecraft/mods
- Mac:
minecraft/mods
- Linux/Windows:
- Download SeedMapper from the releases page and move it to your mods folder
You need to have Java 23 installed to use this mod. I recommend to get Java 23 from adoptium.net. Next, configure your Minecraft launcher to use this release of Java.
- Vanilla launcher: Go to
Installations
->Edit
->More options
->Java executable
. - MultiMC: Go to
Edit Instance
->Settings
->Java
->Java Installation
. - PrismLauncher: Go to
Settings
->Java
->Java Runtime
->Auto-Detect...
.- Do not forget to enable "Skip Java compatibility checks".
If you run into issues, contact your launcher's support.
Before using any of these commands, make sure the seed has been configured using /cconfig seedmapper Seed set <seed>
.
Usage: /sm:locate biome <biome>
Locates a given biome closest to the player. All biomes in all dimensions are supported.
Usage: /sm:locate feature structure <structure>
Locates a given structure closest to the player. All structures in all dimensions are supported. However, due to limitations in the underlying library, some structures (in particular desert pyramids, jungle temples and woodland mansions) may result in occasional false positives.
Usage: /sm:locate feature slimechunk
Locates a slime chunk closest to the player. This will always be accurate.
Usage: /sm:source (run)|(as <entity>)|(positioned <position>)|(rotated <rotation>)|(in <dimension>)|(versioned <version>)|(seeded <seed>)
Executes a given command from a modified source. For example, modifying the source's position will execute the command as if you were in that position. This command is really powerful, use it!
This mod internally uses (a fork of) the C library cubiomes by Cubitect. Java bindings for this library were created with jextract. The bindings use the Foreign Function & Memory API from Project Panama.
To build the mod from scratch, do the following:
- Install LLVM 13.0.0
- Clone
jextract
and build it:You will find the tool in the./gradlew -Pjdk22_home=<jdk22_home_dir> -Pllvm_home=<libclang_dir> clean verify
build/jextract/bin/
folder. You must use Java 22 to buildjextract
! - Compile cubiomes to a shared library (the following is for Windows):
gcc -shared -o src/main/resources/libcubiomes.dll src/main/c/noise.c src/main/c/biomes.c src/main/c/layers.c src/main/c/biomenoise.c src/main/c/generator.c src/main/c/finders.c src/main/c/util.c src/main/c/quadbase.c -O3
- Run the following command:
jextract --include-dir src/main/c --output src/main/java --target-package com.github.cubiomes --library src/main/resources/libcubiomes --header-class-name Cubiomes --use-system-load-library src/main/c/tables/btree18.h tables/btree19.h tables/btree20.h tables/btree192.h tables/btree21wd.h biomenoise.h biomes.h finders.h generator.h layers.h noise.h quadbase.h rng.h util.h
- Delete any library loads in
Cubiomes_1.java