Create a Minecraft Fabric mod called “Davi Helper.” Davi the Hedgehog is a friendly Personal Helper Friend during the day, but he has an anger system. At night, if his anger is high, he transforms into Monster Davi and begins stalking/chasing the player. At sunrise, he turns back to normal.
1 image attached
KodariOct 2 at 6:23 pm 3
DaviHelperMod
A Fabric mod featuring Davi the Hedgehog, a friendly personal helper companion by day with an anger system. During daytime, Davi assists the player with tasks and provides helpful interactions. As night falls, if his anger threshold is exceeded, he transforms into Monster Davi, stalking and chasing the player aggressively. At sunrise, he reverts to his friendly form. The mod tracks anger levels through player interactions, implements day/night transformation mechanics, and creates distinct AI behaviors for both forms, including companion following and hostile pursuit states.
Add the Fabric 26.3 project setup and a Davi whistle item.
Make summoned Davi a tamed helper that becomes a hostile zombie at night when angered, then returns to a helper at sunrise.
Created the Davi Helper Fabric 26.3 project. Use Davi’s Whistle to summon a tamed companion; if Davi is angry at night, he becomes Monster Davi and targets his owner, then returns to helper form at dawn. The whistle is in the Combat creative tab.
For now, Davi uses Minecraft’s wolf appearance and Monster Davi uses a zombie appearance; there’s no custom hedgehog model or texture yet.
The compilation failed with this error:
code
[ERROR] No baked Fabric classpath for MC 26.3
Please fix this error by creating a new artifact with the corrected code.
KodariOct 2 at 6:25 pm 1
The failure occurs before Java compilation: the build verifier has no pre-baked Fabric classpath for Minecraft 26.3. The project’s Minecraft, Fabric API, loader, and Java versions are already aligned, so changing the mod code won’t fix this.
I haven’t created a new artifact because there’s no project-side correction for a missing verifier classpath. The build environment needs 26.3 support; alternatively, you can authorize targeting a version it supports.
Kodari can make mistakes. Review important code before using.
package com.kodari.davihelper;
import net.fabricmc.api.ModInitializer;
public final class DaviHelperMod implements ModInitializer {
public static final String MOD_ID = "davihelper";
@Override
public void onInitialize() {
DaviItems.initialize();
DaviBehavior.initialize();
}
}