The Dawn API is a library mod for the latest version of Minecraft that adds utility classes for constructing a typical mod for the Dawn Team.
It is designed to be handy and ease with the creation of any feature in the game through builder classes, and a variety of tools for data fixing.
You can visit the GitHub repository of the Dawn API for more information.
👾 Features
Other than being a useful API, the Dawn API is also bundled with some in-game tools too:
/health
- A command that allows easy control over an entity's health./foodbar
- A command that allows easy control over an entity's food/saturation points./motion
- A command that allows easy control over an entity's motion (velocity)./export
- A command that can export information/files of the game's content.- A custom TNT entity with more NBT data parameters than the vanilla TNT entity.
- A flying block entity which reflects the flying counterpart of the vanilla falling block entity.
🎮 Our Mods
The Dawn API is made for Fabric, and currently not for Forge.
Heya, just wanted to ask if this is open source or closed source
In reply to Mystical_MechGod:
There is a source link at the top of the page.
hey so i have no idea what's going on here, the game keeps crashing on startup whenever i install dawn api into my mods folder, i tried deleting the api and promenade with it but still it kept on crashing, i see that people are saying optifabric and optifine are the problems but when i did uninstall them the crashes continued on and i don't know what to do anymore?????
In reply to mega_doo_doo:
this is for 1.17 version...
1.16.5
The game crashes on startup when Dawn API is installed, have no idea why, it just does.
I have several other mods installed that introduce biomes and structures that work fine with each other but when dawn is introduced it just breaks the game...
The mods I'm using are very friendly towards most APIs and many other mods... I don't get whats going wrong with this library mod
(Edit: I have tested a bit, and even with little to no mods installed, only having what I need, the game still crashes on itself, this API is not doing so hot, I'd like to know why this happens)
In reply to DrKenoLol:
Hello! Could you give the log file(s) about the crash? This could point out where the issue is precisely.
In reply to Hugman_76:
---- Minecraft Crash Report -------- Minecraft Crash Report ----// Shall we play a game?
Time: 4/23/21 7:45 PMDescription: Initializing game
java.lang.NoClassDefFoundError: com/hugman/dawn/mod/init/DawnEffects at com.hugman.ce_foodstuffs.objects.item.tea.TeaType$Flavor.<clinit>(TeaType.java:46) at com.hugman.ce_foodstuffs.objects.item.tea.TeaHelper.getAllTypes(TeaHelper.java:55) at com.hugman.ce_foodstuffs.objects.item.TeaBagItem.method_7850(TeaBagItem.java:32) at net.minecraft.class_310.method_1546(class_310.java:727) at net.minecraft.class_310.<init>(class_310.java:544) at net.minecraft.client.main.Main.main(Main.java:177) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:497) at net.fabricmc.loader.game.MinecraftGameProvider.launch(MinecraftGameProvider.java:226) at net.fabricmc.loader.launch.knot.Knot.launch(Knot.java:146) at net.fabricmc.loader.launch.knot.KnotClient.main(KnotClient.java:28)Caused by: java.lang.ClassNotFoundException: com.hugman.dawn.mod.init.DawnEffects at java.net.URLClassLoader.findClass(URLClassLoader.java:381) at java.lang.ClassLoader.loadClass(ClassLoader.java:424) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331) at java.lang.ClassLoader.loadClass(ClassLoader.java:357) at net.fabricmc.loader.launch.knot.KnotClassLoader.loadClass(KnotClassLoader.java:168) at java.lang.ClassLoader.loadClass(ClassLoader.java:357) ... 13 more
In reply to Hugman_76:
I could try to find them, but there alot of files to look through
In reply to Hugman_76:
In reply to Hugman_76:
[15:45:18] [ForkJoinPool-1-worker-2/WARN]: The mod "libcd" contains invalid entries in its mod json:[15:45:18] [ForkJoinPool-1-worker-2/WARN]: The mod "libcd" contains invalid entries in its mod json:- Unsupported root entry "licence" at line 9 column 12[15:45:19] [ForkJoinPool-1-worker-1/WARN]: The mod "autoconfig1u" contains invalid entries in its mod json:- Unsupported root entry "$schema" at line 2 column 14[15:45:20] [ForkJoinPool-1-worker-3/WARN]: Non-Fabric mod JAR at "C:\Users\diamo\AppData\Roaming\.minecraft\mods\OptiFine_1.16.5_HD_U_G7.jar", ignoring[15:45:20] [ForkJoinPool-1-worker-2/WARN]: The mod "autoconfig1u" contains invalid entries in its mod json:- Unsupported root entry "$schema" at line 2 column 14[15:45:20] [ForkJoinPool-1-worker-2/WARN]: Non-Fabric mod JAR at "C:\Users\diamo\AppData\Roaming\.minecraft\mods\vanguard-uninstaller.jar", ignoring[15:45:20] [ForkJoinPool-1-worker-1/WARN]: The mod "autoconfig1u" contains invalid entries in its mod json:- Unsupported root entry "$schema" at line 2 column 14[15:45:21] [main/WARN]: Warnings were found! - Mod 'Satin' (satin) conflicts with any version of mod 'OptiFabric' (optifabric), but a matching version is present: 1.9.2! - While this won't prevent you from starting the game, the developer(s) of 'Satin' (satin) have found that version 1.9.2 of 'OptiFabric' (optifabric) conflicts with their mod. - It is heavily recommended to remove one of the mods. - Mod 'OptiFabric' (optifabric) v1.9.2 is being loaded from the user's mod directory.[15:45:21] [main/WARN]: Mod `{}` ({}) uses 'requires' key in fabric.mod.json, which is not supported - use 'depends'[15:45:21] [main/INFO]: [FabricLoader] Loading 132 mods: fallflyinglib@1.1.0, fabric-keybindings-v0@0.2.1+ca58154a7d, colorfulmasonry@1.0.0, notenoughcrashes@3.2.0, fabricloader@0.11.3, org_jetbrains_kotlinx_kotlinx-serialization-json-jvm@1.1.0, satin@1.6.0-nightly.20w48a, prefab@1.0.3, fabric-dimensions-v1@2.0.6+9354966b7d, java@8, betternether@5.0.7, fabric-game-rule-api-v1@1.0.6+ca58154a7d, excessenchantmentsfabric@1.1.0, fabric-api-base@0.2.1+9354966b7d, fiber@0.23.0-2, org_jetbrains_kotlin_kotlin-stdlib@1.4.31, terraform-dirt-api-v1@1.1.3, playerabilitylib@1.2.1, fabric-blockrenderlayer-v1@1.1.5+ca58154a7d, simple_backpack@1.0.38, terraform-wood-api-v1@1.0.3, libblockattributes_items@0.8.4, org_jetbrains_kotlin_kotlin-stdlib-jdk7@1.4.31, fabric@0.33.0+1.16, fabric-networking-v0@0.3.2+ca58154a7d, dawn@1.8, flytre_lib@0.2.8, fabric-api-lookup-api-v1@1.0.0+dc716ea17d, fabric-screen-handler-api-v1@1.1.5+9354966b7d, repurposed_structures@1.16.5-1.8.3, modmenu@1.16.8, customportalapi@0.0.1-beta23-1.16, org_jetbrains_kotlin_kotlin-stdlib-jdk8@1.4.31, fabric-tool-attribute-api-v1@1.2.6+ca58154a7d, extraorigins@1.16.5-9, angerable-patch@1.1.0-1.16.4, terraform-tree-api-v1@1.0.5, crimsonmoon@2.0.4-1.16.5, voyager@1.0.0, fabric-crash-report-info-v1@0.1.3+ca58154a7d, fabric-events-interaction-v0@0.4.2+ca58154a7d, fabric-language-kotlin@1.5.0+kotlin.1.4.31, patchouli@1.16.4-50-FABRIC, origins@0.6.1, fabric-key-binding-api-v1@1.0.4+9354966b7d, cloth-config2@4.11.19, org_jetbrains_kotlinx_kotlinx-coroutines-jdk8@1.4.2, fabric-resource-loader-v0@0.4.6+2868a2287d, org_jetbrains_kotlin_kotlin-reflect@1.4.31, desolation@1.0.4.3, worldedit@7.2.4+5723-e3bfc64, cardinal-components-entity@2.7.10, libblockattributes_fluids@0.8.4, fabric-registry-sync-v0@0.7.4+ca58154a7d, fabric-commands-v0@0.2.2+ca58154a7d, cardinal-components-base@2.7.10, adorn@1.13.0+1.16.5, fabric-mining-levels-v0@0.1.3+ca58154a7d, fabric-networking-api-v1@1.0.1+ca58154a7d, moborigins@1.3.1, fabric-models-v0@0.3.0+bc7a746f7d, fabric-item-groups-v0@0.2.7+2868a2287d, extraalchemy@1.4.4, geckolib3@3.0.22, multipart_entities@1.1-SNAPSHOT, terraform-shapes-api-v1@1.0.4, fabric-renderer-api-v1@0.4.2+2868a2287d, terrestria@2.2.0, libcd@3.0.3+1.16.3, cavebiomes@0.6.2, simplevoidworld@4.0.0, fabric-structure-api-v1@1.1.4+ca58154a7d, opitems@1.1.0, maelstrom_library@1.2-1.16.5, fabric-containers-v0@0.1.11+9354966b7d, pehkui@1.9.0+21w10a, fabric-object-builder-api-v1@1.9.4+9354966b7d, libblockattributes@0.8.4, fallingleaves@1.5.0+1.16.5, terraform-config-api-v1@1.0.3, plantinajar@1.8.1, mm@2.1, fabric-rendering-data-attachment-v1@0.1.5+ca58154a7d, org_jetbrains_kotlinx_kotlinx-serialization-core-jvm@1.1.0, terraform-surfaces-api-v1@1.0.3, puddles@1.0.0, fabric-textures-v0@1.0.6+ca58154a7d, fabric-rendering-fluids-v1@0.1.13+ca58154a7d, reach-entity-attributes@1.0.1, modid@1.0.0, bosses_of_mass_destruction@1.0.1-1.16.5, fabric-lifecycle-events-v1@1.2.1+ca58154a7d, traverse@3.3.2, fabric-renderer-registries-v1@2.3.0+2868a2287d, fabric-loot-tables-v1@1.0.2+ca58154a7d, fabric-particles-v1@0.2.4+ca58154a7d, libblockattributes_core@0.8.4, more_gems@1.1.22, terraform-biome-builder-api-v1@1.0.4, minecraft@1.16.5, fabric-networking-blockentity-v0@0.2.8+ca58154a7d, fabric-command-api-v1@1.1.1+351679a77d, illuminations@1.4.9, jankson@3.0.1+j1.2.0, cloth-basic-math@0.5.1, origins-classes@1.1.1, fabric-screen-api-v1@1.0.0+c045166c7d, starry_sky@1.0.10-1.16.5, fabric-renderer-indigo@0.4.4+ca58154a7d, org_jetbrains_kotlinx_kotlinx-coroutines-core-jvm@1.4.2, fabric-item-api-v1@1.2.1+ca58154a7d, libgui@3.3.2+1.16.4, biome_locator@1.1.2, fabric-entity-events-v1@1.0.3+ca58154a7d, fabric-rendering-v0@1.1.2+ca58154a7d, croptopia@1.3.1, fabric-rendering-v1@1.6.0+2868a2287d, omega-config@1.0.4, terraform-overworld-biome-extensions-api-v1@1.0.3, autoconfig1u@3.3.1, fabric-content-registries-v0@0.2.1+ca58154a7d, fabric-tag-extensions-v0@1.1.1+ca58154a7d, mooblooms@1.4.0, cardinal-components-world@2.7.10, optifabric@1.9.2, fabric-biome-api-v1@3.1.1+ca58154a7d, cinderscapes@1.3.3, fabric-events-lifecycle-v0@0.2.1+ca58154a7d, giantai@1.0.4, betterend@0.9.1-pre, fabric-object-builders-v0@0.7.2+ca58154a7d, vanguard@1.0.5[15:45:21] [main/WARN]: Mod `desolation` (1.0.4.3) uses more dot-separated version components than SemVer allows; support for this is currently not guaranteed.[15:45:22] [main/INFO]: SpongePowered MIXIN Subsystem Version=0.8.2 Source=file:/C:/Users/diamo/AppData/Roaming/.minecraft/libraries/net/fabricmc/sponge-mixin/0.9.2+mixin.0.8.2/sponge-mixin-0.9.2+mixin.0.8.2.jar Service=Knot/Fabric Env=CLIENT[15:45:22] [main/WARN]: Reference map 'opitems-refmap.json' for opitems.mixins.json could not be read. If this is a development environment you can ignore this message[15:45:22] [main/WARN]: Reference map 'portablejukebox-refmap.json' for portablejukebox.mixins.json could not be read. If this is a development environment you can ignore this message[15:45:33] [main/INFO]: [OptiFine] (Reflector) Field not found: World.tileEntitiesToBeRemoved[15:45:34] [main/FATAL]: Mixin apply failed optifabric.compat.dawn.mixins.json:ItemRendererMixin -> net.minecraft.class_918: org.spongepowered.asm.mixin.transformer.throwables.MixinApplicatorException Unexpecteded IllegalArgumentException whilst applying the mixin class: [PreApply Phase -> optifabric.compat.dawn.mixins.json:ItemRendererMixin]org.spongepowered.asm.mixin.transformer.throwables.MixinApplicatorException: Unexpecteded IllegalArgumentException whilst applying the mixin class: [PreApply Phase -> optifabric.compat.dawn.mixins.json:ItemRendererMixin] at org.spongepowered.asm.mixin.transformer.MixinApplicatorStandard.apply(MixinApplicatorStandard.java:353) ~[sponge-mixin-0.9.2+mixin.0.8.2.jar:0.9.2+mixin.0.8.2] at org.spongepowered.asm.mixin.transformer.TargetClassContext.applyMixins(TargetClassContext.java:345) ~[sponge-mixin-0.9.2+mixin.0.8.2.jar:0.9.2+mixin.0.8.2] at org.spongepowered.asm.mixin.transformer.MixinProcessor.applyMixins(MixinProcessor.java:569) [sponge-mixin-0.9.2+mixin.0.8.2.jar:0.9.2+mixin.0.8.2] at org.spongepowered.asm.mixin.transformer.MixinProcessor.applyMixins(MixinProcessor.java:351) [sponge-mixin-0.9.2+mixin.0.8.2.jar:0.9.2+mixin.0.8.2] at org.spongepowered.asm.mixin.transformer.MixinTransformer.transformClass(MixinTransformer.java:208) [sponge-mixin-0.9.2+mixin.0.8.2.jar:0.9.2+mixin.0.8.2] at org.spongepowered.asm.mixin.transformer.MixinTransformer.transformClassBytes(MixinTransformer.java:178) [sponge-mixin-0.9.2+mixin.0.8.2.jar:0.9.2+mixin.0.8.2] at org.spongepowered.asm.mixin.transformer.FabricMixinTransformerProxy.transformClassBytes(FabricMixinTransformerProxy.java:23) [fabric-loader-0.11.3.jar:0.9.2+mixin.0.8.2] at net.fabricmc.loader.launch.knot.KnotClassDelegate.getPostMixinClassByteArray(KnotClassDelegate.java:157) [fabric-loader-0.11.3.jar:?] at net.fabricmc.loader.launch.knot.KnotClassLoader.loadClass(KnotClassLoader.java:150) [fabric-loader-0.11.3.jar:?] at java.lang.ClassLoader.loadClass(ClassLoader.java:357) [?:1.8.0_51] at java.lang.Class.getDeclaredFields0(Native Method) ~[?:1.8.0_51] at java.lang.Class.privateGetDeclaredFields(Class.java:2583) [?:1.8.0_51] at java.lang.Class.getDeclaredFields(Class.java:1916) [?:1.8.0_51] at net.optifine.reflect.FieldLocatorTypes.<init>(FieldLocatorTypes.java:25) [Optifine-mapped.jar:?] at net.optifine.reflect.Reflector.<clinit>(Reflector.java:501) [Optifine-mapped.jar:?] at net.minecraft.class_128.method_559(class_128.java:101) [intermediary-fabric-loader-0.11.3-1.16.5.jar:?] at net.minecraft.class_128.<init>(class_128.java:54) [intermediary-fabric-loader-0.11.3-1.16.5.jar:?] at net.minecraft.class_128.method_24305(class_128.java:425) [intermediary-fabric-loader-0.11.3-1.16.5.jar:?] at net.minecraft.client.main.Main.main(Main.java:135) [intermediary-fabric-loader-0.11.3-1.16.5.jar:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_51] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_51] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_51] at java.lang.reflect.Method.invoke(Method.java:497) ~[?:1.8.0_51] at net.fabricmc.loader.game.MinecraftGameProvider.launch(MinecraftGameProvider.java:226) [fabric-loader-0.11.3.jar:?] at net.fabricmc.loader.launch.knot.Knot.launch(Knot.java:146) [fabric-loader-0.11.3.jar:?] at net.fabricmc.loader.launch.knot.KnotClient.main(KnotClient.java:28) [fabric-loader-0.11.3.jar:?]Caused by: java.lang.IllegalArgumentException: Can't find Mixin class com/hugman/dawn/mod/mixin/ItemRendererMixin targetting net.minecraft.class_918 at me.modmuss50.optifabric.compat.InterceptingMixinPlugin.findMixin(InterceptingMixinPlugin.java:93) ~[optifabric-1.9.2.jar:?] at me.modmuss50.optifabric.compat.InterceptingMixinPlugin.preApply(InterceptingMixinPlugin.java:43) ~[optifabric-1.9.2.jar:?] at me.modmuss50.optifabric.compat.mubble.MubbleMixinPlugin.preApply(MubbleMixinPlugin.java:71) ~[optifabric-1.9.2.jar:?] at org.spongepowered.asm.mixin.transformer.PluginHandle.preApply(PluginHandle.java:158) ~[sponge-mixin-0.9.2+mixin.0.8.2.jar:0.9.2+mixin.0.8.2] at org.spongepowered.asm.mixin.transformer.MixinInfo.preApply(MixinInfo.java:1341) ~[sponge-mixin-0.9.2+mixin.0.8.2.jar:0.9.2+mixin.0.8.2] at org.spongepowered.asm.mixin.transformer.MixinTargetContext.preApply(MixinTargetContext.java:1177) ~[sponge-mixin-0.9.2+mixin.0.8.2.jar:0.9.2+mixin.0.8.2] at org.spongepowered.asm.mixin.transformer.MixinApplicatorStandard.apply(MixinApplicatorStandard.java:308) ~[sponge-mixin-0.9.2+mixin.0.8.2.jar:0.9.2+mixin.0.8.2] ... 25 more
In reply to DrKenoLol:
From what I am gathering from this, optifabric is messing with dawn, but I really don't know...
It shouldn't be doing that
In reply to Hugman_76:
it is optifabric please fix the bug
In reply to ghhhfhfhfhf:
Here's a fix: Just don't use OptiFabric or OptiFine.
In reply to ghhhfhfhfhf:
If optifabric is the cause, then shouldn't optifabric fix their own problem? I stopped using optifine after, Lithium, Indium, Sodium, FerriteCore, Hydrogen, Iris and a few others do the job much better and are compatible with lots more mods than optifine is.
Please consider making the enchantments configurable. I love the biomes added by Wild Explorer, but it is very weird that the API required for it to function adds unrelated features that may be unwanted.
There has also been a fatal conflict with EnchantedToolTips since January which is a double stinker because that mod could bandage up the confusion brought by the random enchantment and curse added here.
In reply to Nord_Lord_:
Hi! Effects and enchantments have been removed from the API, since we do no longer want this API to add new gameplay features of its own.
What the potion effects do?
In reply to Estrelaura:
Hi! Sorry for the very late reply. The potion effects and enchantments have been removed from the API, and have been move to the Culinaire mod. More information about those effects can be found on the Wiki page.
Do the last release still supports 1.16.3?
In reply to fredderick1312:
Yes, from 1.16.2 to 1.16.4