Skip to content

About

Mixin for Chiyogami-based Minecraft servers!

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

ChiyoMixin

ChiyoMixin is a Minecraft server software that combines Chiyogami, a multithreaded fork of Paper, with PaperMixin, which lets you apply Mixins to the server.

  • Base: Minecraft / Paper 1.21.11
  • Threading: Chiyogami, with additional optimizations
  • Mixin: PaperMixin is bundled (no -javaagent needed)

Distribution

The jar is a paperclip jar, just like Paper's. It does not contain the vanilla server; on first start it downloads the vanilla server from Mojang and patches it locally (this creates cache/, versions/ and libraries/).

Running

java -Xms4G -Xmx4G -jar ChiyoMixin-paperclip-1.21.11-R0.1-SNAPSHOT.jar --nogui

When started with java -jar, PaperMixin is loaded automatically through the jar's Launcher-Agent-Class.

  • Put Mixin modules (jars) in <server root>/modules/. See chiyomixin-mixin/example for how to make one
  • PaperMixin extracts its working files to <server root>/.papermixin/
  • To start without Mixin, add -Dchiyomixin.mixin.disable=true
  • Passing the jar explicitly as -javaagent as well does not load PaperMixin twice

The configuration file is chiyomixin.yml, and the API package is world.chiyomixin. ChiyogamiLib (world.chiyogami.chiyogamilib) works as is.

Building

Requires git and JDK 21.

./gradlew applyAllPatches
./gradlew createChiyoMixinJar

The distributable jar is build/libs/ChiyoMixin-paperclip-<version>.jar.

Project layout

Path Contents
chiyomixin-api/ API (sources of the ChiyoMixin-specific API)
chiyomixin-server/minecraft-patches/ Patches to the Minecraft sources
chiyomixin-server/paper-patches/ Patches to the Paper sources
chiyomixin-mixin/ PaperMixin (included build, bundled into the jar)

License

GPLv3 (Paper / Chiyogami). For PaperMixin, see chiyomixin-mixin/LICENSE.

About

Mixin for Chiyogami-based Minecraft servers!

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages