Skip to content

Commit

Permalink
Done for neoforge 1.20.4
Browse files Browse the repository at this point in the history
  • Loading branch information
MarbleGateKeeper committed Feb 20, 2024
1 parent fe15a68 commit baa3b0b
Show file tree
Hide file tree
Showing 5 changed files with 26 additions and 30 deletions.
10 changes: 9 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@ base{
group = project.maven_group
}

repositories {
mavenLocal()
}

java.toolchain.languageVersion = JavaLanguageVersion.of(17)

minecraft.accessTransformers.file rootProject.file('src/main/resources/META-INF/accesstransformer.cfg')
Expand Down Expand Up @@ -66,7 +70,11 @@ runs {
sourceSets.main.resources { srcDir 'src/generated/resources' }

dependencies {
implementation "net.neoforged:neoforge:${neoforge_version}"
implementation "net.neoforged:neoforge:${neo_version}"
}

mixin {
config("visuality.mixins.json")
}

java {
Expand Down
2 changes: 1 addition & 1 deletion changelog/2.0.3.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
## Visuality: Reforged 2.0.3
Update for Minecraft 1.20.3
Update for Minecraft 1.20.4
11 changes: 8 additions & 3 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,13 @@ maven_group = plus.dragons.visuality
mod_name = visuality-forge
mod_id = visuality
mod_version = 2.0.3
minecraft_version = 1.20.3
neoforge_version = 20.3.8-beta
minecraft_version = 1.20.4
neo_version = 20.4.163-beta

# Build Dependency Versions
neogradle_version = 7.0.57
neogradle_version = 7.0.94

#read more on this at https://github.com/neoforged/NeoGradle/blob/NG_7.0/README.md#apply-parchment-mappings
# you can also find the latest versions at: https://parchmentmc.org/docs/getting-started
neogradle.subsystems.parchment.minecraftVersion=1.20.3
neogradle.subsystems.parchment.mappingsVersion=2023.12.31
23 changes: 3 additions & 20 deletions settings.gradle
Original file line number Diff line number Diff line change
@@ -1,30 +1,13 @@
pluginManagement {
resolutionStrategy {
eachPlugin({
if (requested.id.namespace == 'org.spongepowered')
it.useModule(group: 'org.spongepowered', name: 'mixingradle', version: mixingradle_version)
})
}
repositories {
mavenLocal()
gradlePluginPortal()
maven {
name 'NeoForge Maven'
url 'https://maven.neoforged.net/releases'
}
maven {
name 'SpongePowered Maven'
url 'https://repo.spongepowered.org/repository/maven-public'
}
maven {
name 'Gradle Plugin Maven'
url 'https://plugins.gradle.org/m2'
}
mavenCentral()
maven { url = 'https://maven.neoforged.net/releases' }
}
}

plugins {
id 'org.gradle.toolchains.foojay-resolver-convention' version '0.7.0'
id 'org.gradle.toolchains.foojay-resolver-convention' version '0.5.0'
}

rootProject.name = "visuality-forge"
10 changes: 5 additions & 5 deletions src/main/resources/META-INF/mods.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
modLoader="javafml"
loaderVersion="[1,)"
loaderVersion="[2,)"
license="MIT"
issueTrackerURL="https://github.com/ChannelingMC/visuality-forge/issues/"
[[mods]]
Expand All @@ -14,14 +14,14 @@ authors="LimonBlaze"
description="Little visual improvements by adding a bunch of new particles."
[[dependencies.visuality]]
modId="neoforge"
mandatory=true
versionRange="[20.3,)"
type="required"
versionRange="[20.4,)"
ordering="NONE"
side="BOTH"
[[dependencies.visuality]]
modId="minecraft"
mandatory=true
versionRange="[1.20.3,1.21)"
type="required"
versionRange="[1.20.4,1.21)"
ordering="NONE"
side="BOTH"
[[mixins]]
Expand Down

0 comments on commit baa3b0b

Please sign in to comment.