Skip to content

Commit

Permalink
unimined go brr* (*vintage forge and primitive to not go brr in dev)
Browse files Browse the repository at this point in the history
  • Loading branch information
Nolij committed Jan 5, 2024
1 parent 8a752ee commit 968dad4
Show file tree
Hide file tree
Showing 32 changed files with 544 additions and 511 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@ jobs:
java-version: '17'
- name: Adjust Gradle permission
run: chmod +x ./gradlew
- name: :setupCIWorkspace
run: ./gradlew setupCIWorkspace
- name: :build
run: ./gradlew build
- name: Upload artifacts
Expand Down
49 changes: 0 additions & 49 deletions archaic/build.gradle

This file was deleted.

49 changes: 49 additions & 0 deletions archaic/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
import xyz.wagyourtail.unimined.api.minecraft.task.RemapJarTask

operator fun String.invoke(): String {
return (rootProject.properties[this] as String?)!!
}

unimined.minecraft {
version("archaic_minecraft_version"())

runs {
config("server") {
disabled = true
}
}

minecraftForge {
loader("archaic_forge_version"())
mixinConfig("zume-${project.name}.mixins.json")
}

mappings {
searge()
mcp("stable", "archaic_mappings_version"())
}

defaultRemapJar = true
}

tasks.withType<RemapJarTask> {
mixinRemap {
enableMixinExtra()
}
}

dependencies {
"modImplementation"("com.github.LegacyModdingMC.UniMixins:unimixins-all-1.7.10:${"unimixins_version"()}:dev")

implementation(project(":common"))
}

tasks.processResources {
from("common/src/main/resources")

filteringCharset = "UTF-8"

// filesMatching("mcmod.info") {
// expand(rootProject.properties)
// }
}
7 changes: 4 additions & 3 deletions archaic/src/main/java/dev/nolij/zume/archaic/ArchaicZume.java
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
import cpw.mods.fml.common.eventhandler.EventPriority;
import cpw.mods.fml.common.eventhandler.SubscribeEvent;
import dev.nolij.zume.archaic.mixin.EntityRendererAccessor;
import dev.nolij.zume.common.Constants;
import dev.nolij.zume.common.IZumeProvider;
import dev.nolij.zume.common.Zume;
import cpw.mods.fml.client.registry.ClientRegistry;
Expand All @@ -18,9 +19,9 @@

@Mod(
modid = Zume.MOD_ID,
name = Tags.MOD_NAME,
version = Tags.MOD_VERSION,
acceptedMinecraftVersions = Tags.VERSION_RANGE,
name = Constants.MOD_NAME,
version = Constants.MOD_VERSION,
acceptedMinecraftVersions = Constants.ARCHAIC_VERSION_RANGE,
guiFactory = "dev.nolij.zume.archaic.ArchaicConfigProvider",
dependencies = "required-after:unimixins@[0.1.15,)")
public class ArchaicZume implements IZumeProvider {
Expand Down
162 changes: 0 additions & 162 deletions build.gradle

This file was deleted.

Loading

0 comments on commit 968dad4

Please sign in to comment.