Back to mods
Glass Networking project artwork

Modrinth · Minecraft mod

Glass Networking

A simple custom packet handler that vastly simplifies networking via NBT abuse.

Choose a version Pick your version below, then grab the matching file.

Quick answer

Which Glass Networking release should I use?

Updated 11 months ago
Latest stable file 1.0.7
Game version b1.7.3
Loader Fabric

Glass Networking 1.0.7 targets b1.7.3 with Fabric. Installation on the client is optional. Installation on the dedicated server is optional. No extra mods listed for this file.

Where it goes

Is Glass Networking required on the client, server, or both?

Installation on the client is optional. Installation on the dedicated server is optional.

Client Optional
Dedicated server Optional
Loader for this release Fabric
Required install it here Optional supported, not mandatory Not supported do not install here Source doesn’t say do not assume

The source marks this as usable on both the client and server.

What else does Glass Networking 1.0.7 need?

1.0.7. Change the file and its required mods may change too.

No extra mods listed for this file

This file does not list any required mods. Do not add a library just because a different file uses it.

This file does not list any required or optional mods.

Before you install it

Add Glass Networking without breaking your instance.

Built for Glass Networking 1.0.7. Pick another file and the loader, install side or required mods may change.

  1. 01

    Stick to this file

    Use 1.0.7. It targets b1.7.3 with Fabric; another release may have different loader, side or dependency requirements.

  2. 02

    Bring the mods it needs

    This file does not list any required mods. Do not add a library just because a different file uses it.

  3. 03

    Put it on the correct side

    Installation on the client is optional. Installation on the dedicated server is optional.

  4. 04

    Pick the file you checked

    Use the “Get this file” button beside 1.0.7. It opens that exact file at the source.

About this project

What does Glass Networking add?

This is a library mod that makes it insanely easy to add and use custom packets.

Not as flexible and extensible as StationAPI's system, but it works well for those who don't want to make StationAPI a hard dependency. Compatible with StationAPI.

Features:

  • Server and client know if each other has the mod, while still being able to connect to vanilla servers and clients.
  • Automatic packet short-circuiting for clients in singleplayer, or servers sending packets to itself, allowing for less side checks.

How to use (modders)

Assumes you already know a little on how packets work.
  • Implement the GlassPacketListener class and implement the method. There's a registerGlassPacket convenience method.
  • Add an entrypoint for glassnetworking, and point it to your new class.
    • The applicator field is where you should insert a lambda or method reference to handle what should happen when your packet is received.
  • Send packets from wherever you need in code, and watch as things just work(tm).

Project description from Modrinth.

Pick your setup

Glass Networking by Minecraft version and loader

Choose the version and loader you play, then open the matching release.

1 available setups

Check the dependencies, then try the file in a copied instance before changing a world you care about.

Recent files

Glass Networking versions and loaders

7 of 7 releases match

Looking for an older file? The official Modrinth project page is in Resources.