Home›Java›Mods›AvalonBase Mod (26.3, 1.20.1) – Run Cross-Loader Mods With Themed Menus
AvalonBase Mod (26.3, 1.20.1) – Run Cross-Loader Mods With Themed Menus
ModsJava

AvalonBase Mod (26.3, 1.20.1) – Run Cross-Loader Mods With Themed Menus

Java mod listed for Minecraft 1.20–26.x. Downloads from the MC Java Mods app on Android.

by Moon

⬇ Download
AvalonBase Mod (26.3, 1.20.1) – Run Cross-Loader Mods With Themed Menus — screenshot 1

AvalonBase Mod supplies a shared core library of themed menus, live TOML config tools, cross-platform networking, and platform checks for Minecraft mods. This mod holds zero gameplay content of its own and instead packs 5 low-level systems that other mods require to run smoothly. Mods built on it share 2 code-drawn UI themes, matching settings screens with permission checks, automatic config hot-reloading, and unified client-server packet sync. By keeping common code inside one lightweight library, dependent mods stay lean, avoid duplicated menus, and behave the same across mod loaders. Players normally add it when another utility, command, or multiplayer mod lists it as a required dependency.

AvalonBase Mod

Features:

Themed GUI Widgets and Styles:

Config Screen Tools:

TOML Config Framework:

Networking and Platform Services:

Suitable Dependent Mod Types:

How to Use:

  1. For players, place this library alongside any mod that requires it; no in-game setup is needed because dependent mods load its menus and tools automatically.
  2. For mod projects adding a local jar dependency, include the dev jar with compileOnly in the common source set for compile-time access, add the runtime jar with modImplementation in the platform-specific module, and mark the library as a mandatory required dependency in the mod metadata.
  3. For multi-mod setups, publish the library artifacts to a private Maven repository and reference them with standard Maven coordinates.
  4. Keep night-config available for the TOML framework; some mod loaders bundle it by default, while others require packaging it inside your mod jar.
  5. Create and initialize a TOML config file using AvalonToml and call toml.ensureExists(Config.inMemory()) so a default file generates when missing.
  6. Build a custom settings screen by extending AvalonConfigScreen, picking a theme with setTheme(MODERN_THEME), adding buttons with addSaveCancelButtons(), and overriding saveConfig() with your save logic.
  7. Register cross-platform packets through AvalonNetwork.registerMessage(channel, clazz, encode, decode, handler) and check Services.PLATFORM.isDevelopmentEnvironment() whenever you need development-only code.
// 1. Initialize TOML config
AvalonToml toml = new AvalonToml("mymod", Path.of("config", "mymod.toml"));
toml.ensureExists(Config.inMemory());

// 2. Custom config screen extending base screen
public class ModConfigScreen extends AvalonConfigScreen {
    public ModConfigScreen() {
        super(Component.translatable("gui.mymod.title"));
        setTheme(MODERN_THEME);
        addSaveCancelButtons();
    }
    @Override
    protected void saveConfig() {
        // Add your own save logic here
    }
}

// 3. Register cross-network packet
AvalonNetwork.registerMessage(channel, clazz, encode, decode, handler);

// 4. Check runtime environment
if (Services.PLATFORM.isDevelopmentEnvironment()) {
    // Development-only logic
}

AvalonBase Mod Download Links

Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

File checked by MCModsHub

These come from our own check of the pack file, not from the source page.

Explore more