Дмитрий А

Atomic reactor with control panel like Chernobyl's and it will explore with nuclear bomb effect when the temperature will be 1000

Kodari AI
KodariNov 13 at 5:08 am 7
NuclearReactorControl
An immersive Minecraft Fabric mod that simulates a Chernobyl-style nuclear reactor with a detailed control panel. Players must monitor temperature, coolant levels, and control rods to maintain stability. When temperature reaches 1000 degrees, the reactor explodes with a devastating nuclear bomb effect, creating a massive crater, radiation zones, and destructive shockwaves. Features include interactive levers, gauges, warning systems, and emergency protocols for an authentic reactor management experience.
  • Set up the Fabric 26.3 / Java 25 project and register a craftable reactor block with a synced block entity.

  • Add server-validated START/SCRAM controls, persistent temperature, and a fire-starting blast at 1000°C.

  • Build the industrial owo-ui control panel and add the block’s model, recipe, loot table, tool tags, and localization.

Added the AtomCore reactor for Fabric 26.3. Craft it with iron blocks, redstone, obsidian, and iron bars; mine it with a diamond pickaxe.

Right-click the reactor to open its control panel. START REACTOR raises its temperature; SCRAM stops the rise and lets the core cool. At 1000°C, it triggers a large, fire-starting explosion.

Kodari can make mistakes. Review important code before using.
Files
src
build.gradle
gradle.properties
manifest.kod
settings.gradle
Code
21 599
src/client/java/com/kodari/atomcore/client/AtomCoreClient.java
package com.kodari.atomcore.client;

import com.kodari.atomcore.ReactorBlockEntity;
import io.wispforest.owo.ui.base.BaseOwoScreen;
import net.fabricmc.api.ClientModInitializer;
import net.fabricmc.fabric.api.event.player.UseBlockCallback;
import net.minecraft.client.Minecraft;
import net.minecraft.world.InteractionResult;

public final class AtomCoreClient implements ClientModInitializer {
    @Override
    public void onInitializeClient() {
        UseBlockCallback.EVENT.register((player, level, hand, hit) -> {
            if (level.getBlockEntity(hit.getBlockPos()) instanceof ReactorBlockEntity reactor) {
                Minecraft.getInstance().gui.setScreen(new ReactorControlScreen(hit.getBlockPos(), reactor));
                return InteractionResult.SUCCESS;
            }

            return InteractionResult.PASS;
        });
    }
}