Split client & common sources + POC FPS counter

This commit is contained in:
2025-03-27 11:03:35 +01:00
parent b6bb6565a8
commit 045623a67b
9 changed files with 119 additions and 5 deletions

View File

@ -18,6 +18,18 @@ repositories {
// for more information about repositories.
}
loom {
splitEnvironmentSourceSets()
mods {
"survivalfabric" {
sourceSet sourceSets.main
sourceSet sourceSets.client
}
}
}
fabricApi {
configureDataGeneration {
client = true
@ -26,7 +38,7 @@ fabricApi {
dependencies {
// To change the versions see the gradle.properties file
minecraft "net.minecraft:minecraft:${project.minecraft_version}"
minecraft "com.mojang:minecraft:${project.minecraft_version}"
mappings "net.fabricmc:yarn:${project.yarn_mappings}:v2"
modImplementation "net.fabricmc:fabric-loader:${project.loader_version}"