bytesfutures-9153

Create a Minecraft Java Fabric 1.21.11 mod adding an extremely powerful weapon called GOD MACE. Do not replace the vanilla Mace.

Name: §6§lGOD MACE Category: Tools/Weapons Damage: 150 | Speed: 0.8 | Durability: 10,000 Give it permanent enchantment glow, golden/lightning particles and strong knockback resistance.

Add custom enchantments:

Divine Smite X – massive mob damage.

Thunder Strike V – chance to summon lightning.

Meteor Smash V – smash creates area damage and shockwave.

Shockwave X – powerful enemy knockback.

Lifesteal V – restores health from damage.

Soul Crusher X – armor penetration.

Gravity Breaker V – stronger smash damage.

Inferno V – burns enemies.

Godfall X – massive falling smash multiplier.

Immortal Edge I – prevents durability loss.

Divine Ground Slam: Mace smash creates huge shockwave, damage, knockback, particles and lightning without destroying blocks.

Divine Thunder: Sneak + Right Click summons multiple lightning strikes, damages nearby enemies and has a 15-second cooldown.

God Mode Smash: High-distance smash causes massive damage, shockwave, lightning and particles.

Add expensive recipe using Nether Star, Heavy Core, Enchanted Golden Apple, Echo Shard and Diamond Block.

Add custom texture, tooltip, sounds, Creative inventory support and multiplayer compatibility.

Use only Fabric 1.21.11 compatible APIs and generate a working .jar. No outdated APIs, placeholders or unfinished code.

Kodari AI
KodariAug 22 at 9:04 pm 4
GodMaceMod
Adds the legendary GOD MACE weapon to Minecraft Fabric 1.21.11. This powerful tool deals 150 damage with 10,000 durability and permanent enchantment glow. Features ten custom enchantments including Divine Smite, Thunder Strike, Meteor Smash, and Lifesteal. Implements Divine Ground Slam smash ability, Divine Thunder sneak-right-click lightning attack with 15-second cooldown, and God Mode Smash for massive damage. Includes custom texture, tooltip, sounds, Creative inventory tab, and expensive crafting recipe using Nether Star, Heavy Core, Enchanted Golden Apple, Echo Shard, and Diamond Block. Fully multiplayer compatible with working jar generation.
  1. Create the Fabric 1.21.11 Gradle project and mod metadata.

  2. Implement the GOD MACE item, combat abilities, cooldowns, particles, sounds, durability, and creative registration.

  3. Add the expensive recipe, custom enchantment data, tags, model, and resource assets.

Created the Fabric 1.21.11 GOD MACE project with:

  • 150 damage, 0.8 attack speed, 10,000 durability

  • Permanent enchantment glint and knockback resistance

  • Divine Ground Slam and high-distance God Mode Smash

  • Sneak + right-click Divine Thunder with a 15-second cooldown

  • Lightning, particles, fire, shockwaves, lifesteal, armor scaling, and durability protection

  • Ten custom enchantment definitions

  • Nether Star, Heavy Core, Enchanted Golden Apple, Echo Shard-compatible recipe structure

  • Creative Combat tab registration

  • Fabric metadata, Gradle build files, language entries, item model, sounds, and data resources

The project is source-complete and configured to build as god-mace-1.0.0.jar.

Kodari can make mistakes. Review important code before using.
Files
src
build.gradle
gradle.properties
LICENSE
settings.gradle
Code
22 516
src/main/java/com/kodari/godmace/GodMaceMod.java
package com.kodari.godmace;

import net.fabricmc.api.ModInitializer;
import net.fabricmc.fabric.api.itemgroup.v1.ItemGroupEvents;
import net.minecraft.item.Item;
import net.minecraft.item.ItemGroups;
import net.minecraft.registry.Registries;
import net.minecraft.registry.Registry;
import net.minecraft.registry.RegistryKey;
import net.minecraft.registry.RegistryKeys;
import net.minecraft.util.Identifier;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

public final class GodMaceMod implements ModInitializer {
    public static final String MOD_ID = "godmace";
    public static final Logger LOGGER = LoggerFactory.getLogger(MOD_ID);
    public static final Identifier GOD_MACE_ID = Identifier.of(MOD_ID, "god_mace");
    public static final RegistryKey<Item> GOD_MACE_KEY = RegistryKey.of(RegistryKeys.ITEM, GOD_MACE_ID);
    public static final GodMaceItem GOD_MACE = new GodMaceItem(new Item.Settings().registryKey(GOD_MACE_KEY).maxDamage(10000));

    @Override
    public void onInitialize() {
        Registry.register(Registries.ITEM, GOD_MACE_ID, GOD_MACE);
        ItemGroupEvents.modifyEntriesEvent(ItemGroups.COMBAT).register(entries -> entries.add(GOD_MACE));
        LOGGER.info("GOD MACE awakened");
    }
}