Skip to content

Commit

Permalink
[1.21.4] v1.2.1
Browse files Browse the repository at this point in the history
Check the CHANGELOG.md for all the new changes!
  • Loading branch information
MrSn0wy committed Dec 6, 2024
1 parent 8271197 commit ceecae2
Show file tree
Hide file tree
Showing 6 changed files with 29 additions and 13 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

### [v1.2.1]
- Added support for 1.21.4
- Added Traditional Chinese translations (Thanks to [hugoalh](https://github.com/hugoalh)!)

### [v1.2.0]
- Added the following warp related commands: `/warp` `/setwarp` `/delwarp` `/renamewarp` and `/warps`
- Added `/worldspawn`
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,5 @@ Things to know:
- Dutch (nl_nl): [Mr. Snowy](https://github.com/MrSn0wy)
- Hungarian (hu_hu): [Martin Morningstar](https://github.com/RMI637)
- Italian (it_it): [Vlad Andrei Morariu](https://github.com/VladAndreiMorariu)
- Russian (ru_ru): [rfin0](https://github.com/rfin0)
- Russian (ru_ru): [rfin0](https://github.com/rfin0)
- Chinese Traditional (zw_tw): [hugoalh](https://github.com/hugoalh)
14 changes: 7 additions & 7 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -2,24 +2,24 @@
# Every field you add must be added to the root build.gradle expandProps map.

# Project
version=1.2.0
version=1.2.1
group=dev.mrsnowy.teleport_commands
java_version=21

# Common
minecraft_version=1.21.2
minecraft_version=1.21.4
mod_name=Teleport Commands
mod_author=Mr. Snowy
mod_id=teleport_commands
license=MIT
credits=Mr. Snowy
description=A server-side mod that adds various teleportation related commands.
minecraft_version_range=[1.21.2,1.22]
minecraft_version_range=[1.21.4,1.22]

# Fabric
fabric_loader_version=0.15.11
fabric_loader_version=0.16.9
#fabric_api=0.97.0+1.20.4
fabric_loom=1.8-SNAPSHOT
fabric_loom=1.9-SNAPSHOT

# Quilt (Currently disabled since fabric port works better)
#quilt_loader_version=0.25.0
Expand All @@ -28,9 +28,9 @@ fabric_loom=1.8-SNAPSHOT


# NeoForge
neoforge_version=21.2.1-beta
neoforge_version=21.4.0-beta
neoforge_loader_version_range=[2,)
NeoGradle=7.0.168
NeoGradle=7.0.171

# Gradle
org.gradle.jvmargs=-Xmx6G
Expand Down
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.10-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.11-bin.zip
networkTimeout=10000
validateDistributionUrl=true
zipStoreBase=GRADLE_USER_HOME
Expand Down
17 changes: 14 additions & 3 deletions neoforge/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ def at = file('src/main/resources/META-INF/accesstransformer.cfg')
if (at.exists()) {
minecraft.accessTransformers.file at
}

runs {
configureEach {
modSource project.sourceSets.main
Expand All @@ -26,13 +27,23 @@ runs {
systemProperty 'neoforge.enabledGameTestNamespaces', project.mod_id
}

data {
getArguments().addAll '--mod', project.mod_id, '--all', '--output', file('src/generated/resources/').getAbsolutePath(), '--existing', file('src/main/resources/').getAbsolutePath()
}
// data {
// programArguments.addAll '--mod', project.mod_id, '--all', '--output', file('src/generated/resources/').getAbsolutePath(), '--existing', file('src/main/resources/').getAbsolutePath()
// }
}

sourceSets.main.resources { srcDir 'src/generated/resources' }
configurations {
runtimeClasspath.extendsFrom localRuntime
}

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

idea {
module {
downloadSources = true
downloadJavadoc = true
}
}
2 changes: 1 addition & 1 deletion neoforge/src/main/resources/META-INF/neoforge.mods.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ config = "${mod_id}.mixins.json"
[[dependencies.${mod_id}]] #optional
modId = "neoforge" #mandatory
type="required" #mandatory (Can be one of "required", "optional", "incompatible" or "discouraged")
versionRange = "${neoforge_loader_version_range}" #mandatory
versionRange = "[${neoforge_version},)" #mandatory
ordering = "NONE" # The order that this dependency should load in relation to your mod, required to be either 'BEFORE' or 'AFTER' if the dependency is not mandatory
side = "BOTH" # Side this dependency is applied on - 'BOTH', 'CLIENT' or 'SERVER'
[[dependencies.${mod_id}]]
Expand Down

0 comments on commit ceecae2

Please sign in to comment.