Graphene

Quick rating

Graphene

No reviews yet

Graphene is a client-side UI library for Minecraft (Fabric) that lets mod developers build interfaces with web technologies.

API/Library
Mod Loaders
Fabric
Minecraft
26.2

Community voices

Reviews

Versions
Loading versions…
Match includes

Click once to include, again to exclude, again to clear

Rating Any
Any 0.5 1.0 1.5 2.0 2.5 3.0 3.5 4.0 4.5 5.0
Min
Max
Play Status
Reviews
Time Played
hrs+
Verified developers only
Has developer response
List view
Grid view
Compact view
Sort by
Date
Rating
Helpful
Unhelpful
Edited
Sort ascending
Delete this review?

This removes your review from the project. You can write a new review after.

Review submitted for moderation

Your review has been sent to moderators, who will check that it meets our guidelines before it appears publicly.

No reviews yet. Be the first to review this project!

Get it on

Available Platforms

Compatibility

Supported Environments

Dev Environment
Client Required
Server Unsupported

About

Project Details

Type
Mod
License
MIT License
Latest Version
2.1.0
Authors

For authors

Embed Badge

If you're the author of this project, you can embed a live badge anywhere that supports HTML or Markdown. It updates automatically whenever ratings change.

Custom banner text
ModDex rating badge preview

Use HTML for any page that supports it, or Markdown for README files and Markdown-based descriptions.

Identifiers

Platform IDs

Modrinth ID

Resources

External Links

Source Issues Wiki Discord

About

Description

Graphene

Modrinth GitHub Release Maven Central 26.2 Maven Central 1.21.11 License: MIT

Graphene is a client-side UI library for Minecraft that lets mod developers build interfaces with web technologies. It embeds Chromium through JCEF, so you can render HTML/CSS/JavaScript UIs in-game while keeping a clean Java API for mod integration.

A Three.js scene rendered by Graphene inside Minecraft

What is Graphene?

Graphene bridges Minecraft modding and modern web UI development. Instead of building every screen with Minecraft's rendering primitives, you can create interfaces with HTML, CSS, and JavaScript, then integrate them with your mod through a Java API.

Graphene provides:

  • interactive Chromium views that can be embedded in Minecraft screens;
  • packaged asset URLs and an optional development HTTP server;
  • two-way Java/JavaScript communication through an asynchronous bridge;
  • browser navigation, input, downloads, dialogs, context menus, and lifecycle controls;
  • off-screen browser sessions and surfaces for custom rendering integrations;
  • Chromium DevTools support for inspecting and debugging pages.

Check compatibility and installation for supported Minecraft and Loader versions.

Requirements

  • Java: 25 for Minecraft 26.2, 21 for Minecraft 1.21.11
  • GPU: NVIDIA GeForce GT 720 or better
  • For macOS users: macOS 12 (Monterey) or later

Supported Platforms

  • macOS: arm64, amd64
  • Linux: arm64, amd64
  • Windows: amd64, arm64

Tested Platforms

  • Windows 11 with AZERTY and QWERTY keyboard layouts
  • Linux (Wayland) with AZERTY and QWERTY keyboard layouts
  • macOS 26 with QWERTY keyboard layout

Installation

Graphene is published on Maven Central. Find the latest version on GitHub Releases, Modrinth, or the Minecraft-version-specific Maven Central artifacts, then add the artifact matching your target Minecraft version as a mod dependency:

repositories {
    mavenCentral()
}

dependencies {
    modImplementation("io.github.trethore:graphene-ui-26.2:<version>")
    // Or for Minecraft 1.21.11:
    // modImplementation("io.github.trethore:graphene-ui-1.21.11:<version>")
}

Declare Graphene as a runtime dependency in fabric.mod.json:

{
  "depends": {
    "grapheneui": ">=<version>"
  }
}

Register your mod from its client initializer and retain the returned context:

import io.github.trethore.graphene.api.Graphene;
import io.github.trethore.graphene.api.GrapheneContext;
import net.fabricmc.api.ClientModInitializer;

public final class ExampleModClient implements ClientModInitializer {
    private static GrapheneContext graphene;

    @Override
    public void onInitializeClient() {
        graphene = Graphene.register(ExampleModClient.class);
    }

    public static GrapheneContext graphene() {
        return graphene;
    }
}

See those documentation pages for more details:

Contributing

Contributions are welcome!

  • Read the contributor guide in CONTRIBUTING.md.
  • Report bugs or request features in Issues.
  • Open changes through Pull Requests.
  • All pull requests must be tested before being submitted.

Documentation

Start HERE!

License

Licensed under the MIT License by Titouan Réthoré.

Screenshots

Gallery

  • Graphene Demo Screen
    Graphene Demo Screen

Versions

Files

Relations

Project Relations

More like this

Similar Mods

Suggestions use data such as tags, dependencies, dependents, descriptions, titles, and more to rank how much they overlap with this mod.

On ModDex

Community snapshot

0
Ratings
0
Followers
0
In stacks

By the numbers

Statistics

<1,000
Downloads
Last Updated
CurseForge
Created
Last synced
When ModDex last fetched this project from CurseForge or Modrinth. Every project is re-checked on a schedule, and any project that ships a new file is synced automatically within hours of the release.
New file updates sync automatically
How syncing works