Skip to content
This repository was archived by the owner on Sep 8, 2026. It is now read-only.

Commit 1aaada6

Browse files
committed
:insanity:
1 parent 7ef5c4e commit 1aaada6

62 files changed

Lines changed: 313 additions & 323 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎build.gradle‎

Lines changed: 63 additions & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,32 @@
11
plugins {
2-
id 'babric-loom' version '1.4.+'
2+
id 'fabric-loom' version '1.10.0-bta'
33
id 'java'
4+
id 'maven-publish'
5+
}
6+
7+
import org.gradle.internal.os.OperatingSystem
8+
9+
project.ext.lwjglVersion = "3.3.4"
10+
11+
switch (OperatingSystem.current()) {
12+
case OperatingSystem.LINUX:
13+
project.ext.lwjglNatives = "natives-linux"
14+
break
15+
case OperatingSystem.WINDOWS:
16+
project.ext.lwjglNatives = "natives-windows"
17+
break
18+
case OperatingSystem.MAC_OS:
19+
project.ext.lwjglNatives = "natives-macos"
20+
break
421
}
522

623
group = project.mod_group
724
archivesBaseName = project.mod_name
825
version = project.mod_version
926

1027
loom {
11-
gluedMinecraftJar()
1228
noIntermediateMappings()
13-
customMinecraftManifest.set("https://github.com/Turnip-Labs/bta-manifest-repo/releases/download/v${project.bta_version}/${project.bta_version}.json")
29+
customMinecraftMetadata.set("https://downloads.betterthanadventure.net/bta-client/${project.bta_channel}/v${project.bta_version}/manifest.json")
1430
}
1531

1632
repositories {
@@ -24,6 +40,14 @@ repositories {
2440
name = 'Fabric'
2541
url = 'https://maven.fabricmc.net/'
2642
}
43+
maven {
44+
name = 'SignalumMavenInfrastructure'
45+
url = 'https://maven.thesignalumproject.net/infrastructure'
46+
}
47+
maven {
48+
name = 'SignalumMavenReleases'
49+
url = 'https://maven.thesignalumproject.net/releases'
50+
}
2751
ivy {
2852
url = "https://github.com/Better-than-Adventure"
2953
patternLayout {
@@ -33,25 +57,17 @@ repositories {
3357
metadataSources { artifact() }
3458
}
3559
ivy {
36-
url = "https://github.com/Turnip-Labs"
60+
url = "https://downloads.betterthanadventure.net/bta-client/${project.bta_channel}/"
3761
patternLayout {
38-
artifact "[organisation]/releases/download/v[revision]/[module]-[revision].jar"
62+
artifact "/v[revision]/client.jar"
3963
m2compatible = true
4064
}
4165
metadataSources { artifact() }
4266
}
4367
ivy {
44-
url = "https://github.com/Turnip-Labs"
68+
url = "https://downloads.betterthanadventure.net/bta-server/${project.bta_channel}/"
4569
patternLayout {
46-
artifact "[organisation]/releases/download/[revision]/[module]-[revision].jar"
47-
m2compatible = true
48-
}
49-
metadataSources { artifact() }
50-
}
51-
ivy {
52-
url = "https://github.com/Turnip-Labs"
53-
patternLayout {
54-
artifact "[organisation]/releases/download/[revision]/[module]-bta-[revision].jar"
70+
artifact "/v[revision]/server.jar"
5571
m2compatible = true
5672
}
5773
metadataSources { artifact() }
@@ -64,44 +80,26 @@ repositories {
6480
}
6581
metadataSources { artifact() }
6682
}
67-
ivy {
68-
url = "https://github.com/MartinSVK12"
69-
patternLayout {
70-
artifact "[organisation]/releases/download/[revision]/[module]-[revision].jar"
71-
m2compatible = true
72-
}
73-
metadataSources { artifact() }
74-
}
75-
ivy {
76-
url = "https://github.com/UselessSolutions"
77-
patternLayout {
78-
artifact "[organisation]/releases/download/v[revision]/[module]-[revision].jar"
79-
m2compatible = true
80-
}
81-
metadataSources { artifact() }
82-
}
8383
}
8484

8585
dependencies {
86-
minecraft "bta-download-repo:bta:${project.bta_version}"
86+
minecraft "::${project.bta_version}"
8787
mappings loom.layered() {}
8888

8989
modRuntimeOnly "objects:client:43db9b498cb67058d2e12d394e6507722e71bb45" // https://piston-data.mojang.com/v1/objects/43db9b498cb67058d2e12d394e6507722e71bb45/client.jar
90-
modImplementation "fabric-loader:fabric-loader:${project.loader_version}"
91-
92-
// Helper library
93-
// If you do not need Halplibe you can comment this line out or delete this line
94-
modImplementation "com.github.Turnip-Labs:bta-halplibe:${project.halplibe_version}"
95-
modImplementation "TerrainAPI:terrainapi:${project.terrainapi_version}"
96-
modImplementation project.files("libs/catalyst-core-1.5.0.jar")
97-
modImplementation project.files("libs/catalyst-fluids-1.3.0.jar")
98-
modImplementation "DragonFly:dragonfly:${project.dragonfly_version}"
99-
//modImplementation "BTA_Babric_PrismaticLibe:prismaticlibe:${project.prismatic_version}"
100-
modImplementation project.files("libs/modnametooltip-1.1.1.jar")
101-
modImplementation project.files("libs/btwaila-1.1.2-7.2-pre2.jar")
102-
modImplementation project.files("libs/enchantmentlib-1.0.3.jar")
103-
104-
modImplementation "ModMenu:ModMenu:2.0.4"
90+
modImplementation "net.fabricmc:fabric-loader:${project.loader_version}"
91+
92+
modImplementation("turniplabs:halplibe:${project.halplibe_version}")
93+
94+
modImplementation("turniplabs:modmenu-bta:${project.mod_menu_version}")
95+
96+
modImplementation(project.files("libs/dragonfly-${project.dragonfly_version}.jar"))
97+
modImplementation(project.files("libs/tmb-${project.tmb_version}.jar"))
98+
modImplementation(project.files("libs/btwaila-${project.btwaila_version}.jar"))
99+
modImplementation(project.files("libs/catalyst-core-2.1.4-7.3_04.jar"))
100+
modImplementation(project.files("libs/catalyst-fluids-2.1.7-7.3_04.jar"))
101+
modImplementation(project.files("libs/catalyst-multiblocks-2.1.0-7.3_04.jar"))
102+
modImplementation(project.files("libs/enchantmentlib-1.0.5-7.3_04.jar"))
105103

106104
implementation "org.slf4j:slf4j-api:1.8.0-beta4"
107105
implementation "org.apache.logging.log4j:log4j-slf4j18-impl:2.16.0"
@@ -114,6 +112,20 @@ dependencies {
114112
implementation("org.apache.logging.log4j:log4j-1.2-api:${log4jVersion}")
115113

116114
include(implementation("org.apache.commons:commons-lang3:3.12.0"))
115+
modImplementation("com.github.zarzelcow:legacy-lwjgl3:1.0.4")
116+
117+
runtimeOnly "org.lwjgl:lwjgl::$lwjglNatives"
118+
runtimeOnly "org.lwjgl:lwjgl-assimp::$lwjglNatives"
119+
runtimeOnly "org.lwjgl:lwjgl-glfw::$lwjglNatives"
120+
runtimeOnly "org.lwjgl:lwjgl-openal::$lwjglNatives"
121+
runtimeOnly "org.lwjgl:lwjgl-opengl::$lwjglNatives"
122+
runtimeOnly "org.lwjgl:lwjgl-stb::$lwjglNatives"
123+
implementation "org.lwjgl:lwjgl:$lwjglVersion"
124+
implementation "org.lwjgl:lwjgl-assimp:$lwjglVersion"
125+
implementation "org.lwjgl:lwjgl-glfw:$lwjglVersion"
126+
implementation "org.lwjgl:lwjgl-openal:$lwjglVersion"
127+
implementation "org.lwjgl:lwjgl-opengl:$lwjglVersion"
128+
implementation "org.lwjgl:lwjgl-stb:$lwjglVersion"
117129
}
118130

119131
java {
@@ -132,6 +144,10 @@ jar {
132144
}
133145
}
134146

147+
configurations.configureEach {
148+
exclude group: "org.lwjgl.lwjgl"
149+
}
150+
135151
processResources {
136152
inputs.property "version", version
137153

‎gradle.properties‎

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,18 @@
11
org.gradle.jvmargs=-Xmx2G
22

33
# BTA
4-
bta_version=7.2-pre2
4+
bta_version=7.3_04
5+
bta_channel=release
56

67
# Loader
7-
loader_version=0.15.6-babric.6-bta
8+
loader_version=0.15.6-bta.7
89

910
# HalpLibe
10-
halplibe_version=4.1.3
11-
prismatic_version=3.1.2-7.1
12-
dragonfly_version=1.5.0-7.2-pre2
13-
terrainapi_version=1.4.4-7.2-pre1
11+
halplibe_version=5.2.4
12+
mod_menu_version=3.0.0
13+
dragonfly_version=1.7.0-alpha.5-7.3_04
14+
tmb_version=2.0.0-7.3_04
15+
btwaila_version=1.2.1-7.3_01
1416

1517
# Mod
1618
mod_version=1.0.0
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-8.3-bin.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.12-bin.zip
44
zipStoreBase=GRADLE_USER_HOME
55
zipStorePath=wrapper/dists

‎libs/btwaila-1.1.2-7.2-pre2.jar‎

-121 KB
Binary file not shown.

‎libs/btwaila-1.2.1-7.3_01.jar‎

641 KB
Binary file not shown.

‎libs/catalyst-core-1.5.0.jar‎

-54.8 KB
Binary file not shown.
659 KB
Binary file not shown.

‎libs/catalyst-fluids-1.3.0.jar‎

-104 KB
Binary file not shown.
591 KB
Binary file not shown.
546 KB
Binary file not shown.

0 commit comments

Comments
 (0)