Skip to content

Commit dd3e929

Browse files
Merge pull request #7 from eclipseisoffline/snapshots
Update to 26.1
2 parents 4b9b092 + b9cbb0d commit dd3e929

35 files changed

Lines changed: 590 additions & 518 deletions

CHANGELOG.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,4 @@
1-
- Update to 1.21.11.
1+
- Update to Minecraft 26.1.
2+
- Add support for the `active_effects` tag. This allows you to show an effect's icon without showing its particles, or vice versa, or to add a hidden effect to an effect instance.
3+
- Add support for the `recipeBook` tag. This also allows you to open and close the recipe book for a player using commands.
4+
- Port to NeoForge.

README.md

Lines changed: 24 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@
66
[![Discord Badge](https://img.shields.io/badge/chat-discord-%235865f2)](https://discord.gg/CNNkyWRkqm)
77
[![Github Badge](https://img.shields.io/badge/github-modifyplayerdata-white?logo=github)](https://github.com/eclipseisoffline/modifyplayerdata)
88
![GitHub License](https://img.shields.io/github/license/eclipseisoffline/modifyplayerdata)
9+
![Available for Fabric](https://img.shields.io/badge/available_for-fabric-_?color=%23dbd0b4)
10+
![Available for NeoForge](https://img.shields.io/badge/available_for-NeoForge-_?color=%23e58c53)
911

1012
This mod allows Minecraft's data commands (`/data`, `/execute store`, etc.) to modify player data.
1113

@@ -27,27 +29,30 @@ For support and/or any questions you may have, feel free to join [my discord](ht
2729

2830
| Minecraft Version | Status |
2931
|-------------------|---------------|
30-
| 1.21.11 | ✅ Current |
32+
| 26.1 | ✅ Current |
33+
| 1.21.11 | ✔️ Available |
3134
| 1.21.9+10 | ✔️ Available |
3235
| 1.21.6+7+8 | ✔️ Available |
3336
| 1.21.5 | ✔️ Available |
3437
| 1.21.4 | ✔️ Available |
3538
| 1.21.2+3 | ✔️ Available |
36-
| 1.21+1 | ✅ Current |
39+
| 1.21+1 | ✔️ Available |
3740
| 1.20.5+6 | ✔️ Available |
3841
| 1.20.4 | ✔️ Available |
3942
| 1.20.1 | ✔️ Available |
4043

41-
I try to keep support up for the latest major and latest minor release of Minecraft. Updates to newer Minecraft
44+
I try to keep support up for the latest drop of Minecraft. Updates to newer Minecraft
4245
versions may be delayed from time to time, as I do not always have the time to immediately update my mods.
4346

4447
Unsupported versions are still available to download, but they won't receive new features or bugfixes.
4548

49+
NeoForge ports are available for Minecraft 26.1 onwards.
50+
4651
## Usage
4752

4853
Mod builds can be found on the releases page, as well as on [Modrinth](https://modrinth.com/mod/modify-player-data).
4954

50-
The Fabric API is not required. This mod is not required on clients.
55+
The Fabric API is not required on Fabric. This mod is not required on clients.
5156

5257
## Supported tags
5358

@@ -71,7 +76,10 @@ NBT tags currently supported:
7176
- `Health`
7277
- `HurtTime`[^1]
7378
- `AbsorptionAmount`
79+
- `active_effects`
7480
- `attributes`
81+
- `current_explosion_impact_pos`
82+
- `current_impulse_context_reset_grace_time`
7583
- `FallFlying`
7684
- `last_hurt_by_player`
7785
- `last_hurt_by_player_memory_time`
@@ -90,12 +98,10 @@ NBT tags currently supported:
9098
- `foodExhaustionLevel`
9199
- `abilities`
92100
- `EnderItems`
93-
- `current_explosion_impact_pos`
94-
- `ignore_fall_damage_from_current_explosion`
95-
- `current_impulse_context_reset_grace_time`
96101
- `warden_spawn_tracker`
97102
- `entered_nether_pos`
98103
- `seenCredits`
104+
- `recipeBook`
99105
- `respawn`
100106
- `spawn_extra_particles_on_fall`
101107
- `raid_omen_position`
@@ -108,29 +114,25 @@ NBT tags I won't add support for:
108114
- `CustomNameVisible`
109115
- `Passengers`[^2]
110116
- `DeathTime`
111-
- `active_effects`[^3]
112117
- `sleeping_pos`
113118
- `Brain`
114-
- `locator_bar_icon`[^4]
115-
- `XpP`[^5]
116-
- `XpLevel`[^5]
117-
- `XpTotal`[^5]
118-
- `XpSeed`[^6]
119+
- `locator_bar_icon`[^3]
120+
- `XpP`[^4]
121+
- `XpLevel`[^4]
122+
- `XpTotal`[^4]
123+
- `XpSeed`[^5]
119124
- `ShoulderEntityLeft`
120125
- `ShoulderEntityRight`
121-
- `LastDeathLocation`[^7]
126+
- `LastDeathLocation`[^6]
122127
- `playerGameType`
123-
- `previousPlayerGameType`[^7]
128+
- `previousPlayerGameType`[^6]
124129
- `RootVehicle`[^2]
125-
- `recipeBook`[^8]
126130
- `Dimension`
127131
- `ender_pearls`
128132

129133
[^1]: Is implemented but does not do much due to limitations within the vanilla client
130134
[^2]: Use the `/ride` command.
131-
[^3]: Use the `/effect` command.
132-
[^4]: Use the `/waypoint` command.
133-
[^5]: Use the `/xp` command.
134-
[^6]: I can't think of any use cases for this tag, but will add support on request.
135-
[^7]: Unable to implement due to limitations within the vanilla client.
136-
[^8]: Use the `/recipe` command.
135+
[^3]: Use the `/waypoint` command.
136+
[^4]: Use the `/xp` command.
137+
[^5]: I can't think of any use cases for this tag, but will add support on request.
138+
[^6]: Unable to implement due to limitations within the vanilla client.

build.gradle

Lines changed: 0 additions & 101 deletions
This file was deleted.

build.gradle.kts

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
import me.modmuss50.mpp.ReleaseType
2+
3+
plugins {
4+
alias(libs.plugins.multimod)
5+
}
6+
7+
group = properties["maven_group"] as String
8+
version = properties["version"] as String
9+
10+
multimod {
11+
id = properties["mod_id"] as String
12+
name = properties["mod_name"] as String
13+
description = properties["mod_description"] as String
14+
15+
archivesBaseName = properties["archives_base_name"] as String
16+
17+
minecraft {
18+
minecraft = libs.minecraft
19+
supported(libs.versions.minecraft.release)
20+
}
21+
22+
neoForgeVersion = libs.versions.neoforge
23+
24+
modPublishing {
25+
base {
26+
changelog = file("CHANGELOG.md").readText()
27+
type = ReleaseType.of(properties["release_type"] as String)
28+
}
29+
30+
modrinth {
31+
accessToken = providers.gradleProperty("MODRINTH_API_TOKEN")
32+
projectId = properties["modrinth_project_id"] as String
33+
minecraftVersions.addAll(libs.versions.minecraft.release.get().split(","))
34+
}
35+
36+
github {
37+
accessToken = providers.gradleProperty("GITHUB_API_PUBLISH_TOKEN")
38+
repository = properties["github_repository"] as String
39+
commitish = properties["git_branch"] as String
40+
}
41+
}
42+
43+
publishing {
44+
maven {
45+
name = "eclipseisoffline"
46+
url = uri("https://maven.eclipseisoffline.xyz/releases")
47+
credentials(PasswordCredentials::class)
48+
}
49+
}
50+
}

common/build.gradle.kts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
plugins {
2+
alias(libs.plugins.multimod)
3+
}
4+
5+
multimod.common()

0 commit comments

Comments
 (0)