Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
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
3 changes: 3 additions & 0 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ val minecraft_version: String by project
val maven_group: String by project
val archives_base_name: String by project
val create_version_short: String by project
val ponder_version: String by project

version = mod_version
group = maven_group
Expand All @@ -33,6 +34,7 @@ repositories {
maven("https://thedarkcolour.github.io/KotlinForForge/")
maven("https://maven.blamejared.com/") // JEI
maven("https://squiddev.cc/maven/") // CC: Tweaked
maven("https://maven.createmod.net") // Ponder (Catnip)
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The Ponder utility has been moved to an independent library, which contains Catnip, a bunch of utilities required by Create, and this mod. Including Ponder solved a compilation error where the Create mod dependency was unable to find definitions for the Catnip classes (in particular, the Couple class). Create: Track Map also uses that class in one specific instance, and I've updated the import to match the new class location

}

val shadowDep: Configuration by configurations.creating
Expand All @@ -55,6 +57,7 @@ dependencies {
minecraft("net.neoforged:forge:${minecraft_version}-${forge_version}")
implementation("thedarkcolour:kotlinforforge:$forge_kotlin_version")
implementation(fg.deobf("com.simibubi.create:create-${minecraft_version}:${create_version}:slim"))
implementation("net.createmod.ponder:Ponder-Forge-${minecraft_version}:${ponder_version}")

shadowDep("io.ktor:ktor-server-core-jvm:$ktor_version")
shadowDep("io.ktor:ktor-server-cio-jvm:$ktor_version")
Expand Down
5 changes: 3 additions & 2 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,9 @@ minecraft_version = 1.20.1
forge_version = 47.1.79
forge_kotlin_version = 3.9.1

create_version = 0.5.1.d-9
create_version_short = 0.5.1
create_version = 6.0.0-85
create_version_short = 6.0.0
ponder_version = 1.0.52
ktor_version = 2.3.0
kotlin_json_version = 1.4.1
kotlin_css_version = 1.0.0-pre.511
2 changes: 1 addition & 1 deletion src/main/kotlin/littlechasiu/ctm/Extensions.kt
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ import com.simibubi.create.content.trains.entity.TravellingPoint
import com.simibubi.create.content.trains.graph.TrackEdge
import com.simibubi.create.content.trains.graph.TrackNode
import com.simibubi.create.content.trains.graph.TrackNodeLocation
import com.simibubi.create.foundation.utility.Couple
import littlechasiu.ctm.model.*
import net.createmod.catnip.data.Couple
import net.minecraft.resources.ResourceKey
import net.minecraft.world.level.Level
import net.minecraft.world.phys.Vec3
Expand Down