Skip to content

Commit 0de4040

Browse files
committed
Initial commit
1 parent 519f7b6 commit 0de4040

49 files changed

Lines changed: 3614 additions & 596 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: 28 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -44,13 +44,8 @@ neoForge {
4444
sourceSets.main.resources { srcDirs = ['src/main/resources', 'src/generated/resources'] }
4545

4646
repositories {
47-
4847
mavenCentral()
4948

50-
maven {
51-
url = "https://modmaven.dev/"
52-
}
53-
5449
maven {
5550
name = "Modrinth Maven"
5651
url = "https://api.modrinth.com/maven"
@@ -78,18 +73,9 @@ repositories {
7873
name = "CreateMaven"
7974
url = "https://maven.createmod.net"
8075
}
81-
maven {
82-
name = "RyanHCode Maven"
83-
url = "https://maven.ryanhcode.dev/releases"
84-
}
8576
maven {
8677
url = "https://maven.theillusivec4.top/"
8778
}
88-
89-
maven {
90-
name = "Jared's maven"
91-
url = "https://maven.blamejared.com/"
92-
}
9379
maven {
9480
name = "Latvian Maven"
9581
url = "https://maven.latvian.dev/releases"
@@ -136,6 +122,15 @@ repositories {
136122
includeGroup("com.github.bawnorton")
137123
}
138124
}
125+
maven { url = "https://maven.blamejared.com" } // JEI, Vazkii's Mods
126+
maven { url = "https://modmaven.dev" }
127+
maven { url = "https://api.modrinth.com/maven" }
128+
maven { url = "https://www.cursemaven.com" }
129+
maven { url = "https://raw.githubusercontent.com/Fuzss/modresources/main/maven" } // NeoForge config api port, needed by ponder
130+
maven { url = "https://maven.createmod.net" } // Create, Ponder, Flywheel
131+
maven { url = "https://maven.ithundxr.dev/snapshots" } // Registrate
132+
maven { url = "https://maven.architectury.dev" } // Arch API
133+
maven { url = "https://maven.ryanhcode.dev/releases" } // Sable, Offroad, Simulated, Aeronautics
139134
}
140135

141136
dependencies {
@@ -157,15 +152,16 @@ dependencies {
157152
compileOnly "curse.maven:createindustry-693815:7236535"
158153
//CC
159154
compileOnly "cc.tweaked:cc-tweaked-${minecraft_version}-forge:${cc_version}"
160-
//JEI
155+
//JEI, create addition, Jade
161156
runtimeOnly "mezz.jei:jei-${minecraft_version}-neoforge:19.25.0.322"
157+
runtimeOnly files("libs/createaddition-1.5.10.jar")
158+
runtimeOnly files("libs/Jade-${minecraft_version}-NeoForge-15.10.5.jar")
162159
//KFF
163160
implementation "thedarkcolour:kotlinforforge-neoforge:5.9.0"
164161
//KubeJS API (optional; used for script globals integration)
165162
compileOnly "dev.latvian.mods:kubejs-neoforge:2101.7.2-build.336"
166163
runtimeOnly "dev.latvian.mods:kubejs-neoforge:2101.7.2-build.336"
167-
//VMod
168-
//TODO: compileOnly & use tis for magnet compat https://github.com/SuperSpaceEye/Valkyrien-Ship-Schematics/blob/master/common/src/main/kotlin/net/spaceeye/valkyrien_ship_schematics/interfaces/ICopyableBlock.kt
164+
//VMod - TODO: compileOnly & use for magnet compat https://github.com/SuperSpaceEye/Valkyrien-Ship-Schematics/blob/master/common/src/main/kotlin/net/spaceeye/valkyrien_ship_schematics/interfaces/ICopyableBlock.kt
169165
/*
170166
compileOnly(annotationProcessor("com.github.bawnorton.mixinsquared:mixinsquared-common:0.3.2-beta.4"))
171167
implementation(jarJar("com.github.bawnorton.mixinsquared:mixinsquared-forge:0.3.2-beta.4")) {
@@ -174,16 +170,24 @@ dependencies {
174170
//Mixin Extras
175171
compileOnly(annotationProcessor("io.github.llamalad7:mixinextras-common:0.4.1"))
176172
implementation "io.github.llamalad7:mixinextras-neoforge:0.4.1"
177-
compileOnly "dev.ryanhcode.sable:sable-common-${minecraft_version}:${sable_version}"
178-
compileOnly files("libs/simulated-neoforge-${minecraft_version}-1.1.3.jar")
179-
runtimeOnly files("libs/sable-neoforge-${minecraft_version}-${sable_version}.jar")
180-
runtimeOnly files("libs/create-aeronautics-bundled-${minecraft_version}-1.1.3.jar")
181-
runtimeOnly files("libs/createaddition-1.5.10.jar")
182-
runtimeOnly files("libs/Jade-${minecraft_version}-NeoForge-15.10.5.jar")
183-
implementation "dev.ryanhcode.sable-companion:sable-companion-common-${minecraft_version}:${sable_companion_version}"
173+
174+
//other
184175
runtimeOnly "curse.maven:forge-config-api-port-547434:7213611"
185176
implementation "com.fasterxml.jackson.core:jackson-annotations:2.18.2"
186177
implementation "org.joml:joml-primitives:1.10.0"
178+
179+
//Sable
180+
implementation("dev.ryanhcode.sable:sable-neoforge-${minecraft_version}:${bundled_version}")
181+
api("dev.ryanhcode.sable-companion:sable-companion-common-${minecraft_version}:${sable_companion_version}")
182+
implementation "dev.ryanhcode.sable-companion:sable-companion-common-${minecraft_version}:${sable_companion_version}"
183+
184+
//Simulated https://maven.ryanhcode.dev/#/releases/dev/ryanhcode
185+
//https://maven.ryanhcode.dev/#/releases/dev/simulated_team/simulated/simulated-neoforge-1.21.1
186+
implementation "dev.simulated_team.simulated:simulated-neoforge-1.21.1:${bundled_version}"
187+
//https://maven.ryanhcode.dev/#/releases/dev/eriksonn/aeronautics/aeronautics-neoforge-1.21.1
188+
implementation("dev.eriksonn.aeronautics:aeronautics-neoforge-1.21.1:${bundled_version}")
189+
//https://maven.ryanhcode.dev/#/releases/dev/ryanhcode/offroad/offroad-neoforge-1.21.1/1.2.1
190+
implementation "dev.ryanhcode.offroad:offroad-neoforge-1.21.1:${bundled_version}"
187191
}
188192

189193
tasks.named('processResources', ProcessResources).configure {

gradle.properties

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,5 +28,6 @@ cc_version=1.114.2
2828
create_version = 6.0.10-280
2929
flywheel_version = 1.0.6
3030
ponder_version = 1.0.82
31-
sable_version = 1.1.3
31+
32+
bundled_version = 1.2.1
3233
sable_companion_version = 1.5.0

src/main/java/dev/propulsionteam/propulsionsimulated/CreatePropulsion.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
import dev.propulsionteam.propulsionsimulated.assemblerstick.item.ModItems;
1111
import com.simibubi.create.compat.Mods;
1212

13+
import net.minecraft.resources.ResourceLocation;
1314
import net.neoforged.bus.api.IEventBus;
1415
import net.neoforged.fml.ModContainer;
1516
import net.neoforged.fml.ModList;
@@ -51,4 +52,8 @@ public CreatePropulsion(IEventBus modBus, ModContainer modContainer) {
5152
modContainer.registerConfig(ModConfig.Type.CLIENT, PropulsionConfig.CLIENT_SPEC, ID + "-client.toml");
5253
PropulsionDefaultStress.init(PropulsionConfig.COMMON_SPEC);
5354
}
55+
56+
public static ResourceLocation loc(String loc) {
57+
return ResourceLocation.fromNamespaceAndPath(ID, loc);
58+
}
5459
}

0 commit comments

Comments
 (0)