Dawn API — Configuration
Administrative Commands
Dawn API adds several powerful commands designed for debugging, map creation, and entity manipulation. These commands provide more granular control than standard vanilla options.
Entity Management
- /health: Allows precise control over an entity's health points.
add: Increases the target's health.set: Sets health to a specific value.query: Returns the current health of the entity.- /foodbar: Manages hunger and saturation for players and supported entities.
add (food|saturation): Adds points to the respective bar.set (food|saturation): Sets hunger or saturation levels.query (food|saturation): Checks current levels.- /motion: Directly modifies the velocity of an entity.
add: Adds momentum in a specific direction.set: Overwrites the current motion vector.
Utility & Data
- /export: A developer-focused command that exports game content information or internal files to the game directory.
- /shape: Enables the creation of custom geometric shapes within the world, with full support for data packs to define complex structures.
Configuration
Dawn API uses a centralized configuration system. While it does not add a complex GUI of its own, it enables the configuration screens for all DawnTeamMC mods when Cloth Config API is installed. Users can typically find these settings in the config folder of their Minecraft instance, usually under dawn-api.json or within the specific sub-mod's config file.