Souhail El farjy
📎 1 file 3,086 chars
đź“„
pasted-code-1788037316202.txt
txt 30 lines
â–¶
Create a Minecraft Java Edition Fabric 1.21.11 mod called “Duplicator Reborn”.

The mod is a dark endgame expansion focused on duplication, Echoite, mysterious crystals, and powerful crystallized versions of vanilla mobs. Keep the normal Overworld generation unchanged for now because it is a placeholder for future development.

ECHOITE:
Add an extremely rare material called Echoite with a black/dark-purple appearance and subtle purple glow. Add Echoite Ore, Deepslate Echoite Ore, Echoite Block and Echoite Shard. Add a complete Echoite equipment set: Sword, Pickaxe, Axe, Shovel, Hoe, Helmet, Chestplate, Leggings and Boots. Echoite equipment must be stronger than Netherite, with excellent durability, damage, mining speed, armor and toughness, while remaining suitable for endgame progression.

DUPLICATOR ENCHANTMENT:
Add a very rare enchantment called “Duplicator”. When an item has this enchantment, its displayed name should become “Duplicator” in purple.

The Duplicator works when the enchanted item is held in the off-hand and another item is held in the main hand. When the player sneaks and activates the ability, it progressively duplicates the main-hand item. It should continue duplicating while the ability is held/used and stop immediately when the player stops. After stopping, give the player a 30-second cooldown. Add dark-purple particles, sounds and visual effects.

Prevent exploits such as duplicating the Duplicator itself, commands, dangerous special items or items that could corrupt inventories.

The Duplicator enchantment book should only be obtainable from Ominous Vaults inside Trial Chambers, with an extremely rare approximately 0.05% chance. It should not normally be obtainable from enchanting tables.

CRYSTALLIZED WORLD:
Create the foundation for a future dark custom biome/dimension filled with black, dark-purple, violet and deep-gray crystals. Do not replace the Overworld.

Add crystallized versions of vanilla mobs including Zombie, Skeleton, Creeper, Spider, Enderman, Cow, Pig and Sheep. They should look like their vanilla versions covered in dark purple crystals. Hostile crystallized mobs should have greatly increased health and damage and may have special effects. They should drop unique crystallized materials for future crafting.

The area should be extremely dangerous. Players should ideally have at least Protection I Diamond Armor before entering. Warn or debuff under-equipped players instead of instantly killing them.

Use Minecraft’s vanilla pixel-art style. Everything should feel dark, mysterious, ancient and corrupted, with black and purple as the main colors.

Include proper textures, models, blockstates, recipes, loot tables, sounds, language files, spawn eggs and creative-tab entries.

Target Fabric + Fabric API + Minecraft 1.21.11. Use only APIs compatible with 1.21.11. Make the mod multiplayer compatible.

The final result must be a complete playable, compilable mod with a working .jar and source code, not pseudocode. Keep systems modular so more features can be added later.
Kodari AI
KodariAug 29 at 9:07 pm 4
DuplicatorReborn
Dark endgame expansion adding rare Echoite ore, tools, and armor surpassing Netherite. Introduces the Duplicator enchantment obtainable only from Ominous Vaults, enabling progressive item duplication via off-hand activation with cooldown and particle effects. Establishes a crystallized mob system with enhanced hostile variants and unique drops, plus foundation for a future dark crystal dimension, all in vanilla pixel-art style.
  1. Set up a Fabric 1.21.11 project and modular registries.

  2. Add Echoite materials, equipment, blocks, recipes, loot tables, models, textures, and creative-tab entries.

  3. Implement the Duplicator enchantment, off-hand hold/use behavior, cooldown, effects, and exploit protections.

  4. Add crystallized mob foundations, spawn eggs, drops, and hostile-player warning behavior.

  5. Add language, sounds, and resource metadata for a complete playable build.

Created the Fabric 1.21.11 project for Duplicator Reborn, including:

  • Echoite ore, deepslate ore, block, shard, material, tools, and armor

  • Custom creative tab, recipes, loot tables, blockstates, models, and item definitions

  • Data-driven Duplicator enchantment with rare ominous Trial Chamber loot

  • Off-hand duplication ability with sneak/use activation, particles, sounds, cooldown, and exploit protection

  • Crystallized Zombie, Skeleton, Creeper, Spider, Enderman, Cow, Pig, and Sheep entities

  • Spawn eggs, custom attributes, crystallized drops, danger warnings, and debuffs

  • Fabric split client/common source sets and 1.21.11 Gradle configuration

  • Purple “Duplicator” item-name mixin behavior

  • Multiplayer-safe server-side ability handling and vanilla sound/particle effects

Kodari can make mistakes. Review important code before using.
Files
src
build.gradle
gradle.properties
settings.gradle
Code
85 1,084
src/main/java/com/kodari/duplicator/DuplicatorReborn.java
package com.kodari.duplicator;

import com.kodari.duplicator.block.ModBlocks;
import com.kodari.duplicator.entity.ModEntities;
import com.kodari.duplicator.item.ModItemGroups;
import com.kodari.duplicator.item.ModItems;
import com.kodari.duplicator.system.DuplicatorController;
import net.fabricmc.api.ModInitializer;
import net.fabricmc.fabric.api.event.lifecycle.v1.ServerTickEvents;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

public class DuplicatorReborn implements ModInitializer {
    public static final String MOD_ID = "duplicator";
    public static final Logger LOGGER = LoggerFactory.getLogger(MOD_ID);

    @Override
    public void onInitialize() {
        ModEntities.initialize();
        ModEntities.initializeAttributes();
        ModBlocks.initialize();
        ModItems.initialize();
        ModItemGroups.initialize();
        DuplicatorController.initialize();
        ServerTickEvents.END_SERVER_TICK.register(DuplicatorController::tickServer);
    }
}