Skip to content

redstone-md/MossyMod

Repository files navigation

MossyMod

MossyMod is a Fabric mod for Minecraft 1.21.11 that adds mesh-based world discovery and experimental peer-to-peer joins on top of MOSS.

Foundation

This project is built on redstone-md/moss.

Moss is an embeddable P2P mesh core written in Go and exported through CGO as a C-shared library.

What It Does

  • Discovers friend worlds over the MOSS mesh
  • Publishes integrated-server worlds into the mesh
  • Provides an owo-lib UI for friends, settings, diagnostics, and peer bootstrap
  • Uses a custom Netty transport over MOSS tunnels for experimental P2P Minecraft traffic

Current State

The mod is usable for discovery, diagnostics, bootstrap-peer management, and ongoing P2P transport testing.

The networking path is still experimental. Discovery and transport debugging are much more stable than full end-to-end gameplay compatibility, so treat releases as testing builds unless noted otherwise.

Bundled Runtime

The build is intentionally self-contained.

The produced mod jar bundles:

  • owo-lib
  • jna
  • jna-platform
  • platform natives for libmoss

Bundled MOSS native libraries currently live in:

We intentionally update these bundled natives between builds instead of downloading them at runtime.

Development

Requirements:

  • Java 21+
  • Fabric Loader for Minecraft 1.21.11

Build:

./gradlew build

Windows:

./gradlew.bat build

The release artifact is written to:

Repository Layout

License

This repository is licensed under the terms in LICENSE.

About

MossyMod is a Fabric mod for Minecraft 1.21.11 that adds mesh-based world discovery and experimental peer-to-peer joins on top of MOSS.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors