Renz Ogahayon

Make me a vanilla like mace with a texture like blood red make 3 abilities with the mace number 1. Dash make the mace where I can dash in the air as high as 10 blocks and 10 blocks long when you dash straight with a cool down of 8 seconds make the dash like levitation but more faster and it doesn't levitate the player it will boost the player to where it's looking at number 2. Stun make the mace able to stun players once the player hits a mob or a player with the mace make them unable to move and unable to hit players with a cool down of 10 seconds number 3. Lightning on hit make the mace able to hit with lightning to players or mobs. make the mace have the windburst 2 enchant and density 4

Kodari AI
KodariNov 5 at 10:40 am 9
BloodMaceAbilities
Adds a custom blood-red mace with three unique abilities. Ability one: Dash, a powerful air dash that propels the player up to 10 blocks high and 10 blocks forward in the look direction, with an 8-second cooldown. Ability two: Stun, which immobilizes hit players or mobs, preventing movement and attacks for a duration, with a 10-second cooldown. Ability three: Lightning Strike, summoning lightning on hit targets. The mace includes Wind Burst II and Density IV enchantments for enhanced combat.
  1. Build the survival-craftable Blood Mace with its own red texture and required 1.21.11 item assets.

  2. Add the air dash and its 8-second cooldown.

  3. Add hit-stun and lightning, with separate stun cooldown and the requested enchantments.

Created the Blood Mace mod.

  • Get it in survival: Craft it with a Heavy Core above two Breeze Rods. The recipe grants Density IV and Wind Burst II. It also appears in the Combat creative tab and can be repaired with Breeze Rods.

  • Dash: Right-click while airborne to boost in the direction you’re looking. The burst reaches roughly 10 blocks upward or forward, with an 8-second cooldown.

  • Stun: A successful mace hit stuns the target for 2 seconds, stopping movement and attacks. 10-second cooldown per wielder.

  • Lightning: Every successful mace hit calls a lightning strike on the target.

Kodari can make mistakes. Review important code before using.
Files
src
build.gradle
gradle.properties
settings.gradle
Code
15 326
src/main/java/com/kodari/bloodmace/BloodMaceMod.java
package com.kodari.bloodmace;

import net.fabricmc.api.ModInitializer;
import net.fabricmc.fabric.api.event.lifecycle.v1.ServerTickEvents;

public class BloodMaceMod implements ModInitializer {
    public static final String MOD_ID = "bloodmace";

    @Override
    public void onInitialize() {
        BloodMaceItems.initialize();
        ServerTickEvents.END_SERVER_TICK.register(server -> BloodMaceEffects.tick());
    }
}