James Dischar

make a fully working minecraft 1.21.1 neoforge mod.jar file. That adds 5 different items that let you spawn in per detailed builted bunkers into the game

also add to the mod that each placed structure removes any blocks around it, under it, above it. when placed and add all removed blocks into a chest inside the structures. As well add stairs to each structure going down 30 blocks. when placed. Also add 4 item kits. that place per built bridges into the world. Also add a workbench and a blueprint paper that lets you combine .schematics to it from schematics folder and place the schematic into the world at no build cost. just places the build as in the schematic.

Kodari AI
KodariOct 20 at 11:41 pm 16
BunkerBuilderMod
Adds five deployable bunker items that spawn detailed pre-built structures, clearing surrounding terrain and storing removed blocks in an internal chest. Each bunker includes a 30-block descending stairway. Four bridge kit items place pre-built bridges. A workbench and blueprint paper system loads .schematic files from a schematics folder, allowing instant placement of custom builds at no cost.
  1. Create the 1.21.1 NeoForge project and register five bunker kits, four bridge kits, a workbench, and blueprint paper.

  2. Build server-side placement that clears the footprint and 30-block stair shaft, then stores recovered blocks in bunker storage.

  3. Add survival recipes and a workbench flow for selecting and placing supported schematic files.

Created Bunkerworks for Minecraft 1.21.1 / NeoForge 21.1.262.

  • Five craftable bunker kits build different bunker layouts. They clear the placement area, store recovered block items in bunker chests, and add stairs descending 30 blocks to an underground room.

  • Four craftable bridge kits build different bridge spans, with recovered blocks stored in chests at the bridge entrance.

  • Craft the Blueprint Workbench and Blueprint Paper. Copy vanilla structure .nbt files into config/bunkerworks/schematics; use paper on the workbench to select a file, then use the paper where you want the structure placed. The paper is reusable and placement costs no materials. Sponge .schem files are not supported.

  • Recipes and creative-tab entries are included. The workbench and four bunker kits have generated textures; remaining kit icons use matching vanilla textures.

To get the jar in Kodari: click Compile in the desktop top bar, or ⋮ → Compile Project on phone; click Compile in the window; then click Download on the successful build.

Kodari can make mistakes. Review important code before using.
Files
src
build.gradle
settings.gradle
Code
40 986
src/main/java/com/kodari/bunkerworks/Bunkerworks.java
package com.kodari.bunkerworks;

import com.kodari.bunkerworks.content.ModContent;
import net.neoforged.bus.api.IEventBus;
import net.neoforged.fml.common.Mod;

@Mod(Bunkerworks.MOD_ID)
public final class Bunkerworks {
    public static final String MOD_ID = "bunkerworks";

    public Bunkerworks(IEventBus modEventBus) {
        ModContent.BLOCKS.register(modEventBus);
        ModContent.ITEMS.register(modEventBus);
        modEventBus.addListener(ModContent::addToCreativeTab);
    }
}