From 99711e2f056fd2e8d2a3d293af10442a2861e568 Mon Sep 17 00:00:00 2001 From: lothrazar Date: Thu, 22 Aug 2024 11:39:29 -0700 Subject: [PATCH] gradle update and soft jade dependency for testing mineable --- build.gradle | 13 ++++++++++++- gradle.properties | 1 + .../absentbydesign/registry/AbsentRegistry.java | 3 --- 3 files changed, 13 insertions(+), 4 deletions(-) diff --git a/build.gradle b/build.gradle index f2a58729..adc8f7c7 100644 --- a/build.gradle +++ b/build.gradle @@ -84,10 +84,14 @@ minecraft { client { // Comma-separated list of namespaces to load gametests from. Empty = all namespaces. property 'forge.enabledGameTestNamespaces', mod_id + property 'mixin.env.remapRefMap', 'true' + property 'mixin.env.refMapRemappingFile', "${projectDir}/build/createSrgToMcp/output.srg" } server { property 'forge.enabledGameTestNamespaces', mod_id + property 'mixin.env.remapRefMap', 'true' + property 'mixin.env.refMapRemappingFile', "${projectDir}/build/createSrgToMcp/output.srg" args '--nogui' } @@ -123,6 +127,7 @@ repositories { url = 'https://maven.theillusivec4.top/' } maven { url = 'https://maven.blamejared.com' } + maven { url = 'https://modmaven.dev' } maven { url = 'https://www.cursemaven.com' } } @@ -132,8 +137,14 @@ dependencies { // The "userdev" classifier will be requested and setup by ForgeGradle. // If the group id is "net.minecraft" and the artifact id is one of ["client", "server", "joined"], // then special handling is done to allow a setup of a vanilla dependency without the use of an external repository. - minecraft "net.neoforged:forge:${mc_version}-${forge_version}" + minecraft "net.neoforged:forge:${mc_version}-${neo_version}" + + //optional integrations + + // implementation fg.deobf("curse.maven:cyclic-239286:5620124") + implementation fg.deobf("curse.maven:jade-324717:5640610") + // required dependency implementation fg.deobf("curse.maven:flib-661261:${flib_file}") diff --git a/gradle.properties b/gradle.properties index e8f4bfa4..35c0bc8b 100644 --- a/gradle.properties +++ b/gradle.properties @@ -7,6 +7,7 @@ mod_id=absentbydesign curse_id=305840 mod_version=1.8.1-SNAPSHOT +neo_version=47.1.104 forge_version=47.1.104 mod_name=Absent by Design diff --git a/src/main/java/com/lothrazar/absentbydesign/registry/AbsentRegistry.java b/src/main/java/com/lothrazar/absentbydesign/registry/AbsentRegistry.java index 500747e0..ecc2fe32 100644 --- a/src/main/java/com/lothrazar/absentbydesign/registry/AbsentRegistry.java +++ b/src/main/java/com/lothrazar/absentbydesign/registry/AbsentRegistry.java @@ -36,7 +36,6 @@ import net.minecraftforge.eventbus.api.SubscribeEvent; import net.minecraftforge.fml.common.Mod; import net.minecraftforge.registries.RegisterEvent; -import net.minecraftforge.registries.RegistryObject; @Mod.EventBusSubscriber(bus = Mod.EventBusSubscriber.Bus.MOD) public class AbsentRegistry { @@ -53,8 +52,6 @@ public class AbsentRegistry { // AVOID PILLAR // AVOID CHISELED? // AVOID GLAZED TERRACOTTA - // - //1.19 NEW ADD THIS // // //