Background

Hyxin

ModsHyxin
Hyxin

Hyxin

CurseForge
Gameplay

Brings the Mixin trait/mixin framework for Java to Hytale!

Hyxin

Hyxin is a Mixin runtime designed specifically for the game
Hytale. It enables developers to modify, extend, and inject behavior into Hytale's codebase
without modifying the game directly.

⚠️ Early Access ⚠️

The game Hytale is in early access. Things are unstable, and prone to frequent changes. Things may not work, or may work
in unexpected or suboptimal ways.

Caveats

  • Mixin configs are only loaded from early plugins.
  • Mixin configs only checks the ./earlyplugins folder. Additional paths can be added using run arguments, but we do not scan them.
  • When developing Hyxin itself, files are loaded from the AppClassLoader instead of the expected early plugins URLClassLoader.
  • Accessors, invokers, interface injection, and similar features are not production ready.
  • The DisabledByDefault option, along with the disabled plugins feature is not supported.

Features

Both FabricMC's Mixin fork and LlamaLad7's MixinExtras
are available by default. You should be able to use any features added by either project, however not everything is
production ready yet.

Loading & Installing

The Hyxin plugin can go in any valid earlyplugins folder. Plugins that rely on Hyxin must be in the servers
earlyplugins folder. On a server, you will make this folder right next to your plugins and logs folder. In
singleplayer your plugin needs to go in the worlds earlyplugins folder.

Getting Started

The Hyxin project is not on Maven yet. You can download it from Discord or build it yourself for now.

Add a Hyxin config to your standard plugin manifest.json file. The Configs array defines a list of Mixin
configuration files that Hyxin should load from your plugin jar.

{
  "Group": "...",
  "Name": "...",
  "Version": "...",
  "Description": "...",
  "Hyxin": {
    "Configs": [
      "your_plugin.mixins.json"
    ]
  }
}

Inside the your_plugin.mixins.json you should set the root package name that Mixin classes are loaded from, and then
fill the mixins array with the name of each class you want to load.

{
  "required": true,
  "minVersion": "0.8",
  "package": "com.example.mixins",
  "mixins": [
    "ExampleMixin"
  ]
}

Then define your mixin class at src/main/com/example/mixins/ExampleMixin.java. In the following example, we are
injecting our onMain method immediately before EarlyPluginLoader#hasTransformers is invoked in the constructor of
HytaleServer.

@Mixin(HytaleServer.class)
public class ExampleMixin {

    @Inject(method = "<init>", at = @At(value = "INVOKE", target = "Lcom/hypixel/hytale/plugin/early/EarlyPluginLoader;hasTransformers()Z"))
    private static void onMain(CallbackInfo ci) {
        HytaleLogger.get("Hyxin-Example").at(Level.INFO).log("Hello from Hyxin! The server has been patched!");
    }
}

Credits & Acknowledgements

The Hyxin project is developed and maintained by Darkhax and Jaredlll08.
The Hyxin project is built upon Mixin. Special thanks to Mumfrey in particular, who has poured countless hours of time into maintaining the project.

We are very appreciative of all the prior works that have made this project possible. All trademarks, copyrights, and
ownership remain with their original authors. The inclusion of these libraries does not imply endorsement of this
project by their creators or affiliated organizations.

Information

15,276
Downloads
Version
Hyxin-0.0.11-all.jar
Updated
Jan 11, 2026
Support
Early Access

Project Links

Help the community thrive by sharing your feedback and reporting issues on the official tracker.

Hyxin - Hytale Mod | Hytale Wiki