diff options
| author | neoforge-mdk-automation[bot] <173375039+neoforge-mdk-automation[bot]@users.noreply.github.com> | 2026-07-29 04:30:59 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-07-29 04:30:59 +0000 |
| commit | dcb35b6f63b441ca93d033aae6aef4ac5ccb0e70 (patch) | |
| tree | 712b82da749bb55eb01b3d70fa11831c3be79c4c | |
| parent | 3e2e23df8e18c7e39c0bcb007fae8b3f423246e1 (diff) | |
Update MDK with new output from mod generator (#66)
* Update MDK with new output from mod generator
* Update MDK with new output from mod generator
* Update MDK with new output from mod generator
* Update MDK with new output from mod generator
---------
Co-authored-by: NeoForge MDK Automation <173375039+neoforge-mdk-automation[bot]@users.noreply.github.com>
| -rw-r--r-- | build.gradle | 6 | ||||
| -rw-r--r-- | gradle.properties | 2 | ||||
| -rw-r--r-- | src/main/java/com/example/examplemod/ExampleMod.java | 2 |
3 files changed, 4 insertions, 6 deletions
diff --git a/build.gradle b/build.gradle index b7fcf2a..97ff178 100644 --- a/build.gradle +++ b/build.gradle @@ -1,7 +1,7 @@ plugins { id 'java-library' id 'maven-publish' - id 'net.neoforged.moddev' version '2.0.142' + id 'net.neoforged.moddev' version '2.0.143' id 'idea' } @@ -23,6 +23,7 @@ sourceSets.main.resources { // Exclude common development only resources from finalized outputs exclude("**/*.bbmodel") // BlockBench project files + exclude("src/generated/**/.cache") // datagen cache files } @@ -54,7 +55,6 @@ neoForge { runs { client { client() - // Comma-separated list of namespaces to load gametests from. Empty = all namespaces. systemProperty 'neoforge.enabledGameTestNamespaces', project.mod_id } @@ -64,7 +64,6 @@ neoForge { programArgument '--nogui' systemProperty 'neoforge.enabledGameTestNamespaces', project.mod_id } - // This run config launches GameTestServer and runs all registered gametests, then exits. // By default, the server will crash when no gametests are provided. // The gametest system is also enabled by default for other run configs under the /test command. @@ -75,7 +74,6 @@ neoForge { data { data() - // example of overriding the workingDirectory set in configureEach above, uncomment if you want to use it // gameDirectory = project.file('run-data') diff --git a/gradle.properties b/gradle.properties index 9e4e62d..a4314e4 100644 --- a/gradle.properties +++ b/gradle.properties @@ -18,7 +18,7 @@ minecraft_version=1.21.1 # as they do not follow standard versioning conventions. minecraft_version_range=[1.21.1] # The Neo version must agree with the Minecraft version to get a valid artifact -neo_version=21.1.242 +neo_version=21.1.244 # The loader version range can only use the major version of FML as bounds loader_version_range=[1,) diff --git a/src/main/java/com/example/examplemod/ExampleMod.java b/src/main/java/com/example/examplemod/ExampleMod.java index db1e6de..c35a97b 100644 --- a/src/main/java/com/example/examplemod/ExampleMod.java +++ b/src/main/java/com/example/examplemod/ExampleMod.java @@ -60,7 +60,7 @@ public class ExampleMod { .withTabsBefore(CreativeModeTabs.COMBAT) .icon(() -> EXAMPLE_ITEM.get().getDefaultInstance()) .displayItems((parameters, output) -> { - output.accept(EXAMPLE_ITEM.get()); // Add the example item to the tab. For your own tabs, this method is preferred over the event + output.accept(EXAMPLE_ITEM.get());// Add the example item to the tab. For your own tabs, this method is preferred over the event }).build()); // The constructor for the mod class is the first code that is run when your mod is loaded. |
