Dawn API — Guide
Special Entities
Dawn API introduces two highly customizable entities that are used by other mods to create unique environmental effects and mechanics. These entities can also be summoned manually via commands for map-making purposes.
Custom TNT (dawn:custom_tnt)
The Custom TNT entity is a powerful extension of the vanilla TNT. Unlike standard TNT, it can be configured to mimic the appearance of any block and have its explosion properties modified via NBT data.
| Property | Description |
|---|---|
| Block State | Can be set to display any block (e.g., a TNT that looks like a Diamond Block). |
| Explosion Power | Adjustable strength, allowing for massive blasts or tiny pops. |
| Fuse Time | Precise control over the countdown before detonation. |
Flying Block (dawn:flying_block)
This entity is the inverse of the vanilla Falling Block. Instead of dropping due to gravity, the Flying Block moves upward. It is frequently used in the DawnTeamMC ecosystem for magical effects, rising debris, or specialized structures.
- Customization: Supports any block state.
- Behavior: Can be set to turn back into a solid block upon hitting a ceiling or reaching a certain height.
- NBT Parameters: Includes tags for
BlockState,Time,DropItem, andHurtEntities.
Supported Mod Ecosystem
Dawn API is the mandatory dependency for the following mods. Without Dawn API, these mods will not function:
| Mod Name | Primary Focus |
|---|---|
| Promenade | Adds new biomes (like Cherry Oaks), animals (Ducks, Capybaras), and structures. |
| Culinaire | Expands the cooking system with new food items and preparation mechanics. |
| Artisanat | Introduces decorative blocks, vertical slabs, and leaf piles. |
| Universal Ores | Standardizes ore generation and adds missing ore variants for consistency. |
| Mubble | A crossover mod focused on Nintendo-themed content and pop culture items. |
Mechanics & Developer Tools
Beyond visible features, Dawn API provides several backend mechanics that improve the modding experience and game stability:
- DawnFactory: A centralized registry system that simplifies the addition of new blocks, items, and entities.
- Variant Creators: Specialized tools for creating new mob variants, including
CatVariantCreatorandFrogVariantCreator, which allow for easy expansion of animal types. - Banner Pattern Registry: A streamlined system for adding custom banner patterns to the game.
- Data Fixing: Includes robust tools for migrating data between mod versions, preventing world corruption when mods are updated.
- Compatibility Layers: Built-in hooks for Cloth Config (for in-game settings), Mod Menu (for mod listing), and AppleSkin (for enhanced food tooltips).