From ddb151513474d246695b785b8b7443e10d660503 Mon Sep 17 00:00:00 2001 From: Jenny Date: Wed, 12 Feb 2025 13:51:24 +0100 Subject: [PATCH] move mapping properties to gradle.properties --- build.gradle | 2 +- gradle.properties | 37 +++---------------------------------- 2 files changed, 4 insertions(+), 35 deletions(-) diff --git a/build.gradle b/build.gradle index f30f23e..e8a8db2 100644 --- a/build.gradle +++ b/build.gradle @@ -32,7 +32,7 @@ minecraft { // Use non-default mappings at your own risk. They may not always work. // Simply re-run your setup task after changing the mappings to update your workspace. minecraft { - mappings channel: 'parchment', version: '2023.09.03-1.20.1' + mappings channel: mapping_channel, version: mapping_version } // When true, this property will have all Eclipse/IntelliJ IDEA run configurations run the "prepareX" task for the given run configuration before launching the game. diff --git a/gradle.properties b/gradle.properties index 4c39961..9579818 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,49 +1,18 @@ org.gradle.jvmargs=-Xmx3G org.gradle.daemon=false -# The Minecraft version must agree with the Forge version to get a valid artifact + minecraft_version=1.20.1 -# The Minecraft version range can use any release version of Minecraft as bounds. -# Snapshots, pre-releases, and release candidates are not guaranteed to sort properly -# as they do not follow standard versioning conventions. minecraft_version_range=[1.20.1,1.20.2] -# The Forge version must agree with the Minecraft version to get a valid artifact forge_version=47.3.22 -# The Forge version range can use any version of Forge as bounds or match the loader version range forge_version_range=[47,) -# The loader version range can only use the major version of Forge/FML as bounds loader_version_range=[47,) -# The mapping channel to use for mappings. -# The default set of supported mapping channels are ["official", "snapshot", "snapshot_nodoc", "stable", "stable_nodoc"]. -# Additional mapping channels can be registered through the "channelProviders" extension in a Gradle plugin. -# -# | Channel | Version | | -# |-----------|----------------------|--------------------------------------------------------------------------------| -# | official | MCVersion | Official field/method names from Mojang mapping files | -# | parchment | YYYY.MM.DD-MCVersion | Open community-sourced parameter names and javadocs layered on top of official | -# -# You must be aware of the Mojang license when using the 'official' or 'parchment' mappings. -# See more information here: https://github.com/MinecraftForge/MCPConfig/blob/master/Mojang.md -# -# Parchment is an unofficial project maintained by ParchmentMC, separate from Minecraft Forge. -# Additional setup is needed to use their mappings, see https://parchmentmc.org/docs/getting-started mapping_channel=parchment -# The mapping version to query from the mapping channel. -# This must match the format required by the mapping channel. -mapping_version=1.20.1 -# The unique mod identifier for the mod. Must be lowercase in English locale. Must fit the regex [a-z][a-z0-9_]{1,63} -# Must match the String constant located in the main mod class annotated with @Mod. +mapping_version=2023.09.03-1.20.1 + mod_id=enhancedexplosives -# The human-readable display name for the mod. mod_name=Enhanced Explosives -# The license of the mod. Review your options at https://choosealicense.com/. All Rights Reserved is the default. mod_license=All Rights Reserved -# The mod version. See https://semver.org/ mod_version=0.13.2 -# The group ID for the mod. It is only important when publishing as an artifact to a Maven repository. -# This should match the base package used for the mod sources. -# See https://maven.apache.org/guides/mini/guide-naming-conventions.html mod_group_id=com.jenny -# The authors of the mod. This is a simple text string that is used for display purposes in the mod list. mod_authors=Jenny -# The description of the mod. This is a simple multiline text string that is used for display purposes in the mod list. mod_description=strong & throwable explosives