Skip to content

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

License

Notifications You must be signed in to change notification settings

eclipseisoffline/modifyplayerdata

Repository files navigation

Modify Player Data

Modrinth Version Modrinth Game Versions Modrinth Downloads Discord Badge Github Badge GitHub License

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

Alongside supporting most vanilla player NBT tags, this mod also adds the CustomData NBT tag, which can be used to store any type of NBT data on a per-player basis.

Feel free to report any bugs, or suggest new features, at the issue tracker.

License

This mod is licensed under GNU LGPLv3.

Donating

If you like this mod, consider donating.

Discord

For support and/or any questions you may have, feel free to join my discord.

Version support

Minecraft Version Status
1.21.4 ✅ Current
1.21.2+3 ✔️ Available
1.21+1 ✅ Current
1.20.5+6 ✔️ Available
1.20.4 ✔️ Available
1.20.1 ✔️ Available

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

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

Usage

Mod builds can be found here and on Modrinth.

The Fabric API is not required. This mod is not required on clients.

Supported tags

NBT tags currently supported:

  • Air
  • FallDistance
  • Fire
  • Glowing
  • HasVisualFire
  • Invulnerable
  • Motion
  • NoGravity
  • PortalCooldown
  • Pos
  • Rotation
  • Tags
  • Silent1
  • TicksFrozen
  • AbsorptionAmount
  • attributes
  • FallFlying
  • Health
  • HurtTime1
  • LeftHanded
  • abilities
  • EnderItems
  • foodExhaustionLevel
  • foodLevel
  • foodSaturationLevel
  • foodTickTimer
  • Inventory
  • recipeBook
  • Score
  • seenCredits
  • SelectedItem
  • SelectedItemSlot
  • SleepTimer
  • warden_spawn_tracker
  • CustomData
    • This tag doesn't exist in vanilla Minecraft, and doesn't do anything. It can be used by datapack creators to store custom NBT data.

NBT tags I won't add support for:

  • CustomName
  • CustomNameVisible
  • OnGround
  • Passengers2
  • UUID
  • active_effects3
  • ArmorDropChances
  • ArmorItems
  • Brain
  • CanPickUpLoot
  • DeathLootTable
  • DeathLootTableSeed
  • DeathTime
  • FallFlying
  • HurtByTimestamp
  • HandDropChances
  • HandItems
  • Leash
  • NoAI
  • PersistenceRequired
  • SleepingX
  • SleepingY
  • SleepingZ
  • DataVersion
  • Dimension4
  • enteredNetherPosition5
  • LastDeathLocation6
  • playerGameType7
  • previousPlayerGameType7
  • RootVehicle2
  • ShoulderEntityLeft
  • ShoulderEntityRight
  • SpawnDimension8
  • SpawnForced5
  • SpawnX8
  • SpawnY8
  • SpawnZ8
  • XpLevel9
  • XpP9
  • XpSeed5
  • XpTotal9

Footnotes

  1. Is implemented but does not do much due to limitations within the vanilla client 2

  2. Use the /ride command. 2

  3. Use the /effect command.

  4. Use the /tp command.

  5. I can't think of any use cases for this tag, but will add support on request. 2 3

  6. Unable to implement due to limitations within the vanilla client.

  7. Use the /gamemode command. 2

  8. Use the /spawnpoint command. 2 3 4

  9. Use the /xp command. 2 3

About

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

Topics

Resources

License

Stars

Watchers

Forks

Sponsor this project

Packages