dgihad_aissaoui

Create a complete Minecraft Java Edition 1.21.11 Paper plugin called "NuclearTech".

IMPORTANT:

* This is a fictional Minecraft game plugin only. * Do NOT simulate real-world nuclear weapon construction, real nuclear materials, real-world enrichment methods, or realistic weapon engineering. * All nuclear technology, materials and explosions must be fictional Minecraft mechanics.

PLUGIN GOAL:

Create a large fictional nuclear/industrial technology system for Minecraft 1.20.1.

  1. CUSTOM ORES

Add these fictional ores:

* Uranium Ore * Enriched Uranium Ore * Plutonium Ore * Thorium Ore * Radioactive Crystal Ore * Nuclear Metal Ore

Each ore should:

* Spawn naturally underground. * Have configurable generation height and rarity. * Have custom textures/models. * Drop its corresponding custom item. * Have configurable mining speed and explosion resistance. * Be obtainable in Survival mode.

  1. CUSTOM MATERIALS AND ITEMS

Add:

* Raw Uranium * Uranium Ingot * Enriched Uranium * Plutonium Ingot * Thorium Ingot * Radioactive Crystal * Nuclear Metal * Nuclear Fuel * Nuclear Core * Reactor Core * Radiation Detector * Geiger Counter * Nuclear Battery * Nuclear Rod * Control Rod * Cooling Cell * Reactor Casing * Reinforced Nuclear Glass

Every custom item must have:

* Unique name * Custom texture/model * Custom lore * Custom item ID * Configurable crafting recipe * Proper interaction behavior where appropriate.

  1. CUSTOM BLOCKS

Add:

* Uranium Ore * Plutonium Ore * Nuclear Reactor * Reactor Core * Cooling System * Control Panel * Nuclear Storage Block * Radiation Shield Block * Reinforced Nuclear Glass * Nuclear Generator * Nuclear Workbench

The blocks must look like real Minecraft custom blocks using a resource pack/custom model system.

  1. NUCLEAR REACTOR

Create a fictional Nuclear Reactor multiblock structure.

The reactor should require:

* Reactor Casing * Reactor Core * Control Rods * Cooling Cells * Nuclear Fuel

The reactor should have:

* INVENTORY GUI * Fuel slot * Cooling slot * Energy production * Temperature system * Radiation level * Progress bar * Start/Stop button * Warning messages * Configurable maximum temperature * Configurable fuel consumption

If the reactor overheats, it should trigger a Minecraft-style fictional meltdown event with particles, sounds, damage and an in-game explosion effect.

  1. FICTIONAL NUCLEAR BOMBS

Add several fictional Minecraft-only bombs:

* Small Nuclear Bomb * Nuclear Bomb * Mega Nuclear Bomb * Experimental Nuclear Bomb

Each bomb must be a custom item/block with:

* Unique texture * Custom name * Lore * Crafting recipe * Configurable explosion radius * Configurable damage * Configurable cooldown * Activation system * Warning countdown * Sound effects * Particle effects * Mushroom-cloud-style Minecraft particle effect

The explosion must use Minecraft game mechanics only and must NOT represent a realistic nuclear weapon.

  1. BOMB ACTIVATION

Create a safe fictional activation system:

/nuclear give <player> <item> <amount> /nuclear givebomb <player> <bomb> <amount> /nuclear reactor /nuclear radiation /nuclear reload /nuclear admin

Bomb activation:

* Right-click the bomb with a fictional Nuclear Detonator. * Start a configurable countdown. * Display a large warning message. * Play warning sounds. * Show particles. * Detonate after the countdown. * Create a configurable Minecraft explosion. * Apply fictional radiation effects around the blast area.

  1. RADIATION SYSTEM

Create a fictional radiation system.

Players near radioactive blocks, reactors and explosions receive a custom "Radiation" effect.

Features:

* Radiation level from 0–1000. * Radiation slowly decreases when the player leaves the contaminated area. * Geiger Counter displays radiation level. * Radiation Detector displays radiation visually. * Radiation protection armor reduces radiation. * Radiation suit gives strong protection. * Radiation zones can be saved after explosions. * Administrators can remove radiation zones.

Commands: /nuclear radiation <player> /nuclear radiation clear <player> /nuclear radiationzone list /nuclear radiationzone clear

  1. RADIATION ARMOR

Add a complete fictional radiation suit:

* Radiation Helmet * Radiation Chestplate * Radiation Leggings * Radiation Boots

The complete suit should:

* Reduce radiation damage. * Have custom textures. * Have custom lore. * Provide special effects while the full set is equipped.

  1. CRAFTING SYSTEM

Create balanced Minecraft crafting recipes for all items.

Example progression:

Mining:

Ore → Raw Material

Smelting:

Raw Material → Ingot

Processing:

Ingot + fictional components → Advanced Material

Advanced crafting:

Advanced Materials → Nuclear Components

Nuclear Components → Reactor Components

Reactor Components → Nuclear Reactor

Advanced components → Fictional Nuclear Bombs

Make recipes difficult enough for late-game Survival.

  1. NUCLEAR WORKBENCH

Create a custom INVENTORY GUI called "Nuclear Workbench".

It should allow players to craft advanced nuclear technology.

INVENTORY GUI categories:

* Materials * Reactor * Energy * Radiation Protection * Experimental Technology * Fictional Bombs

  1. ENERGY SYSTEM

Create a fictional energy system:

* Nuclear Generator produces energy. * Nuclear Reactor produces much more energy. * Nuclear Battery stores energy. * Machines consume energy.

Display energy as:

Energy: 12500 / 50000 RF

Make the entire system configurable.

  1. RESOURCE PACK

Generate a complete resource pack if possible.

Include textures/models for:

* All ores * All blocks * All items * Reactor * Nuclear bombs * Nuclear armor * Nuclear INVENTORY GUI

If the generator cannot automatically create PNG textures, create placeholder textures and clearly explain where each texture file should be placed.

  1. CONFIGURATION

Create config.yml with settings such as:

ore generation ore rarity reactor fuel consumption reactor energy production maximum reactor temperature radiation damage radiation duration bomb countdown bomb explosion radius bomb damage particle effects sound effects enable/disable radiation enable/disable world damage

  1. COMMANDS

Create:

/nuclear help /nuclear give /nuclear givebomb /nuclear reactor /nuclear radiation /nuclear radiationzone /nuclear reload /nuclear admin

Add permissions: nuclear.admin nuclear.give nuclear.reactor nuclear.radiation

  1. COMPATIBILITY

Target:

Minecraft Java Edition 1.20.1 Paper 1.20.1 Java 17

Use clean, optimized Java code.

  1. PERFORMANCE

The plugin must:

* Avoid unnecessary repeating tasks. * Avoid excessive entities. * Avoid armor-stand spam. * Avoid server lag. * Store radiation zones efficiently. * Save player radiation data safely. * Handle server restart correctly.

  1. DELIVERABLES

Generate the COMPLETE project, not just examples.

Provide:

* Complete Java source code * plugin.yml * config.yml * all resource files * recipes * custom item definitions * custom block definitions * resource pack * README.md * Gradle or Maven build configuration

Most importantly:

BUILD THE PROJECT and provide the final compiled .jar file ready to place inside the Minecraft server's "plugins" folder.

Also provide the resource-pack ZIP if required.

Do not give me incomplete pseudocode.

Do not omit classes.

Do not use "TODO".

Do not leave important systems unfinished.

The final result must compile successfully for Paper 1.21.11

Kodari AI
KodariAug 17 at 8:19 pm 7
NuclearTech
A fictional nuclear technology plugin for Minecraft 1.20.1 Paper servers. Adds custom ores, materials, blocks, and a complete nuclear reactor multiblock system with inventory GUI. Features fictional radiation mechanics, radiation protection armor, energy system, and configurable nuclear bombs with Minecraft-style explosion effects. Includes custom crafting progression, Nuclear Workbench GUI, Geiger Counter radiation detection, and comprehensive admin commands. All systems are configurable via config.yml with ore generation, reactor mechanics, radiation effects, and bomb parameters. Uses custom resource pack for textures and models. Implements efficient performance with optimized tasks and data storage.
  1. Core plugin and registries: create the Gradle project, plugin metadata, configurable content, recipes, custom-model item/block IDs, and ore generation.

  2. Gameplay systems: add reactor processing, energy/temperature handling, fictional bombs, countdown effects, and radiation zones/persistence.

  3. Interfaces and delivery files: add commands, GUIs, listeners, configuration, resource-pack model scaffolding, and README instructions.

Core gameplay code is in place; I’m adding the resource-pack scaffolding and operator documentation now.

Created the NuclearTech project with:

  • Gradle Java 17 build configuration targeting Paper 1.20.1

  • Custom fictional materials, ores, blocks, bombs, armor, detectors, reactor components, and recipes

  • Nuclear reactor GUI with fuel, cooling, energy, temperature, radiation, startup, shutdown, and meltdown handling

  • Fictional bomb activation with detonator, countdown, sounds, particles, explosion effects, and radiation zones

  • Persistent player radiation and radiation-zone data

  • Commands and permissions from the specification

  • Configurable generation, reactor, bomb, radiation, sound, particle, and world-damage settings

  • Nuclear Workbench GUI

  • Resource-pack metadata, model templates, and texture replacement instructions

  • README documentation

The project is configured for the explicitly specified Paper 1.20.1 API and Java 17. A compiled JAR and ZIP binary cannot be emitted directly by this file-generation environment; build them with:

Shell
gradle build

The plugin JAR will be generated at:

Plain Text
build/libs/NuclearTech-1.0.0.jar

The resource-pack directory is located at:

Plain Text
resource-pack/
Kodari can make mistakes. Review important code before using.
Files
resource-pack
src
build.gradle
README.md
settings.gradle
Code
19 961
src/main/java/com/kodari/nucleartech/NuclearTech.java
package com.kodari.nucleartech;

import com.kodari.nucleartech.content.Content;
import com.kodari.nucleartech.system.BombManager;
import com.kodari.nucleartech.system.RadiationManager;
import com.kodari.nucleartech.system.ReactorManager;
import org.bukkit.Bukkit;
import org.bukkit.NamespacedKey;
import org.bukkit.World;
import org.bukkit.block.Block;
import org.bukkit.block.TileState;
import org.bukkit.plugin.java.JavaPlugin;

import java.util.Map;
import java.util.concurrent.ConcurrentHashMap;

public final class NuclearTech extends JavaPlugin {
    private final Map<String, String> customBlocks = new ConcurrentHashMap<>();
    private NamespacedKey blockKey;
    private RadiationManager radiationManager;
    private ReactorManager reactorManager;
    private BombManager bombManager;

    @Override
    public void onEnable() {
        saveDefaultConfig();
        blockKey = new NamespacedKey(this, "block_id");
        Content.initialize(this);
        radiationManager = new RadiationManager(this);
        reactorManager = new ReactorManager(this);
        bombManager = new BombManager(this);
        Bukkit.getPluginManager().registerEvents(new NuclearListener(this), this);
        getCommand("nuclear").setExecutor(new NuclearCommand(this));
        getCommand("nuclear").setTabCompleter(new NuclearCommand(this));
        Bukkit.getScheduler().runTaskTimer(this, () -> radiationManager.tick(), 20L, Math.max(1, getConfig().getLong("radiation.radiation-tick-period", 20L)));
        Bukkit.getScheduler().runTaskTimer(this, () -> reactorManager.tick(), 20L, 20L);
    }

    @Override
    public void onDisable() {
        if (radiationManager != null) radiationManager.save();
        if (reactorManager != null) reactorManager.save();
    }

    public RadiationManager radiation() { return radiationManager; }
    public ReactorManager reactors() { return reactorManager; }
    public BombManager bombs() { return bombManager; }
    public NamespacedKey blockKey() { return blockKey; }

    public void rememberBlock(Block block, String id) {
        customBlocks.put(key(block), id);
        if (block.getState() instanceof TileState tile) {
            tile.getPersistentDataContainer().set(blockKey, org.bukkit.persistence.PersistentDataType.STRING, id);
            tile.update(true, false);
        }
    }

    public String customBlockAt(Block block) {
        String id = customBlocks.get(key(block));
        if (id != null) return id;
        if (block.getState() instanceof TileState tile) {
            return tile.getPersistentDataContainer().get(blockKey, org.bukkit.persistence.PersistentDataType.STRING);
        }
        return null;
    }

    public void forgetBlock(Block block) { customBlocks.remove(key(block)); }

    private String key(Block block) {
        World world = block.getWorld();
        return world.getUID() + ":" + block.getX() + ":" + block.getY() + ":" + block.getZ();
    }
}