Лёша Будаев

Создай мод на фентези данжи NeoForge 1.21.1

Kodari AI
KodariOct 23 at 7:55 am 4
FantasyDungeonAdventure
FantasyDungeonAdventure is a NeoForge mod for Minecraft 1.21.1 that introduces procedurally generated fantasy dungeons. Players discover hidden entrances across the world leading to multi-level underground complexes filled with unique mobs, traps, treasure chests, and boss encounters. The mod features custom dungeon blocks, themed loot tables, enchantment-like artifacts, and a quest system guiding players through increasingly challenging depths. Dungeons are generated using a seeded algorithm ensuring consistent layouts per location while offering varied room types including treasure vaults, monster arenas, puzzle chambers, and secret passages. Custom mobs include spectral knights, fire imps, and dungeon guardians with unique AI behaviors and drop tables. The mod integrates with existing Minecraft mechanics, offering new crafting recipes for dungeon keys and compasses that track unexplored chambers, providing a complete dungeon-crawling experience.
  1. Добавлю основу мода для NeoForge 1.21.1 и регистрируемый предмет «Печать разлома».

  2. Печать будет запускать короткую встречу с мобами; добавлю рецепт, текстуру, модель и имя предмета.

Создан мод Dungeonbound: Fantasy Dungeons для NeoForge 1.21.1. Печать разлома запускает встречу с двумя зомби, скелетом и пещерным пауком; активацию сопровождают звук и частицы.

Как получить в выживании: скрафтить печать из аметистового осколка сверху, золотого слитка — кости — золотого слитка посередине и жемчуга Края снизу.

Пока это призываемая боевая встреча, а не генерация отдельных подземелий в мире.

Kodari can make mistakes. Review important code before using.
Files
src
build.gradle
settings.gradle
Code
10 174
src/main/java/com/kodari/dungeonbound/DungeonBoundMod.java
package com.kodari.dungeonbound;

import com.kodari.dungeonbound.item.RiftSigilItem;
import net.minecraft.world.item.CreativeModeTab;
import net.minecraft.world.item.CreativeModeTabs;
import net.neoforged.bus.api.IEventBus;
import net.neoforged.fml.common.Mod;
import net.neoforged.neoforge.event.BuildCreativeModeTabContentsEvent;
import net.neoforged.neoforge.registries.DeferredItem;
import net.neoforged.neoforge.registries.DeferredRegister;

@Mod(DungeonBoundMod.MOD_ID)
public class DungeonBoundMod {
    public static final String MOD_ID = "dungeonbound";

    private static final DeferredRegister.Items ITEMS = DeferredRegister.createItems(MOD_ID);
    public static final DeferredItem<RiftSigilItem> RIFT_SIGIL = ITEMS.registerItem("rift_sigil", RiftSigilItem::new);

    public DungeonBoundMod(IEventBus modEventBus) {
        ITEMS.register(modEventBus);
        modEventBus.addListener(DungeonBoundMod::addCreative);
    }

    private static void addCreative(BuildCreativeModeTabContentsEvent event) {
        if (event.getTabKey() == CreativeModeTabs.TOOLS_AND_UTILITIES) {
            event.accept(RIFT_SIGIL.get().getDefaultInstance(), CreativeModeTab.TabVisibility.PARENT_AND_SEARCH_TABS);
        }
    }
}