Wiki 9Minecraft Wiki 9Minecraft

Dawn Api FAQ

20 questions players actually ask, answered.

How do I use the /health command to give a player extra hearts?
Use `/health add ` to add health points to a player. For example, `/health add @s 4` adds 2 hearts to yourself. You can also use `/health set` to set their health to a specific value instead of adding to it.
What's the difference between food and saturation in the /foodbar command?
Food represents the hunger bar itself, while saturation is an invisible meter that prevents hunger from decreasing. Both can be modified separately using `/foodbar add (food|saturation)` or `/foodbar set (food|saturation)`.
How do I make a block fly upward instead of falling?
Use the `dawn:flying_block` entity, which works like a falling block but moves upward. You can customize it with the same properties as a falling block, including which block it displays and its motion behavior.
Can I create an explosion with custom strength using this mod?
Yes, use the `dawn:custom_tnt` entity which lets you set any explosion strength and fuse time, and even display as any block state. This is useful for mapmaking when you need explosions that don't match vanilla TNT behavior.
How do I export game content data with the /export command?
Use `/export` to save information and files about the game's content. The exact output format and files generated depend on your mod version, so check the command output to see what was created.
Can I use /motion to change a player's velocity?
Yes, use `/motion add ` to add velocity or `/motion set ` to set it directly. This is useful for mapmaking mechanics like launching players or creating knockback effects.
Is Dawn Api only for mapmakers or can modders use it too?
Dawn API is primarily a library mod for other modders to build features on, but it also includes standalone commands for mapmakers. If you're just playing, you'll mainly use the commands and entities it provides.
Do I need to install anything else for Dawn Api to work?
Dawn API is a standalone mod that works on its own, though other mods may depend on it as a library. Check that you have the correct version for your Minecraft version and mod loader (Fabric/Quilt).
Can I query a player's current health or food without changing it?
Yes, use `/health query ` to check health or `/foodbar query (food|saturation)` to check food/saturation values. These commands only read the values and don't modify them.
What happens if I set health or food to 0 using these commands?
Setting health to 0 will kill the player, and setting food to 0 will cause hunger damage to start applying. Be careful with these commands in mapmaking as they can have immediate effects on player state.
What is the Dawn Api Mod?
Dawn API is a lightweight library mod that provides shared code, utility classes, and builder classes for creating features in other mods. It adds no blocks or items of its own.
What does the Dawn Api Mod do?
It facilitates the creation of features for other mods through utility and builder classes, and it also bundles in-game tools like the /health, /foodbar, /motion, and /export commands. It also adds a custom TNT entity and a flying block entity.
Is Dawn Api a library mod?
Yes, Dawn API is a library mod that provides shared code and utilities for other mods, and it adds no blocks or items of its own.
What commands does Dawn Api add?
Dawn API adds /health, /foodbar, /motion, and /export commands. The /health, /foodbar, and /motion commands each have add, set, and query subcommands for controlling an entity's health, food/saturation, and motion.
What Minecraft versions does Dawn Api support?
According to the mod author's project page, Dawn API supports Minecraft 1.19.2, 1.19.3, 1.19.4, 1.20, 1.20.1, and 1.20.2. The 9Minecraft article also lists versions going back to 1.16.5.
What mod loaders does Dawn Api support?
Dawn API supports the fabric and quilt loaders.
What is the custom TNT entity in Dawn Api?
The dawn:custom_tnt entity is an extension of the vanilla TNT entity that can be set to display any block state and have any explosion strength and fuse time.
What is the flying block entity in Dawn Api?
The dawn:flying_block entity is very similar to the vanilla falling block entity, but instead of falling down it flies up. It is as customizable as the falling block.
Does Dawn Api add any blocks or items?
No, Dawn API is a library mod that adds no blocks or items of its own.
What is the /export command in Dawn Api?
The /export command can export information and files of the game's content.