• check_circle Functions
  • check_circle Predicates
  • 3,584 views, 2 today
  • 68 downloads, 0 today
  • 11
  • 10
  • 1
Frogster's Avatar Frogster
Level 34 : Artisan Waffle
5
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.

Tracks:
- 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
Tags

4 Update Logs

v1.3 Non-OP Update : by Frogster 03/04/2023 12:01:46 amMar 4th, 2023

Added:
  • Support for non-operators
  • 1.19.3 gamerules
Fixed:
  • Fixed trigger pages to use the /trigger command instead of /function. Anyone should be able to use it now.
LOAD MORE LOGS

Create an account or sign in to comment.

1
09/27/2022 9:49 pm
Level 23 : Expert Procrastinator
Bombface68
Bombface68's Avatar
Cool concept! I can’t wait to see what you do with this in the future.
Planet Minecraft

Website

© 2010 - 2024
www.planetminecraft.com

Welcome