diff --git a/build.gradle b/build.gradle index e3bb56d..c38ffa3 100644 --- a/build.gradle +++ b/build.gradle @@ -10,7 +10,7 @@ version = project.mod_version loom { gluedMinecraftJar() noIntermediateMappings() - customMinecraftManifest.set("https://github.com/Turnip-Labs/bta-manifest-repo/releases/download/v${project.bta_version}/${project.bta_version}.json") + customMinecraftManifest.set("https://nightly.betterthanadventure.net/bta-${project.bta_version}-manifest.json") } repositories { @@ -72,20 +72,31 @@ repositories { } metadataSources { artifact() } } + ivy { + url = "https://nightly.betterthanadventure.net" + patternLayout { + artifact "/bta-[revision]-client.jar" + m2compatible = true + } + metadataSources { artifact() } + } } dependencies { - minecraft "bta-download-repo:bta:${project.bta_version}" + minecraft "::${project.bta_version}" mappings loom.layered() {} modRuntimeOnly "objects:client:43db9b498cb67058d2e12d394e6507722e71bb45" // https://piston-data.mojang.com/v1/objects/43db9b498cb67058d2e12d394e6507722e71bb45/client.jar modImplementation "fabric-loader:fabric-loader:${project.loader_version}" + // Nightly builds are highly unstable, it is very likely that even these base mods might not work! + // Uncomment at your own risk. + // Helper library // If you do not need Halplibe you can comment this line out or delete this line - modImplementation "com.github.Turnip-Labs:bta-halplibe:${project.halplibe_version}" + //modImplementation "com.github.Turnip-Labs:bta-halplibe:${project.halplibe_version}" - modImplementation "ModMenu:ModMenu:${project.mod_menu_version}" + //modImplementation "ModMenu:ModMenu:${project.mod_menu_version}" implementation "org.slf4j:slf4j-api:1.8.0-beta4" implementation "org.apache.logging.log4j:log4j-slf4j18-impl:2.16.0" diff --git a/gradle.properties b/gradle.properties index f458dcf..3e8c3e5 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,14 +1,17 @@ org.gradle.jvmargs=-Xmx2G # BTA -bta_version=7.1 +bta_version=nightly-2024-04-14 -# Loader & Mod Menu +# Loader loader_version=0.15.6-babric.4-bta -mod_menu_version=2.0.5 -# HalpLibe -halplibe_version=3.5.2 +# Nightly builds are highly unstable, it is very likely that even these base mods might not work! +# Uncomment at your own risk. + +# Other Mods +# mod_menu_version=2.0.5 +# halplibe_version=3.5.2 # Mod mod_version=1.0.0 diff --git a/src/main/java/turniplabs/examplemod/ExampleMod.java b/src/main/java/turniplabs/examplemod/ExampleMod.java index 5f188da..2c64ebc 100644 --- a/src/main/java/turniplabs/examplemod/ExampleMod.java +++ b/src/main/java/turniplabs/examplemod/ExampleMod.java @@ -3,12 +3,9 @@ package turniplabs.examplemod; import net.fabricmc.api.ModInitializer; import org.slf4j.Logger; import org.slf4j.LoggerFactory; -import turniplabs.halplibe.helper.BlockBuilder; -import turniplabs.halplibe.util.GameStartEntrypoint; -import turniplabs.halplibe.util.RecipeEntrypoint; -public class ExampleMod implements ModInitializer, GameStartEntrypoint, RecipeEntrypoint { +public class ExampleMod implements ModInitializer { public static final String MOD_ID = "examplemod"; public static final Logger LOGGER = LoggerFactory.getLogger(MOD_ID); @Override @@ -16,18 +13,4 @@ public class ExampleMod implements ModInitializer, GameStartEntrypoint, RecipeEn LOGGER.info("ExampleMod initialized."); } - @Override - public void beforeGameStart() { - - } - - @Override - public void afterGameStart() { - - } - - @Override - public void onRecipesReady() { - - } } diff --git a/src/main/resources/fabric.mod.json b/src/main/resources/fabric.mod.json index 898f6fc..94476ee 100644 --- a/src/main/resources/fabric.mod.json +++ b/src/main/resources/fabric.mod.json @@ -36,7 +36,7 @@ ], "depends": { - "minecraft": "7.1", + "minecraft": "*", "fabricloader": ">=0.15.5" }, "suggests": {