mirror of
https://github.com/PolyhedralDev/Terra.git
synced 2026-06-17 22:31:52 +00:00
Fix dev launch for fabric and forge
This commit is contained in:
@@ -1,13 +1,15 @@
|
||||
plugins {
|
||||
id("dev.architectury.loom") version Versions.Mod.architecuryLoom
|
||||
id("architectury-plugin") version Versions.Mod.architectutyPlugin
|
||||
id("io.github.juuxel.loom-quiltflower") version Versions.Mod.loomQuiltflower
|
||||
}
|
||||
|
||||
loom {
|
||||
accessWidenerPath.set(file("terra.accesswidener"))
|
||||
|
||||
mixin {
|
||||
defaultRefmapName.set("terra-common-refmap.json")
|
||||
defaultRefmapName.set("terra.common.refmap.json")
|
||||
}
|
||||
accessWidenerPath.set(file("src/main/resources/terra.accesswidener"))
|
||||
}
|
||||
|
||||
dependencies {
|
||||
@@ -22,4 +24,5 @@ dependencies {
|
||||
architectury {
|
||||
common("fabric", "forge")
|
||||
minecraft = Versions.Mod.minecraft
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -75,6 +75,6 @@ public final class MinecraftAddon implements BaseAddon {
|
||||
|
||||
@Override
|
||||
public String getID() {
|
||||
return "terra-fabric";
|
||||
return "terra-mod";
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,8 +0,0 @@
|
||||
{
|
||||
"schemaVersion": 1,
|
||||
"id": "terra-common",
|
||||
"version": "1.0.0",
|
||||
"mixins": [
|
||||
"terra.common.mixins.json"
|
||||
]
|
||||
}
|
||||
@@ -4,6 +4,7 @@
|
||||
"package": "com.dfsek.terra.mod.mixin",
|
||||
"compatibilityLevel": "JAVA_17",
|
||||
"mixins": [
|
||||
"access.BiomeAccessor",
|
||||
"access.MobSpawnerLogicAccessor",
|
||||
"access.StateAccessor",
|
||||
"access.StructureAccessorAccessor",
|
||||
@@ -42,6 +43,5 @@
|
||||
],
|
||||
"injectors": {
|
||||
"defaultRequire": 1
|
||||
},
|
||||
"refmap": "terra-common-refmap.json"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user