Skip to content

Commit fc8ff3f

Browse files
committed
- 1.21.1 Update
1 parent 385062c commit fc8ff3f

8 files changed

Lines changed: 120 additions & 132 deletions

File tree

README.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,10 @@ Installation information
44

55
This template repository can be directly cloned to get you started with a new
66
mod. Simply create a new repository cloned from this one, by following the
7-
instructions at [github](https://docs.github.com/en/repositories/creating-and-managing-repositories/creating-a-repository-from-a-template).
7+
instructions provided by [GitHub](https://docs.github.com/en/repositories/creating-and-managing-repositories/creating-a-repository-from-a-template).
88

99
Once you have your clone, simply open the repository in the IDE of your choice. The usual recommendation for an IDE is either IntelliJ IDEA or Eclipse.
1010

11-
> **Note**: For Eclipse, use tasks in `Launch Group` instead of ones founds in `Java Application`. A preparation task must run before launching the game. NeoGradle uses launch groups to do these subsequently.
12-
1311
If at any point you are missing libraries in your IDE, or you've run into problems you can
1412
run `gradlew --refresh-dependencies` to refresh the local cache. `gradlew clean` to reset everything
1513
{this does not affect your code} and then start the process again.

build.gradle

Lines changed: 7 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
plugins {
22
id 'java-library'
3-
id 'eclipse'
4-
id 'idea'
53
id 'maven-publish'
6-
id 'net.neoforged.gradle.userdev' version '7.0.145'
4+
id 'net.neoforged.gradle.userdev' version '7.0.185'
75
}
86

97
tasks.named('wrapper', Wrapper).configure {
@@ -15,19 +13,11 @@ tasks.named('wrapper', Wrapper).configure {
1513
distributionType = Wrapper.DistributionType.BIN
1614
}
1715

18-
tasks.register('arbiterClient', JavaExec) {
19-
group = 'application' // se verá en `gradlew tasks`
20-
description = 'Lanza com.example.arbiter.ArbiterClient para probar el árbitro'
21-
classpath = sourceSets.main.runtimeClasspath
22-
mainClass.set('com.manwe.dsl.arbiter.ArbiterClient')
23-
args 'http://localhost:8080', 'alpha'
24-
}
25-
2616
version = mod_version
2717
group = mod_group_id
2818

2919
repositories {
30-
mavenLocal()
20+
// Add here additional repositories if required by some of the dependencies below.
3121
}
3222

3323
base {
@@ -62,27 +52,27 @@ runs {
6252

6353
client {
6454
// Comma-separated list of namespaces to load gametests from. Empty = all namespaces.
65-
systemProperty 'forge.enabledGameTestNamespaces', project.mod_id
55+
systemProperty 'neoforge.enabledGameTestNamespaces', project.mod_id
6656
}
6757

6858
server {
69-
systemProperty 'forge.enabledGameTestNamespaces', project.mod_id
70-
programArgument '--nogui'
59+
systemProperty 'neoforge.enabledGameTestNamespaces', project.mod_id
60+
argument '--nogui'
7161
}
7262

7363
// This run config launches GameTestServer and runs all registered gametests, then exits.
7464
// By default, the server will crash when no gametests are provided.
7565
// The gametest system is also enabled by default for other run configs under the /test command.
7666
gameTestServer {
77-
systemProperty 'forge.enabledGameTestNamespaces', project.mod_id
67+
systemProperty 'neoforge.enabledGameTestNamespaces', project.mod_id
7868
}
7969

8070
data {
8171
// example of overriding the workingDirectory set in configureEach above, uncomment if you want to use it
8272
// workingDirectory project.file('run-data')
8373

8474
// Specify the modid for data generation, where to output the resulting resource, and where to look for existing resources.
85-
programArguments.addAll '--mod', project.mod_id, '--all', '--output', file('src/generated/resources/').getAbsolutePath(), '--existing', file('src/main/resources/').getAbsolutePath()
75+
arguments.addAll '--mod', project.mod_id, '--all', '--output', file('src/generated/resources/').getAbsolutePath(), '--existing', file('src/main/resources/').getAbsolutePath()
8676
}
8777
}
8878

gradle.properties

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,28 @@
11
# Sets default memory used for gradle commands. Can be overridden by user or command line properties.
22
org.gradle.jvmargs=-Xmx1G
3-
org.gradle.daemon=false
4-
org.gradle.debug=false
3+
org.gradle.daemon=true
4+
org.gradle.parallel=true
5+
org.gradle.caching=true
6+
org.gradle.configuration-cache=true
57

68
#read more on this at https://github.com/neoforged/NeoGradle/blob/NG_7.0/README.md#apply-parchment-mappings
79
# you can also find the latest versions at: https://parchmentmc.org/docs/getting-started
8-
neogradle.subsystems.parchment.minecraftVersion=1.21
9-
neogradle.subsystems.parchment.mappingsVersion=2024.07.28
10+
neogradle.subsystems.parchment.minecraftVersion=1.21.1
11+
neogradle.subsystems.parchment.mappingsVersion=2024.11.17
1012
# Environment Properties
1113
# You can find the latest versions here: https://projects.neoforged.net/neoforged/neoforge
1214
# The Minecraft version must agree with the Neo version to get a valid artifact
13-
minecraft_version=1.21
15+
minecraft_version=1.21.1
1416
# The Minecraft version range can use any release version of Minecraft as bounds.
1517
# Snapshots, pre-releases, and release candidates are not guaranteed to sort properly
1618
# as they do not follow standard versioning conventions.
17-
minecraft_version_range=[1.21,1.21.1)
19+
minecraft_version_range=[1.21.1]
1820
# The Neo version must agree with the Minecraft version to get a valid artifact
19-
neo_version=21.0.167
21+
neo_version=21.1.180
2022
# The Neo version range can use any version of Neo as bounds
21-
neo_version_range=[21.0.0-beta,)
23+
neo_version_range=[21.1.180,)
2224
# The loader version range can only use the major version of FML as bounds
23-
loader_version_range=[4,)
25+
loader_version_range=[1,)
2426

2527
## Mod Properties
2628

@@ -32,7 +34,7 @@ mod_name=Distributed Server Level
3234
# The license of the mod. Review your options at https://choosealicense.com/. All Rights Reserved is the default.
3335
mod_license=All Rights Reserved
3436
# The mod version. See https://semver.org/
35-
mod_version=1.0.0
37+
mod_version=1.0.1
3638
# The group ID for the mod. It is only important when publishing as an artifact to a Maven repository.
3739
# This should match the base package used for the mod sources.
3840
# See https://maven.apache.org/guides/mini/guide-naming-conventions.html

gradle/wrapper/gradle-wrapper.jar

260 Bytes
Binary file not shown.

gradle/wrapper/gradle-wrapper.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-8.9-bin.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.14.2-bin.zip
44
networkTimeout=10000
55
validateDistributionUrl=true
66
zipStoreBase=GRADLE_USER_HOME

gradlew

Lines changed: 4 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

gradlew.bat

Lines changed: 94 additions & 94 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

settings.gradle

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
11
pluginManagement {
22
repositories {
3-
mavenLocal()
43
gradlePluginPortal()
54
maven { url = 'https://maven.neoforged.net/releases' }
65
}
76
}
87

98
plugins {
10-
id 'org.gradle.toolchains.foojay-resolver-convention' version '0.8.0'
9+
id 'org.gradle.toolchains.foojay-resolver-convention' version '0.9.0'
1110
}

0 commit comments

Comments
 (0)