Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Layered Generator #409

Draft
wants to merge 154 commits into
base: ver/6.4.0
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
154 commits
Select commit Hold shift + click to select a range
e831f85
Partial layered generator implementation
astrsh Jul 11, 2022
2a9d940
Finish initial layered generator implementation
astrsh Jul 12, 2022
11044b6
Store palettes and predicates in registries
astrsh Jul 16, 2022
809a642
Rename some keys
astrsh Jul 16, 2022
698725c
Implement layer samplers
astrsh Jul 16, 2022
b57b71b
Replace BLOCK layer palette with PALETTE
astrsh Jul 16, 2022
edcba97
Implement biome defined layer palettes
astrsh Jul 16, 2022
4d31fda
Implement layer palette groups
astrsh Jul 16, 2022
fea7d7a
Implement sampler operators + sampler list predicate
astrsh Jul 17, 2022
0b057c5
Add platform air layer palette
astrsh Jul 17, 2022
237b897
Rename predicates key to tests
astrsh Jul 17, 2022
7baace0
Change layer class method signatures
astrsh Jul 18, 2022
c733c21
Implement biome defined layer samplers
astrsh Jul 18, 2022
55e024d
Change layer signatures
astrsh Jul 30, 2022
50397a4
Add loaders for vector classes
astrsh Jul 30, 2022
d9bd913
Add point sets to layered gen
astrsh Jul 30, 2022
596c84a
Forgot signature change in chunk generator
astrsh Jul 30, 2022
9a171b0
Implement dot product layer palette
astrsh Jul 30, 2022
c2902cc
Add paralithic as layered gen dependency
astrsh Jul 30, 2022
bd139a8
BooleanOperator -> RelationalOperator
astrsh Jul 30, 2022
e51fb9c
Merge branch 'ver/6.4.0' into dev/layered-generator
astrsh Oct 1, 2023
aec00d9
Merge pull request #428 from PolyhedralDev/ver/6.4.0
duplexsystem Nov 13, 2023
15e72ba
Merge pull request #429 from PolyhedralDev/ver/6.4.0
duplexsystem Nov 17, 2023
4f706f5
Merge pull request #430 from PolyhedralDev/ver/6.4.0
duplexsystem Nov 17, 2023
866d527
bump version
duplexsystem Nov 17, 2023
e499dde
update condeowners
duplexsystem Nov 17, 2023
6060cea
Merge pull request #432 from PolyhedralDev/dev/codeowners
duplexsystem Nov 18, 2023
3aef977
Patch version 6.4.1 (#435)
astrsh Nov 25, 2023
2c211f0
Merge branch 'master' into ver/6.5.0
astrsh Nov 25, 2023
ffb1198
Merge branch 'master' into ver/6.5.0
astrsh Nov 25, 2023
c82e015
flatten array for pipeline biomes
duplexsystem Nov 27, 2023
734d4bf
reformat
duplexsystem Nov 27, 2023
382069b
Bump Version to 6.4.2
duplexsystem Nov 27, 2023
aecdcd5
initial 1.20.3
duplexsystem Nov 27, 2023
55d0981
Merge pull request #436 from PolyhedralDev/dev/flatten-biome-array
duplexsystem Nov 28, 2023
86f2356
Merge branch 'ver/6.4.2' into ver/6.5.0
duplexsystem Nov 28, 2023
913637b
update deps
duplexsystem Dec 6, 2023
bc65015
update gradle
duplexsystem Dec 6, 2023
3339d08
Create gradle-build.yml
duplexsystem Dec 6, 2023
601d174
pin versions and remove dead lines
duplexsystem Dec 6, 2023
e4df8dc
proper gradle cache
duplexsystem Dec 6, 2023
b612d1c
fix name
duplexsystem Dec 6, 2023
cb9aa4f
fix permissions
duplexsystem Dec 6, 2023
e160cae
reformat
duplexsystem Dec 6, 2023
e4c3aff
pull up version range
duplexsystem Dec 6, 2023
fc0d737
remove old bukkit versions
duplexsystem Nov 17, 2023
5048bc8
Remove folialib
duplexsystem Dec 6, 2023
80c5287
add additional spigot warning
duplexsystem Dec 6, 2023
db8df97
bukkit 1.20.3
duplexsystem Dec 7, 2023
4e5b066
add bukkit grass workaround
duplexsystem Dec 7, 2023
46ca45c
fix bukkit build
duplexsystem Dec 7, 2023
11b03eb
actually bump bukkit version
duplexsystem Dec 7, 2023
0ba0d47
seems arch loom auto uses vineflower now
duplexsystem Dec 7, 2023
fd6decc
Merge pull request #439 from PolyhedralDev/dev/github-actions
duplexsystem Dec 7, 2023
a1db057
Merge branch 'ver/6.4.2' into dev/1.20.3
duplexsystem Dec 7, 2023
2f46a01
Merge remote-tracking branch 'origin/master' into ver/6.4.2
duplexsystem Dec 7, 2023
554887a
build fabric against 1.20.4
duplexsystem Dec 7, 2023
8043814
pull up version range of fabric
duplexsystem Dec 7, 2023
17eac50
Merge branch 'ver/6.4.2' into dev/1.20.3
duplexsystem Dec 7, 2023
d88e4f1
fix stupid error
duplexsystem Dec 9, 2023
0178764
Add Vale config to gitignore
duplexsystem Dec 9, 2023
5cf8a50
Merge branch 'ver/6.4.2' into dev/1.20.3
duplexsystem Dec 9, 2023
8af299d
fix path of vale ignore
duplexsystem Dec 9, 2023
b5532b7
Merge branch 'ver/6.4.2' into dev/1.20.3
duplexsystem Dec 9, 2023
3142c2a
update paper to 1.20.4
duplexsystem Dec 9, 2023
f9c9789
remove unused maven repo
duplexsystem Dec 9, 2023
687ad5d
Final dep update
duplexsystem Dec 9, 2023
2a92d76
Merge pull request #437 from PolyhedralDev/dev/1.20.3
duplexsystem Dec 9, 2023
1e55074
Enforce NMS bindings
duplexsystem Dec 10, 2023
0ad7ee4
fix CME
duplexsystem Dec 10, 2023
f408faa
reformat
duplexsystem Dec 11, 2023
22c46f2
Pin OWConfig Version
duplexsystem Dec 11, 2023
fc764a0
fix issues with spawners and entity parsing
duplexsystem Dec 11, 2023
4a83f01
fix incase mods are used
duplexsystem Dec 11, 2023
41045ae
literally forgor the most important part
duplexsystem Dec 11, 2023
0091e5b
spell check
duplexsystem Dec 11, 2023
fd20837
fix error on startup
duplexsystem Dec 17, 2023
3745c3e
fix typos
duplexsystem Dec 17, 2023
da4ab8b
Merge pull request #441 from PolyhedralDev/ver/6.4.2
duplexsystem Dec 18, 2023
8afda74
Merge branch 'master' into ver/6.5.0
duplexsystem Dec 22, 2023
84cd96e
fix BrownianMotionSampler lerp usage
dfsek Dec 24, 2023
3622003
fix other lerp issues
dfsek Dec 24, 2023
d8ba9e1
bump version
dfsek Dec 24, 2023
ab60f14
Merge pull request #444 from PolyhedralDev/dev/fix-lerp
dfsek Dec 24, 2023
6681bdf
Merge remote-tracking branch 'origin/master' into ver/6.5.0
duplexsystem Dec 25, 2023
271e7f3
Fix empty slant holders attempting to calculate slant
astrsh Jan 5, 2024
9c181f7
Add ability to disable slant palettes globally
astrsh Jan 5, 2024
f3476c5
Add feature stage blending
astrsh Jan 7, 2024
c52ad56
Return null for empty generator IDs
Browsit Feb 2, 2024
94949c9
Merge pull request #449 from Browsit/ver/6.5.0
duplexsystem Feb 23, 2024
01e011a
UX tweaks to biome config
duplexsystem Jan 5, 2024
142d364
WIP fractal-gavoro-pseudoerosion
astrsh Apr 16, 2024
41652d2
Use proper check for derivative sampler validation
astrsh Apr 19, 2024
35246d6
Require implementing derivable check
astrsh Apr 19, 2024
ff03b38
Derivative API documentation
astrsh Apr 19, 2024
823afd5
Reduce number of erosion impulses
astrsh Apr 20, 2024
62317a2
Add SaltedNoiseFunctions
pumken Apr 21, 2024
72f7616
Add SaltedNoiseFunctions in sampler conversion
pumken Apr 21, 2024
c20b1ea
Apply code style fixes
pumken Apr 21, 2024
dd272bc
WIP 1.20.6
duplexsystem May 1, 2024
17acde0
Updated Bukkit to 1.20.6
OakLoaf May 31, 2024
3fa4b21
Attempted to fix paper versions
OakLoaf Jun 2, 2024
4536767
Updated to 1.20.6
OakLoaf Jun 3, 2024
9e60db4
Updated MinecraftVersionInfo
OakLoaf Jun 10, 2024
4e7de50
Updated bukkit platform to 1.21
OakLoaf Jun 16, 2024
d810cad
Adjusted code for Spigot compatibility
OakLoaf Jun 17, 2024
0758e13
Made patch version optional as not all Minecraft versions have a patc…
OakLoaf Jun 19, 2024
fddc9a5
Temporarily disabled commands whilst awaiting Cloud Framework update
OakLoaf Jun 19, 2024
e7cc275
Corrected issues with worldGenContext not correctly being set (Ref: h…
OakLoaf Jun 23, 2024
44d2357
Updated dependencies to Paper 1.21 snapshot
OakLoaf Jul 20, 2024
922cd35
Updated Cloud dependency to v2
OakLoaf Aug 16, 2024
08df5fc
Added 1.21.1 support
OakLoaf Aug 26, 2024
3bef7d8
Resolved errors when tab completing
OakLoaf Aug 26, 2024
7304728
Merge pull request #461 from OakLoaf/dev/1.21/bukkit
duplexsystem Sep 17, 2024
664d1a3
working 1.20.6
duplexsystem Sep 17, 2024
15a2983
working 1.21.1
duplexsystem Sep 17, 2024
a23d624
Merge branch 'dev/1.21.1' into ver/6.5.0
duplexsystem Sep 17, 2024
8cf766e
Merge pull request #455 from pumken/seasoned-samplers-2
duplexsystem Sep 17, 2024
b63f5f4
Reformat
duplexsystem Sep 18, 2024
06457bf
some fixes
duplexsystem Sep 18, 2024
b14b355
Merge branch 'dev/fractal-gavoro-pseudoerosion' into ver/6.5.0
duplexsystem Sep 21, 2024
3644ee7
Implement DerivateNoiseFunction
duplexsystem Sep 23, 2024
b1ad820
Move pseudoerosion to NoiseFunction
duplexsystem Sep 23, 2024
07e3d00
Refractor PseudoErosion
duplexsystem Sep 23, 2024
699d5d1
Derivable OpenSimplex2S Impl
duplexsystem Sep 24, 2024
5b35eb0
Remove temp DerivativeFractl nose
duplexsystem Sep 24, 2024
5f340f8
slight open simplex 2s op\pt
duplexsystem Sep 24, 2024
017b460
Fix build
duplexsystem Sep 24, 2024
bd73427
OpenSimplex 2 Derivative Impl
duplexsystem Sep 24, 2024
1d05f95
Sin/Cos Opts
duplexsystem Sep 24, 2024
10d7233
Fix build
duplexsystem Sep 24, 2024
f469193
Make seed affect pseudoerosion hasing
duplexsystem Sep 24, 2024
d6772f5
Reformat
duplexsystem Sep 24, 2024
42166d5
bump version number
duplexsystem Sep 24, 2024
d69b0db
reformat 2
duplexsystem Sep 24, 2024
9c8298f
convert pseudoerosion to double
duplexsystem Sep 24, 2024
f1124aa
Update platform mod file versions and authors
duplexsystem Sep 24, 2024
f87b7c0
Reformat
duplexsystem Sep 24, 2024
f605ee1
Remove Final from psuedoerosion template
duplexsystem Sep 24, 2024
59d943b
Revert "Fix build"
duplexsystem Sep 24, 2024
6244ffc
Revert "Sin/Cos Opts"
duplexsystem Sep 24, 2024
2c45ba9
Fix up commit
duplexsystem Sep 24, 2024
6cc53be
Fix Sin/Cos
duplexsystem Sep 24, 2024
1aa3ef8
add default sampler to pseudoerosion
duplexsystem Sep 24, 2024
13782bb
Remforamt
duplexsystem Sep 24, 2024
c374c2d
Merge pull request #467 from PolyhedralDev/ver/6.5.0
duplexsystem Sep 24, 2024
589cf83
Flip comparison
astrsh Sep 25, 2024
f70a83a
fix spawners on bukkit
duplexsystem Sep 25, 2024
b7326c0
Merge pull request #469 from PolyhedralDev/dev/fix-bukkit-spawner
duplexsystem Sep 25, 2024
060cbfd
Update CODEOWNERS
duplexsystem Oct 12, 2024
5927884
Update CODEOWNERS
duplexsystem Oct 12, 2024
12faae8
Use reflection remapper for worldGenContext on bukkit
duplexsystem Oct 13, 2024
0a952cf
bump build number
duplexsystem Oct 13, 2024
3eb6f89
Merge remote-tracking branch 'origin/master' into dev/layered-generator
duplexsystem Oct 14, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 7 additions & 12 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -1,19 +1,14 @@
# Global owners, automatically request review when pull request is submitted
* @dfsek @solonovamax
* @dfsek @solonovamax @duplexsystem @astrsh @justaureus

# Platforms
## dfsek wrote the majority of the platform impls
/platforms/bukkit/ @dfsek
/platforms/fabric/ @dfsek
/platforms/forge/ @dfsek
/platforms/sponge/ @dfsek
## solonovamax is working on the region generator (unless duplexsystem takes it over)
/platforms/region/ @solonovamax
/platforms/ @dfsek @solonovamax @duplexsystem @justaureus
/platforms/bukkit @dfsek @solonovamax @duplexsystem @justaureus @OakLoaf

# Common
/common/ @dfsek @solonovamax
/common/ @dfsek @solonovamax @duplexsystem @astrsh

# Gradle Stuff
## Most gradle stuff was written by solonovamax
/buildSrc/ @solonovamax
*.gradle.kts @solonovamax
/buildSrc/ @dfsek @solonovamax @duplexsystem
*.gradle.kts @dfsek @solonovamax @duplexsystem
/gradle/ @dfsek @solonovamax @duplexsystem
47 changes: 47 additions & 0 deletions .github/workflows/gradle-build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
# This workflow uses actions that are not certified by GitHub.
# They are provided by a third-party and are governed by
# separate terms of service, privacy policy, and support
# documentation.
# This workflow will build a package using Gradle and then publish it to GitHub packages when a release is created
# For more information see: https://github.com/actions/setup-java/blob/main/docs/advanced-usage.md#Publishing-using-gradle

name: Gradle Build

on: [ pull_request ]

jobs:
build:

runs-on: ubuntu-latest
permissions:
contents: read

steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
- name: Set up JDK 21
uses: actions/setup-java@387ac29b308b003ca37ba93a6cab5eb57c8f5f93
with:
java-version: '21'
distribution: 'temurin'
server-id: github # Value of the distributionManagement/repository/id field of the pom.xml
settings-path: ${{ github.workspace }} # location for the settings.xml file

- uses: burrunan/gradle-cache-action@03c71a8ba93d670980695505f48f49daf43704a6
name: Build Terra
with:
# Specifies arguments for Gradle execution
# If arguments is missing or empty, then Gradle is not executed
arguments: build
# arguments can be multi-line for better readability
# arguments: |
# --no-paralell
# build
# -x test
# Gradle version to use for execution:
# wrapper (default), current, rc, nightly, release-nightly, or
# versions like 6.6 (see https://services.gradle.org/versions/all)
gradle-version: wrapper
# Properties are passed as -Pname=value
properties: |
kotlin.js.compiler=ir
kotlin.parallel.tasks.in.project=true
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -249,3 +249,5 @@ nbdist/

platforms/**/run/**

#Vale Config File
**/.vale.ini
9 changes: 5 additions & 4 deletions build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
preRelease(true)

versionProjects(":common:api", version("6.4.0"))
versionProjects(":common:implementation", version("6.4.0"))
versionProjects(":platforms", version("6.4.0"))
versionProjects(":common:api", version("6.5.1"))
versionProjects(":common:implementation", version("6.5.1"))
versionProjects(":platforms", version("6.5.1"))


allprojects {
Expand All @@ -15,6 +15,7 @@ allprojects {
tasks.withType<JavaCompile>().configureEach {
options.isFork = true
options.isIncremental = true
options.release.set(21)
}

tasks.withType<Test>().configureEach {
Expand Down Expand Up @@ -44,7 +45,7 @@ afterEvaluate {
}
project(":platforms:bukkit:common").configureDistribution()
forSubProjects(":common:addons") {
apply(plugin = "com.github.johnrengelman.shadow")
apply(plugin = "com.gradleup.shadow")

tasks.named("build") {
finalizedBy(tasks.named("shadowJar"))
Expand Down
14 changes: 7 additions & 7 deletions buildSrc/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -9,18 +9,18 @@ repositories {
maven("https://repo.codemc.org/repository/maven-public") {
name = "CodeMC"
}
maven("https://papermc.io/repo/repository/maven-public/") {
maven("https://repo.papermc.io/repository/maven-public/") {
name = "PaperMC"
}
}

dependencies {
//TODO Allow pulling from Versions.kt
implementation("com.github.johnrengelman", "shadow", "8.1.1")
implementation("io.papermc.paperweight.userdev", "io.papermc.paperweight.userdev.gradle.plugin", "1.5.6")
implementation("com.gradleup.shadow", "shadow-gradle-plugin", "8.3.1")
implementation("io.papermc.paperweight.userdev", "io.papermc.paperweight.userdev.gradle.plugin", "1.7.2")

implementation("org.ow2.asm", "asm", "9.5")
implementation("org.ow2.asm", "asm-tree", "9.5")
implementation("com.dfsek.tectonic", "common", "4.2.0")
implementation("org.yaml", "snakeyaml", "2.2")
implementation("org.ow2.asm", "asm", "9.7")
implementation("org.ow2.asm", "asm-tree", "9.7")
implementation("com.dfsek.tectonic", "common", "4.2.1")
implementation("org.yaml", "snakeyaml", "2.3")
}
4 changes: 2 additions & 2 deletions buildSrc/src/main/kotlin/AddonConfig.kt
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ fun Project.addonDir(dir: File, task: Task) {
matchingAddons(dir) {
it.name.startsWith("Terra-") // Assume everything that starts with Terra- is a core addon.
}.forEach {
println("Deleting old addon: " + it.absolutePath)
logger.info("Deleting old addon: " + it.absolutePath)
it.delete()
}
forSubProjects(":common:addons") {
Expand All @@ -29,7 +29,7 @@ fun Project.addonDir(dir: File, task: Task) {

val base = "${jar.archiveBaseName.get()}-${version}"

println("Copying addon ${jar.archiveFileName.get()} to ${target.absolutePath}. Base name: $base")
logger.info("Copying addon ${jar.archiveFileName.get()} to ${target.absolutePath}. Base name: $base")

jar.archiveFile.orNull?.asFile?.copyTo(target)
}
Expand Down
4 changes: 2 additions & 2 deletions buildSrc/src/main/kotlin/CompilationConfig.kt
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ fun Project.configureCompilation() {
apply<TectonicDocPlugin>()

configure<JavaPluginExtension> {
sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17
sourceCompatibility = JavaVersion.VERSION_21
targetCompatibility = JavaVersion.VERSION_21
}

tasks.withType<JavaCompile> {
Expand Down
16 changes: 8 additions & 8 deletions buildSrc/src/main/kotlin/DependencyConfig.kt
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ fun Project.configureDependencies() {
maven("https://repo.codemc.org/repository/maven-public") {
name = "CodeMC"
}
maven("https://papermc.io/repo/repository/maven-public/") {
maven("https://repo.papermc.io/repository/maven-public/") {
name = "PaperMC"
}
maven("https://files.minecraftforge.net/maven/") {
Expand All @@ -48,17 +48,17 @@ fun Project.configureDependencies() {
maven("https://jitpack.io") {
name = "JitPack"
}
maven("https://nexuslite.gcnt.net/repos/other/") {
name = "GCNT"
maven("https://s01.oss.sonatype.org/content/repositories/snapshots/") {
name = "Sonatype Snapshots"
}
}

dependencies {
testImplementation("org.junit.jupiter:junit-jupiter-api:5.7.0")
testImplementation("org.junit.jupiter:junit-jupiter-engine:5.7.0")
compileOnly("org.jetbrains:annotations:23.0.0")
testImplementation("org.junit.jupiter", "junit-jupiter-api", Versions.Libraries.Internal.junit)
testImplementation("org.junit.jupiter", "junit-jupiter-engine", Versions.Libraries.Internal.junit)
compileOnly("org.jetbrains", "annotations", Versions.Libraries.Internal.jetBrainsAnnotations)

compileOnly("com.google.guava:guava:30.0-jre")
testImplementation("com.google.guava:guava:30.0-jre")
compileOnly("com.google.guava", "guava", Versions.Libraries.Internal.guava)
testImplementation("com.google.guava", "guava", Versions.Libraries.Internal.guava)
}
}
7 changes: 4 additions & 3 deletions buildSrc/src/main/kotlin/DistributionConfig.kt
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,14 @@ import kotlin.io.path.exists


fun Project.configureDistribution() {
apply(plugin = "com.github.johnrengelman.shadow")
apply(plugin = "com.gradleup.shadow")

val downloadDefaultPacks = tasks.create("downloadDefaultPacks") {
group = "terra"
doFirst {
file("${buildDir}/resources/main/packs/").deleteRecursively()
val defaultPackUrl = URL("https://github.com/PolyhedralDev/TerraOverworldConfig/releases/download/latest/default.zip")
val defaultPackUrl =
URL("https://github.com/PolyhedralDev/TerraOverworldConfig/releases/download/" + Versions.Terra.overworldConfig + "/default.zip")
downloadPack(defaultPackUrl, project)
}
}
Expand All @@ -53,7 +54,7 @@ fun Project.configureDistribution() {
forSubProjects(":common:addons") {
val jar = getJarTask()

println("Packaging addon ${jar.archiveFileName.get()} to $dest. size: ${jar.archiveFile.get().asFile.length() / 1024}KB")
logger.info("Packaging addon ${jar.archiveFileName.get()} to $dest. size: ${jar.archiveFile.get().asFile.length() / 1024}KB")

val boot = if (extra.has("bootstrap") && extra.get("bootstrap") as Boolean) "bootstrap/" else ""
val addonPath = fs.getPath("/addons/$boot${jar.archiveFileName.get()}")
Expand Down
4 changes: 2 additions & 2 deletions buildSrc/src/main/kotlin/Utils.kt
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,10 @@ fun preRelease(preRelease: Boolean) {
fun Project.versionProjects(project: String, version: String) {
forSubProjects(project) {
this.version = version
println("Setting version of $path to $version")
logger.info("Setting version of $path to $version")
}
project(project).version = version
println("Setting version of $project to $version")
logger.info("Setting version of $project to $version")
}

fun Project.version(version: String): String {
Expand Down
71 changes: 39 additions & 32 deletions buildSrc/src/main/kotlin/Versions.kt
Original file line number Diff line number Diff line change
@@ -1,26 +1,35 @@
object Versions {
object Terra {
const val overworldConfig = "v1.3.4"
}

object Libraries {
const val tectonic = "4.2.1"
const val paralithic = "0.7.1"
const val strata = "1.3.2"

const val cloud = "1.8.4"
const val cloud = "2.0.0"
const val cloudPaper = "2.0.0-beta.10"
const val cloudFabric = "2.0.0-beta.9"

const val slf4j = "2.0.9"
const val log4j_slf4j_impl = "2.20.0"
const val caffeine = "3.1.8"

const val slf4j = "2.0.16"

object Internal {
const val shadow = "8.1.1"
const val apacheText = "1.10.0"
const val apacheIO = "2.14.0"
const val guava = "32.1.3-jre"
const val asm = "9.5"
const val snakeYml = "2.2"
const val shadow = "8.3.1"
const val apacheText = "1.12.0"
const val apacheIO = "2.16.1"
const val guava = "33.3.0-jre"
const val asm = "9.7"
const val snakeYml = "2.3"
const val jetBrainsAnnotations = "24.1.0"
const val junit = "5.11.0"
}
}

object Fabric {
const val fabricAPI = "0.90.0+${Mod.minecraft}"
const val fabricAPI = "0.104.0+${Mod.minecraft}"
}
//
// object Quilt {
Expand All @@ -29,32 +38,30 @@ object Versions {
// }

object Mod {
const val mixin = "0.12.5+mixin.0.8.5"
const val mixin = "0.15.3+mixin.0.8.7"

const val minecraft = "1.20.2"
const val yarn = "$minecraft+build.4"
const val fabricLoader = "0.14.23"
const val minecraft = "1.21.1"
const val yarn = "$minecraft+build.3"
const val fabricLoader = "0.16.5"

const val architecuryLoom = "1.3.357"
const val architecturyPlugin = "3.4.146"

const val loomVineflower = "1.11.0"
}

object Forge {
const val forge = "${Mod.minecraft}-48.0.13"
const val burningwave = "12.63.0"
const val architecuryLoom = "1.7.413"
const val architecturyPlugin = "3.4.159"
}
//
// object Forge {
// const val forge = "${Mod.minecraft}-48.0.13"
// const val burningwave = "12.63.0"
// }

object Bukkit {
const val paper = "1.18.2-R0.1-SNAPSHOT"
const val paperLib = "1.0.5"
const val foliaLib = "0.2.5"
const val minecraft = "1.20.2"
const val reflectionRemapper = "0.1.0-SNAPSHOT"
const val paperDevBundle = "1.20.2-R0.1-SNAPSHOT"
const val runPaper = "2.2.0"
const val paperWeight = "1.5.6"
const val minecraft = "1.21.1"
const val paperBuild = "$minecraft-R0.1-20240917.151311-80"
const val paper = paperBuild
const val paperLib = "1.0.8"
const val reflectionRemapper = "0.1.1"
const val paperDevBundle = paperBuild
const val runPaper = "2.3.1"
const val paperWeight = "1.7.2"
}

//
Expand All @@ -66,6 +73,6 @@ object Versions {
//
object CLI {
const val nbt = "6.1"
const val logback = "1.4.11"
const val logback = "1.5.8"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ abstract class GenerateDocsTask : DefaultTask() {
}

template.add(keyName.toString(), description.toString().ifBlank {
println("No description provided for field " + field.name + " in class " + name)
logger.info("No description provided for field " + field.name + " in class " + name)
"*No description provided.*"
})
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
package com.dfsek.terra.addons.biome.extrusion.api;

import java.util.Collection;

import com.dfsek.terra.api.world.biome.Biome;

import java.util.Collection;


public interface Extrusion {
Biome extrude(Biome original, int x, int y, int z, long seed);
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
package com.dfsek.terra.addons.biome.extrusion.extrusions;

import java.util.Collection;
import java.util.function.Predicate;
import java.util.stream.Collectors;

import com.dfsek.terra.addons.biome.extrusion.api.Extrusion;
import com.dfsek.terra.addons.biome.extrusion.api.ReplaceableBiome;
import com.dfsek.terra.addons.biome.query.api.BiomeQueries;
Expand All @@ -8,10 +12,6 @@
import com.dfsek.terra.api.util.collection.ProbabilityCollection;
import com.dfsek.terra.api.world.biome.Biome;

import java.util.Collection;
import java.util.function.Predicate;
import java.util.stream.Collectors;


/**
* Sets biomes at locations based on a sampler.
Expand Down
Loading
Loading