Skip to content
This repository has been archived by the owner on Jul 28, 2024. It is now read-only.

Commit

Permalink
Make Pre-releases official (#13)
Browse files Browse the repository at this point in the history
* Implement the oasis structure

* Oasis structure v2

* Oasis structure v3

* Condense statements

* Thin forest and logs

* Spotless

* Waterlogged Thin Logs

* ParchmentMC

* Loot Chest inside oasis

* Reed plant

* Lang stuff

* Bump some deps

* Finally ready for pre-release!

* Advancements! again!

* Advancements! again!

* Advancements! again!

* Spotless

* we're doing this again huh...

* Pre-Release 2

* Pre-Release 2 2nd try

* Update to Loader 0.15.9
  • Loading branch information
CrypticVerse authored Apr 10, 2024
1 parent 5dc4377 commit 0204b79
Show file tree
Hide file tree
Showing 186 changed files with 3,364 additions and 471 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
uses: gradle/actions/setup-gradle@v3

- name: Build
run: ./gradlew build
run: ./gradlew build --stacktrace
env:
MODRINTH_TOKEN: ${{ secrets.MODRINTH_TOKEN }}
CURSEFORGE_TOKEN: ${{ secrets.CURSEFORGE_TOKEN }}
Expand Down
18 changes: 12 additions & 6 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,13 @@
This version brings changes
This version brings additions

#### Forge
- Forge is now ported to 1.20.4!
- All features are the same on 1.20.4 Forge
- Requires Forge 49.0.34
- JEI AND REI are disabled until 2.1.5.3
#### Forge and Fabric
- Added Advancements

##### New advancements
- Root (Obtain a crafting table)
- Minecraft: But It's Cursed Logs (Obtain a thin birch log)
- Smells like... Maple! (Find a Maple Forest)
- [Goal] Let it drip! (Try getting maple sap through a tapped bucket)
- This is Boiling! (Obtain a boiler)
- This cake is flat! (Get a pancake)
- [Challenge, Hidden] Refreshing! (Find a rare Oasis)
21 changes: 0 additions & 21 deletions LICENSE-TEXTURES

This file was deleted.

46 changes: 20 additions & 26 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import net.darkhax.curseforgegradle.TaskPublishCurseForge
plugins {
id 'fabric-loom' version '1.5.+'
id 'fabric-loom' version '1.6.+'
id 'maven-publish'
id 'com.modrinth.minotaur' version '2.+'
id 'net.darkhax.curseforgegradle' version '1.1.18'
Expand Down Expand Up @@ -33,6 +33,7 @@ repositories {
includeGroup "curse.maven"
}
}
maven {url = "https://maven.parchmentmc.org"}
maven {
name = "Modrinth"
url = "https://api.modrinth.com/maven"
Expand Down Expand Up @@ -78,36 +79,32 @@ sourceSets {
]
}
}
desktop {
java {
srcDirs("src/desktop/java")
}
}
}
dependencies {
// To change the versions see the gradle.properties file
minecraft "com.mojang:minecraft:${project.minecraft_version}"
mappings loom.officialMojangMappings()
mappings loom.layered {
officialMojangMappings()
parchment("org.parchmentmc.data:parchment-1.20.4:2024.02.25@zip")
}

modImplementation "net.fabricmc:fabric-loader:${project.loader_version}"

modImplementation "net.fabricmc.fabric-api:fabric-api:${project.fabric_version}"
include "net.fabricmc.fabric-api:fabric-api:${project.fabric_version}"
include modImplementation("net.fabricmc.fabric-api:fabric-api:${project.fabric_version}")

include(modImplementation "com.bookkeepersmc:Notebook-api-fabric-${minecraft_version}:${notebook_version}")
include modImplementation("com.bookkeepersmc:Notebook-api-fabric-${minecraft_version}:${notebook_version}")

modImplementation "com.github.glitchfiend:TerraBlender-fabric:${project.minecraft_version}-${project.terrablender_version}"
include "com.github.glitchfiend:TerraBlender-fabric:${project.minecraft_version}-${project.terrablender_version}"
include modImplementation("com.github.glitchfiend:TerraBlender-fabric:${project.minecraft_version}-${project.terrablender_version}")

modImplementation "com.terraformersmc.terraform-api:terraform-wood-api-v1:${project.terraform_wood_api_version}"
include "com.terraformersmc.terraform-api:terraform-wood-api-v1:${project.terraform_wood_api_version}"
include modImplementation("com.terraformersmc.terraform-api:terraform-wood-api-v1:${project.terraform_wood_api_version}")

modCompileOnly "me.shedaniel:RoughlyEnoughItems-api-fabric:${project.rei_version}"
modRuntimeOnly "me.shedaniel:RoughlyEnoughItems-fabric:${project.rei_version}"

modApi ("me.shedaniel.cloth:cloth-config-fabric:13.0.121") {
exclude(group: "net.fabricmc.fabric-api")
}
modApi "dev.architectury:architectury-fabric:11.0.9"
modApi "dev.architectury:architectury-fabric:11.1.17"
// Uncomment the following line to enable the deprecated Fabric API modules.
// These are included in the Fabric API production distribution and allow you to update your mod to the latest modules at a later more convenient time.

Expand Down Expand Up @@ -138,10 +135,6 @@ jar {
from("LICENSE") {
rename { "${it}_${project.base.archivesName.get()}"}
}
def desktop = sourceSets.getByName("desktop")
from(desktop.output.classesDirs)
from(desktop.output.resourcesDir)
manifest.attributes["Main-Class"] = "net.crypticverse.desktop.LaunchWarn"
}

// configure the maven publication
Expand All @@ -165,8 +158,8 @@ modrinth {
token = System.getenv("MODRINTH_TOKEN")
projectId = "Qs2o8KiI"
versionNumber = "fabric-${mod_version}"
versionName = "Better Biomes Fabric ${mod_name}"
versionType = "beta"
versionName = "Better Biomes Fabric ${mod_name} Pre-Release 2"
versionType = "alpha"
uploadFile = remapJar
gameVersions = ["1.20.4"]
loaders = ["fabric", "quilt"]
Expand All @@ -182,8 +175,8 @@ task curseforge(type: TaskPublishCurseForge) {
apiToken = System.getenv("CURSEFORGE_TOKEN")

def mainFile = upload(938715, remapJar)
mainFile.releaseType = 'beta'
mainFile.displayName = "Better Biomes Fabric ${mod_name}"
mainFile.releaseType = 'alpha'
mainFile.displayName = "Better Biomes Fabric ${mod_name} Pre-Release 2"
mainFile.addGameVersion("1.20.4")
mainFile.addModLoader("Quilt")
mainFile.addJavaVersion("Java 17")
Expand All @@ -197,9 +190,10 @@ task curseforge(type: TaskPublishCurseForge) {
githubRelease {
owner = "CrypticVerse"
repo = "BetterBiomes"
tagName = "fabric-${mod_name}"
releaseName = "Better Biomes Fabric ${mod_name}"
targetCommitish = "2.x-1.20.4"
tagName = "fabric-${mod_version}"
releaseName = "Better Biomes Fabric ${mod_name} Pre-Release 2"
targetCommitish = "dev-features"
prerelease = true
draft = false
releaseAssets tasks.remapJar
body = project.file("CHANGELOG.md").text
Expand Down
8 changes: 4 additions & 4 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@ org.gradle.parallel=true
# Fabric Properties
# check these on https://fabricmc.net/develop
minecraft_version=1.20.4
loader_version=0.15.7
loader_version=0.15.9
terrablender_version=3.3.0.12
rei_version=14.0.688
fabric_version=0.96.4+1.20.4
fabric_version=0.96.11+1.20.4
terraform_wood_api_version=9.0.0
notebook_version=1.1.10+1.20.4

# Mod Properties
mod_version=2.1.5.2-1.20.4
mod_name=2.1.5.2
mod_version=2.2.0.0-1.20.4-alpha.2
mod_name=2.2.0.0
maven_group=net.crypticverse.betterbiomes
archives_base_name=betterbiomes-fabric
27 changes: 0 additions & 27 deletions src/desktop/java/net/crypticverse/desktop/BrowseUrlHandler.java

This file was deleted.

17 changes: 0 additions & 17 deletions src/desktop/java/net/crypticverse/desktop/CrossPlatformImpl.java

This file was deleted.

16 changes: 0 additions & 16 deletions src/desktop/java/net/crypticverse/desktop/GNOMEImpl.java

This file was deleted.

16 changes: 0 additions & 16 deletions src/desktop/java/net/crypticverse/desktop/KDEImpl.java

This file was deleted.

Loading

0 comments on commit 0204b79

Please sign in to comment.