Tau

Tau

A versatile and powerful UI Library for Minecraft that provides a flutter-like syntax for making UI

by
1.2K Downloads
forgeneoforgelibrary
Rent Server with this Mod

About this Mod

Summary

Tau is a UI library for Minecraft Forge that simplifies the process of creating graphical user interfaces (GUIs). It provides a Flutter-like syntax for creating and customizing the appearance of UI elements, making it easy for developers to create attractive, responsive, and functional interfaces.

Key Features

  • Flutter-like Syntax: Tau uses a syntax similar to that of Flutter, making it easy for developers familiar with Flutter to get started with Tau.
  • Extensible: Tau is designed to be extensible, allowing developers to add their own custom UI elements and widgets to the library.
  • Easy To Use: Tau is designed to be easy to use. I am personally really not a fan of the workflow that goes into making Minecraft UIs. Tau changes that workflow into a more organized and maintainable fashion (In my opinion).

Capabilities

Currently, there are 2 renderers for Tau. They are built upon existing Minecraft UI renderers. There is one for Screen and another one for Hud. So you can use Tau to build Huds and various different types of screens as you need. There is currently no support for making UI for containers (as of version 1.0.0). But that is something I would like to look into.

Example

Here are some example code that can be used to set up a simple Tau UI

public class ExampleUI implements UIComponent {
    @Override
    public UIComponent build(Layout layout) {
        return new Stack(
            new Container.Builder().withColor(Color.WHITE),
            new Center(new Sized(
                Size.staticSize(new Vector2i(100, 20)),
                new TextField.Builder()
                    .withMessage(new StringTextComponent("Hello"))
                    .withHintText(new StringTextComponent("Hello!")))
        ));
    }
}

in this snippet, it creates a list of UI elements that stack on top of each other. In this case, an empty container filled with the color white, and a text field with the size 100(w) 20(h) centred in the middle of the screen with a narration message of "Hello" and a hint text of "Hello!"

Lastly, This UI can be displayed onto the screen with 

Minecraft.getInstance().setScreen(new ScreenUIRenderer(new TestStatic()));

Getting Started

You can head to the documentation website here

Available Versions

Tau 1.0.3-1.19release
MC 1.19.4forge
November 5, 2023
Tau 1.0.2-1.19release
MC 1.19.3forge
July 23, 2023
Tau 1.0.2-1.18release
MC 1.18.2forge
July 23, 2023
Tau 1.0.1-1.18-HOTFIXrelease
MC 1.18.2forge
July 16, 2023
Tau 1.2.1-1.16release
MC 1.16.3, 1.16.4, 1.16.5forge
July 16, 2023

How to Install Tau on Your Server

1

Order Server

Order a Minecraft Java server with at least 3 GB RAM (4 GB recommended).

2

Set forge Loader

In the panel under "Egg", select the forge loader and matching Minecraft version (1.20.6).

3

Install Mod

Open the mod browser in the dashboard and search for "Tau". Click "Install" – done! Alternatively, upload the .jar via SFTP to the /mods folder.

Compatibility

Mod Loaders

forgeneoforge

Minecraft Versions

1.20.6, 1.19.4, 1.19.3 (+4 more)

Server-side

Unsupported

Recommended RAM

4 GB(min. 3 GB)

Frequently Asked Questions

Tau server crashes on startup – what to do?

Most common cause: wrong forge version or insufficient RAM. Check the server log (latest.log) for "OutOfMemoryError" or "Mixin" errors. With Mado Hosting: ensure at least 3 GB RAM is allocated and the loader matches the mod version (1.20.6). You can switch loaders with one click in the panel.

Is Tau compatible with forge and neoforge?

Tau officially supports forge, neoforge for Minecraft 1.20.6, 1.19.4, 1.19.3. The Mado dashboard automatically detects incompatible loader combinations.

Server lagging with Tau – how to optimize performance?

Recommended RAM: 4 GB (per 8 players). Use /spark profiler to check if Tau consumes the most tick time. Common fixes: reduce server view-distance to 8-10, install "performant" or "starlight" as supplementary mods on Forge. With Mado Hosting, your server runs on NVMe SSDs with dedicated CPU cores for minimal latency.

Rent Modded Server

Install Tau with just one click on your server.

Recommended RAM
4 GBab €8/mo
Min. 3 GB | +1 GB pro 8 Spieler
Create Server Now
1-Click Mod Install
NVMe SSD Storage
DDoS Protection included

Details

License
MIT License
Server-side
Unsupported

Supported Versions

1.20.61.19.41.19.31.18.21.16.51.16.41.16.3