Skip to content

Commit a14b7f6

Browse files
authored
Merge pull request #55 from FTBTeam/dev
Dev
2 parents c3d35bb + 7e5475e commit a14b7f6

File tree

11 files changed

+37
-24
lines changed

11 files changed

+37
-24
lines changed

CHANGELOG.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,20 @@ All notable changes to this project will be documented in this file.
44
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
55
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
66

7+
## [2101.1.0]
8+
9+
### Changed
10+
* Ported to MC 1.21.1
11+
* Will not run on MC 1.21
12+
13+
### Added
14+
* Sidebar buttons for this and other FTB mods can now be enabled/disabled/rearranged (new functionality in FTB Library 2101.1.0)
15+
16+
## [2100.1.0]
17+
18+
### Changed
19+
* Ported to MC 1.21
20+
721
## [2006.1.0]
822

923
### Changed

build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
plugins {
22
id "architectury-plugin" version "3.4-SNAPSHOT"
3-
id "dev.architectury.loom" version "1.6-SNAPSHOT" apply false
3+
id "dev.architectury.loom" version "1.7-SNAPSHOT" apply false
44
id "me.modmuss50.mod-publish-plugin" version "0.5.1"
55
}
66

@@ -106,7 +106,7 @@ publishMods {
106106

107107
// TODO: Migrate to something else
108108
def tag = providers.environmentVariable("TAG").getOrElse("release")
109-
type = tag == "beta" ? BETA : (tag == "alpha" ? ALPHA : STABLE)
109+
type = tag.endsWith("-beta") ? BETA : (tag.endsWith("-alpha") ? ALPHA : STABLE)
110110

111111
def createOptions = (String projectName) -> {
112112
publishOptions {

common/src/main/java/dev/ftb/mods/ftbteams/data/TeamArgument.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ public Team getTeam(CommandSourceStack source) throws CommandSyntaxException {
9898
@Override
9999
public TeamArgumentProvider parse(StringReader reader) throws CommandSyntaxException {
100100
if (reader.canRead() && reader.peek() == '@') {
101-
EntitySelector selector = new EntitySelectorParser(reader).parse();
101+
EntitySelector selector = new EntitySelectorParser(reader, true).parse();
102102

103103
if (selector.includesEntities()) {
104104
throw EntityArgument.ERROR_ONLY_PLAYERS_ALLOWED.create();

common/src/main/resources/assets/ftbteams/sidebar_buttons.json

Lines changed: 0 additions & 9 deletions
This file was deleted.
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"icon": "ftbteams:textures/teams.png",
3+
"sort_index": 550,
4+
"loading_screen": true,
5+
"click": [
6+
"ftbteams:open_gui"
7+
]
8+
}

fabric/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ processResources {
3838
filesMatching("fabric.mod.json") {
3939
expand "version": project.version,
4040
"archversion": project.architectury_api_version,
41-
"fabricapiversion": project.fabric_api_version,
41+
"fabricapiversionrange": project.fabric_api_version_range,
4242
"mcversion": project.minecraft_version,
4343
"ftblibraryversion": project.ftb_library_version
4444
}

fabric/src/main/resources/fabric.mod.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
]
1919
},
2020
"depends": {
21-
"fabric": ">=${fabricapiversion}",
21+
"fabric": "${fabricapiversionrange}",
2222
"minecraft": "~${mcversion}",
2323
"architectury": ">=${archversion}",
2424
"ftblibrary": ">=${ftblibraryversion}"

gradle.properties

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,20 +7,20 @@ maven_group=dev.ftb.mods
77
readable_name=FTB Teams
88
mod_author=FTB Team
99

10-
mod_version=2100.1.0
11-
minecraft_version=1.21
10+
mod_version=2101.1.0
11+
minecraft_version=1.21.1
1212

1313
# Deps
1414
#forge_version=50.0.9
15-
neoforge_version=21.0.10-beta
16-
17-
# https://maven.neoforged.net/#/releases/net/neoforged/fancymodloader/loader
1815
neoforge_loader_version=4
16+
neoforge_version=21.1.9
17+
neoforge_version_range=[21.1.0,)
1918
fabric_loader_version=0.15.11
20-
fabric_api_version=0.100.1+1.21
19+
fabric_api_version=0.100.8+1.21
20+
fabric_api_version_range=>=0.100.1+1.21
2121
architectury_api_version=13.0.1
2222

23-
ftb_library_version=2100.1.0
23+
ftb_library_version=2101.1.0
2424

2525
curseforge_id_forge=404468
2626
curseforge_id_fabric=438497

gradle/wrapper/gradle-wrapper.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@ distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
33
zipStoreBase=GRADLE_USER_HOME
44
zipStorePath=wrapper/dists
5-
distributionUrl=https\://services.gradle.org/distributions/gradle-8.7-bin.zip
5+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.8-bin.zip

neoforge/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ processResources {
3939
filesMatching("META-INF/neoforge.mods.toml") {
4040
expand "version": project.version,
4141
"archversion": project.architectury_api_version,
42-
"neoforgeversion": project.neoforge_version,
42+
"neoforgeversionrange": project.neoforge_version_range,
4343
"neoforgeloaderversion": project.neoforge_loader_version,
4444
"mcversion": project.minecraft_version,
4545
"ftblibraryversion": project.ftb_library_version

0 commit comments

Comments
 (0)