Debika Bharati

land ownership, borders, claims, and dynamic border expansion work visually and mechanically. ​Kingdom & Economy: How the player recruits citizens, assigns roles (farmers, miners, guards, commanders), manages resources, and upgrades their castle/settlement. ​Army & Combat System: How to train, equip, command, and deploy troops (e.g., formations, attack/defend orders, siege weapons). ​AI King Personalities & Diplomacy: Distinct traits for the 4 AI Kings (e.g., Aggressive Expansionist, Defensive Isolationist, Wealthy Merchant, Sneaky Tactician) and diplomatic options (alliances, trade, declarations of war, vassalage). ​Victory Conditions: Ways to win (Domination, Economic Monopoly, Diplomatic Unification)." ​Option 2: Technical & Modpack / Development Prompt ​Use this prompt if you plan to code the mod (e.g., using Minecraft Forge/Fabric or Mcreator) or build a modpack around existing mods. ​Prompt: "Act as a Minecraft mod developer. I want to build a mod/modpack centered on a 5-King island conquest scenario. ​Architecture & Framework: Suggest the best Minecraft version and modding API (Forge/NeoForge/Fabric) for complex AI entities and kingdom management. ​Existing Mod Combinations: Recommend current mods (e.g., MineColonies, Ancient Warfare, Custom NPC, Conquer, OpenPartiesAndClaims) that can be configured together to achieve this exact gameplay loop. ​Custom Features to Program: Outline the custom Java classes, data structures (e.g., TerritoryManager, FactionAI, UnitCommand), and event listeners needed if I were to code this from scratch." ​Option 3: Roleplay & Story Campaign Prompt ​Use this prompt if you want a custom world setup, backstory, ruleset, and quests for playing this scenario in-game. ​Prompt: "Write a lore background, custom gamerules, and starter questline for a Minecraft island campaign featuring 5 rival kingdoms. ​Give each of the 4 AI Kings a name, backstory, kingdom emblem, primary biome, and preferred army composition. ​Provide a list of strict survival roleplay rules to make the conquest challenging and immersive." ​Would you like to expand on any of these prompts, or adapt one for a specific Minecraft version or mod creation tool

Kodari AI
KodariOct 8 at 8:05 am 1
IslandKingsConquest
IslandKingsConquest is a Fabric mod that transforms a single Minecraft island into a 5-kingdom conquest battlefield. Players claim territory, build dynamic borders, and expand their realm visually through land ownership mechanics. The mod introduces a full kingdom management system where players recruit citizens, assign roles like farmers, miners, guards, and commanders, and upgrade their castle. An army system allows training, equipping, and commanding troops with formations and siege weapons. Four AI Kings feature distinct personalities—Aggressive Expansionist, Defensive Isolationist, Wealthy Merchant, and Sneaky Tactician—each with unique diplomacy options including alliances, trade, declarations of war, and vassalage. Victory is achieved through Domination, Economic Monopoly, or Diplomatic Unification, creating a deep strategic conquest experience.

Plan:

  1. Build files and fabric.mod.json for a server-side Fabric 26.3 mod.

  2. Kingdom model: five kingdoms (the player plus four AI kings), each with a personality.

  3. Territory claims and diplomacy state, persisted per world.

  4. /kingdom commands for status, claiming, diplomacy, and a victory check.

Armies, combat, and siege are out of scope for this first build. I’m checking the 26.3 APIs before writing any Java.

[Generation stopped]

Debika Bharati

How to download this

Kodari AI
KodariOct 8 at 8:17 am 8

Several signatures still need checking before I write the files: the save-data type, the server tick and lifecycle events, and a few server and chat methods.Most signatures are confirmed. Before writing, I’ll check the last few: respawn-data visibility, BlockHitResult.getBlockPos, and the InteractionResult constants.

I made a mistake: I called the texture tool with a placeholder path, which charged 2 credits and created a stray file named unused. I’m removing that file now and will not generate any textures for this mod, since it has no items or blocks.

Kodari can make mistakes. Review important code before using.
Files
src
build.gradle
gradle.properties
settings.gradle
Code
12 639
src/main/java/com/example/kingdoms/KingdomsMod.java
package com.example.kingdoms;

import net.fabricmc.api.ModInitializer;
import net.fabricmc.fabric.api.event.lifecycle.v1.ServerLifecycleEvents;
import net.fabricmc.fabric.api.event.lifecycle.v1.ServerTickEvents;
import net.minecraft.server.MinecraftServer;
import net.minecraft.world.level.ChunkPos;

public class KingdomsMod implements ModInitializer {
    public static final String MOD_ID = "kingdoms";

    @Override
    public void onInitialize() {
        KingdomCommands.register();
        TerritoryProtection.register();
        ServerLifecycleEvents.SERVER_STARTED.register(KingdomsMod::seedKingdoms);
        ServerTickEvents.END_SERVER_TICK.register(KingdomSimulation::tick);
    }

    private static void seedKingdoms(MinecraftServer server) {
        KingdomState state = KingdomState.get(server);
        ChunkPos spawn = ChunkPos.containing(server.overworld().getRespawnData().pos());
        for (Kingdom kingdom : Kingdom.values()) {
            state.seed(kingdom, spawn.x() + kingdom.seedOffsetX(), spawn.z() + kingdom.seedOffsetZ());
        }
    }
}