Skip to content

Commit

Permalink
Update to 1.20.6
Browse files Browse the repository at this point in the history
  • Loading branch information
soir20 committed May 11, 2024
1 parent b66655a commit 22d2731
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 11 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
plugins {
id "architectury-plugin" version "3.4-SNAPSHOT"
id "dev.architectury.loom" version "1.2-SNAPSHOT" apply false
id "dev.architectury.loom" version "1.6-SNAPSHOT" apply false
}

architectury {
Expand Down
7 changes: 7 additions & 0 deletions forge/build.gradle
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import net.fabricmc.loom.api.mappings.layered.MappingsNamespace

plugins {
id "com.github.johnrengelman.shadow" version "7.1.2"
id "com.matthewprenger.cursegradle" version "1.4.0"
Expand Down Expand Up @@ -44,6 +46,11 @@ shadowJar {
}

remapJar {

// In 1.20.6+, Forge applies remapping at runtime, so we need to disable
// remapping in the output jar.
sourceNamespace = MappingsNamespace.INTERMEDIARY.toString()

inputFile.set shadowJar.archiveFile
dependsOn shadowJar
archiveClassifier.set "forge"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
import net.minecraftforge.fml.IExtensionPoint;
import net.minecraftforge.fml.ModLoadingContext;
import net.minecraftforge.fml.common.Mod;
import net.minecraftforge.network.NetworkConstants;

/**
* Mod entrypoint on Forge.
Expand All @@ -41,7 +40,7 @@ public EntrypointForge() {
ModLoadingContext.get().registerExtensionPoint(
IExtensionPoint.DisplayTest.class,
()-> new IExtensionPoint.DisplayTest(
() -> NetworkConstants.IGNORESERVERONLY,
() -> IExtensionPoint.DisplayTest.IGNORESERVERONLY,
(remoteVersion, isServer)-> true
)
);
Expand Down
13 changes: 6 additions & 7 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -17,29 +17,28 @@

org.gradle.jvmargs=-Xmx2048M

minecraft_version = 1.20.1
minecraft_version = 1.20.6
enabled_platforms = fabric,forge

java_version = 17
java_version = 21
junit_version = 4.11
lwjglVersion = 3.2.2

archives_base_name = animation-plugin
mod_version = 1.0.0
maven_group = io.github.moremcmeta

# MoreMcmeta version to use for development. If you are not developing a
# default plugin, use a stable release version instead.
moremcmeta_version = 1.20.1-4.x-1.20-SNAPSHOT
moremcmeta_version = 1.20.6-4.x-1.20-SNAPSHOT

# Minimum MoreMcmeta version that users can install. This should be at
# least 4.0.0 for the corresponding Minecraft version if this plugin is
# not a default plugin. For example: 1.19-4.0.0
moremcmeta_min_version = *

# Fabric loader and API versions to use for development
fabric_loader_version = 0.14.18
fabric_api_version = 0.83.0+1.20.1
fabric_loader_version = 0.15.11
fabric_api_version = 0.97.8+1.20.6

# Forge version to use for development
forge_version = 1.20.1-47.0.1
forge_version = 1.20.6-50.0.8
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.1-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.6-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists

0 comments on commit 22d2731

Please sign in to comment.