Back to mods
Radon project artwork

Modrinth · Minecraft mod

Radon

A configuration library which is super easy to use

Choose a version Pick your version below, then grab the matching file.

Quick answer

Which Radon release matches 1.21?

Updated 8 months ago
beta file 1.0.0-beta.7+1.21.1
Game version 1.21, 1.21.1
Loader Fabric

Radon 1.0.0-beta.7+1.21.1 targets 1.21, 1.21.1 with Fabric. It must be installed on the client. Do not install it on the dedicated server. All 1 required mods have matching files.

Where it goes

Is Radon required on the client, server, or both?

It must be installed on the client. Do not install it on the dedicated server.

Client Required
Dedicated server Not supported
Loader for this release Fabric
Required install it here Optional supported, not mandatory Not supported do not install here Source doesn’t say do not assume

This file is marked client-only.

What else does Radon 1.0.0-beta.7+1.21.1 need?

1.0.0-beta.7+1.21.1 on 1.21. Every mod below is checked against that same setup.

All 1 required mods have matching files

Install Fabric API first. We found matching files for this game-version and loader setup. 1 comes through another mod in the chain.

2 listed on this file 1 pulled in by one of those mods
Mod Menu Optional for Radon 1.0.0-beta.7+1.21.1
optional
Matching file found Matched file: 11.0.5
Fabric API Needed by Radon 1.0.0-beta.7+1.21.1
required
Matching file found Matched file: [1.21] Fabric API 0.102.0+1.21

1 extra mod was pulled in by another dependency. Indented rows show who needs each one. We only count dependency files that match this setup. A file for another loader does not fill the gap.

Before you install it

Add Radon without breaking your instance.

Built for Radon 1.0.0-beta.7+1.21.1 on 1.21. Pick another file and the loader, install side or required mods may change.

  1. 01

    Stick to this file

    Use 1.0.0-beta.7+1.21.1. It targets 1.21, 1.21.1 with Fabric; another release may have different loader, side or dependency requirements.

  2. 02

    Bring the mods it needs

    Install Fabric API first. We found matching files for this game-version and loader setup. 1 comes through another mod in the chain.

  3. 03

    Put it on the correct side

    It must be installed on the client. Do not install it on the dedicated server.

  4. 04

    Pick the file you checked

    Use the “Get this file” button beside 1.0.0-beta.7+1.21.1. It opens that exact file at the source.

About this project

What does Radon add?

Radon

time
Time

Downloads

This mod is a very easily usable configuration library.

Here's how to use it:

  • Add the Modrinth Maven repository to your project:
repositories {
    maven {
        url = "https://api.modrinth.com/maven"
    }  
}     
  • Add Radon to the dependencies of your mod:
dependencies {
    modImplementation "maven.modrinth:radon-lib:FIND_THE_LATEST_VERSION_ON_MODRINTH"  
}
  • Create a class which extends ConfigScreen:
package your.mod;

import me.kitty.radon.api.*;

public class MyConfig extends ConfigScreen {
    @Override
    public String getScreenTitle() {
        return "your screen's title";
    }
    
    @Override
    protected void radon() {
        // you need tabs to create rows
        Tab tab = tab("tab's name");
        Tab otherTab = tab("second tab");
        // you can also create sections
        Section section = section(otherTab, "name");
        // this is where we create our options
        // if you want a boolean or an enum
        // then you want to use ButtonRow
        enum myEnum {
            RADON,
            CONFIG
        }
        ButtonRow buttonRow = buttonRow(
                tab,
                key("button_row"), // key of the row: Radon will save the content of the row to the disk with this key
                "Label of the row",
                List.of("Tooltip", "shows when you", "hover the row", "with your mouse"),
                myEnum.RADON // either an option of your enum or true or false
        );
        // you sometimes want to run code, if the button's value is changed
        // it's very simple to do that:
        buttonRow.subscribe(newValue -> {
           // newValue is an object
           // but you can cast it into
           (boolean) newValue
           // or
           (myEnum) newValue
           // this will probably be made easier 
        });
        // now, comes the slider row
        // use this if you want a number
        SliderRow sliderRow = sliderRow(
                section, // here you can use a section instead of the tab
                key("slider_key"),
                "Label of the row",
                List.of("Tooltip again"),
                80, // initial value
                50, // minimum value
                100 // maximum value
        );
        // here subscribe gives you a long as newValue
        // you can also run code, if Radon loaded the saved value of the option
        sliderRow.onInit(() -> {
            long value = sliderRow.getValue();
        });
        // and if you need a string value, use InputRow
        InputRow inputRow = inputRow(
                tab,
                key("input"),
                "Label of the row",
                List.of("Tooltip"),
                "Placeholder",
                16 // limit how many characters it can be
        );
        // subscribe gives newValue as String here
    }
}
  • Add your class to fabric.mod.json as an entrypoint:
{
  "entrypoints": {
    "radon": ["your.mod.MyConfig"]
  }
}

It's that easy!

Project description from Modrinth.

Pick your setup

Radon by Minecraft version and loader

Choose the version and loader you play, then open the matching release.

12 available setups

Check the dependencies, then try the file in a copied instance before changing a world you care about.

Recent files

Radon versions and loaders

8 of 48 releases match
Clear filters

Looking for an older file? The official Modrinth project page is in Resources.