Skip to content

Commit

Permalink
[meta] Update Gradle plugins and mappings versions
Browse files Browse the repository at this point in the history
  • Loading branch information
MelanX committed Aug 31, 2024
1 parent 711b1d6 commit ba46051
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ plugins {
id 'maven-publish'
id 'net.darkhax.curseforgegradle' version '1.1.18'
id 'com.modrinth.minotaur' version '2.+'
id 'net.neoforged.moddev' version '[1.0,1.1)'
id 'net.neoforged.moddev' version '[2.0,2.1)'
}

version = getVersion(minecraft_version + "-" + base_version, new URI(remote_maven + "/" + group.replace('.', '/') + "/" + name + "/maven-metadata.xml").toURL())
Expand Down
6 changes: 3 additions & 3 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@ org.gradle.configuration-cache=true

## Mappings
parchment_minecraft_version=1.21
parchment_mappings_version=2024.07.07
parchment_mappings_version=2024.07.28

## Loader Properties
minecraft_version=1.21
neo_version=21.0.86-beta
neo_version=21.0.167
loader_version_range=[4,)

## Mod Properties
Expand All @@ -20,7 +20,7 @@ group=de.melanx
base_version=5.0

## Upload Properties
upload_versions=1.21
upload_versions=1.21, 1.21.1
upload_release=beta
modrinth_project=kZvO1mDq
curse_project=373014
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
import net.neoforged.fml.ModContainer;
import net.neoforged.fml.common.Mod;
import net.neoforged.fml.config.ModConfig;
import net.neoforged.neoforge.client.gui.ConfigurationScreen;
import net.neoforged.neoforge.client.gui.IConfigScreenFactory;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;

Expand All @@ -27,5 +29,6 @@ public DefaultWorldType(ModContainer modContainer) {
}

modContainer.registerConfig(ModConfig.Type.CLIENT, ClientConfig.CLIENT_SPEC, DefaultWorldType.MODID + "/client-config.toml");
modContainer.registerExtensionPoint(IConfigScreenFactory.class, ConfigurationScreen::new);
}
}

0 comments on commit ba46051

Please sign in to comment.