• check_circle Advancements
  • check_circle Functions
  • 1,664 views, 6 today
  • 37 downloads, 0 today
  • 8
  • 5
  • 1
Frogster avatar Frogster
Level 24 : Expert Waffle
Was working on a feature in an upcoming datapack and started writing scripts for a bunch of data no one wants to make over and over again. So rather than just do what any sensible person would do and just make a new scoreboard to track it, I made an entire API.

This World Database API takes in some weirder, harder-to-obtain data about the world and puts in into convenient scoreboards. It tracks everything not player-specific (except Gamemode, it tracks that) and puts it into a scoreboard.

- Gamerules
- Gamemode
- Time of Day, Day, Gametime, anything you can get with the /time query command
- Weather
- Miscellaneous Tracking
- If ender dragon has been defeated
- World Border size
- Datapack count
- Difficulty

The pack also has numerous new predicates used in various places such as if the player is sneaking, or swimming, or whatnot. It also has predicates based on chance. Play around to see what works.

Run "/trigger WorldDatabase" in-game to view statistics. This does NOT allow you to edit any values.

To uninstall, run "/function world_database:uninstall"
CompatibilityMinecraft 1.15
toMinecraft 1.19

3 Update Logs

v1.2 Datapack Coventions : by Frogster 10/04/2022 10:20:07 pmOct 4th

  • Compatibility with the datapack conventions datapack advancement

Create an account or sign in to comment.

09/27/2022 9:49 pm
Level 9 : Apprentice Mage
Bombface68 avatar
Cool concept! I can’t wait to see what you do with this in the future.
Planet Minecraft


© 2010 - 2022