MatteoBrugnoni

A mod about all the content from Minecraft Dungeons I and Minecraft Dungeons II

Kodari AI
KodariOct 25 at 11:55 am 8
DungeonsExpansion
A comprehensive Minecraft mod that brings the content from Minecraft Dungeons and its sequel into the base game. It introduces new weapons, armor sets, artifacts, and enemies inspired by the dungeon-crawler spin-offs. Players can discover unique gear with special abilities, face challenging new mobs, and explore procedurally generated dungeon structures. The mod adds new enchantments, potions, and boss encounters, providing an action-packed adventure experience that blends the core Minecraft gameplay with the fast-paced combat and loot systems of Minecraft Dungeons.

Plan:

  1. Set up the Fabric 1.19.4 mod scaffold.

  2. Add three original, survival-craftable relics with distinct effects and textures.

  3. Register names, models, recipes, and a creative tab. (This is a playable foundation, not the complete catalogs of both games.)

Created a Fabric 1.19.4 mod foundation with three original, usable relics. It’s a playable starting slice, not the complete catalogs of both games.

  • Heart Sigil: craft with 4 gold ingots, 4 amethyst shards, and 1 diamond; grants Regeneration II for 10 seconds.

  • Gale Sigil: craft with 2 feathers, 2 sugar, and 1 diamond; grants Speed II for 15 seconds.

  • Ember Sigil: craft with 3 blaze powder, 1 quartz, and 1 iron ingot; grants Strength for 10 seconds.

Each relic has its own texture, a 30-second cooldown, activation sound, and a place in the Dungeon Relics creative tab.

Kodari can make mistakes. Review important code before using.
Files
src
build.gradle
gradle.properties
settings.gradle
Code
16 240
src/main/java/com/kodari/dungeonrelics/DungeonRelics.java
package com.kodari.dungeonrelics;

import net.fabricmc.api.ModInitializer;
import net.fabricmc.fabric.api.itemgroup.v1.FabricItemGroup;
import net.minecraft.item.Item;
import net.minecraft.item.ItemGroup;
import net.minecraft.item.ItemStack;
import net.minecraft.entity.effect.StatusEffects;
import net.minecraft.registry.Registries;
import net.minecraft.registry.Registry;
import net.minecraft.util.Identifier;

public class DungeonRelics implements ModInitializer {
    public static final String MOD_ID = "dungeonrelics";

    public static Item HEART_SIGIL;
    public static Item GALE_SIGIL;
    public static Item EMBER_SIGIL;
    public static ItemGroup ITEM_GROUP;

    @Override
    public void onInitialize() {
        HEART_SIGIL = Registry.register(Registries.ITEM, new Identifier(MOD_ID, "heart_sigil"),
                new RelicItem(new Item.Settings().maxCount(1), StatusEffects.REGENERATION, 200, 1));
        GALE_SIGIL = Registry.register(Registries.ITEM, new Identifier(MOD_ID, "gale_sigil"),
                new RelicItem(new Item.Settings().maxCount(1), StatusEffects.SPEED, 300, 1));
        EMBER_SIGIL = Registry.register(Registries.ITEM, new Identifier(MOD_ID, "ember_sigil"),
                new RelicItem(new Item.Settings().maxCount(1), StatusEffects.STRENGTH, 200, 0));

        ITEM_GROUP = FabricItemGroup.builder(new Identifier(MOD_ID, "relics"))
                .icon(() -> new ItemStack(HEART_SIGIL))
                .entries((displayContext, entries) -> {
                    entries.add(HEART_SIGIL);
                    entries.add(GALE_SIGIL);
                    entries.add(EMBER_SIGIL);
                })
                .build();
    }
}