This version is for Minecraft 1.20.0+
Add the following to your build.gradle repositories block
maven {url "https://repo.jellejurre.dev"}
and the following to your build.gradle dependencies block:
implementation 'com.github.KalleStruik:noise-sampler:1.20.0'
Original noise sampling code from carpet mod.
Original noise implementation from Mojang.
Spliced together and optimized by dragontamerfred (discord: @dragontamerfred#2779) jellejurre (discord: @jellejurre#8585)