Material Rule Compiler
ModAn experimental optimization to compile material rule(s) to a single static function, and other optimizations to material rules
Type
Mod
Modrinth Downloads
8,028
Modrinth ID
vnpqfrJN
Last Updated
Sep 20, 2026
Description
Material Rule Compiler is an experimental worldgen optimization mod, that works to improve surface builder times by compiling material rules into static functions.
Does the mod change world generation? The mod maintains vanilla parity, including with any datapacks. Do keep in mind, Vanilla non-determinism.
Can I use custom worldgen mods with this? Yes, the mod will fallback to normal execution where it encounters modded content. Though, it is possible to have mod incompatibilites. I do test against major worldgen mods like terratonic etc.
Material Rule Compiler is part of Reverie Projects, check out our other mods as well.
How does this mod work?
Material rule compiler compiles material rules into a simple bytecode and then into method handles, which the jvm automatically compiles into jvm bytecode on continued execution.
How fast is it?
About 30-40% decrease in surface builder execution times.
Socials
Credits
- Ishland for suggesting method handle api
- Taumc members for discussing compat and surface rules
- DJ for testing and benchmarking
Reverie Projects
Consider joining the Reverie Projects for sneak peeks and updates on development! By joining, you can:
- Get installation help and technical support for alot of awesome projects
- Get the latest updates about development
- Talk with and collaborate with our team
- And just hang out with the rest of our community!
Compatibility
Mod Loaders
Game Versions
Recommended Gear
AffiliateHardware and extras that pair well with this mod.
As an Amazon Associate I earn from qualifying purchases.
Screenshots
Similar Mods
Misanthropy's Knockback Modifications
Single Mixin mod that makes the least useful attribute somewhat useful.
LibreExpFix (Fixes "0 Experience" Bug)
A small mod that fixed experience bug after teleporting across dimension
FFL Trinkets Compat
Helping with Elytra mod compatibility between Trinkets and FFL.
Shingeki no Kyojin - Titans
Yet another Attack on Titan mod for 1.16.5
Create:Butter Cat
Create: Butter Cat bring the classic "Butter Cat Paradox" into the Minecraft world with the power of Create.
LostCities-TFC
A version of McJty's LostCities for Terrafirmacraft