Language

Glass Networking

Glass Networking

Modrinth

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

18.9k downloads 8 followers updated 9mo ago
latest v1.0.7 Modrinth
Babric Fabric b1.7.3 – b1.7.3 Library

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).

Versions

Release
1.0.7
fabric · b1.7.3 · 9mo ago
- Fixed a bug where in some cases clients couldn't join online mode servers.
9.6k
Release
1.0.6
babric, fabric · b1.7.3 · 14mo ago
- No longer appears as a non-library in mod menu.
6.0k
Release
1.0.5
babric, fabric · b1.7.3 · 14mo ago
- Fixed access widener not being applied.
150
Release
1.0.4
babric, fabric · b1.7.3 · 17mo ago
Only really affects developers. - Fixed a maven pom stuffing issue, you no longer have to `transitive=false` this dependency.
1.2k
Release
1.0.3
babric, fabric · b1.7.3 · 20mo ago
- Fixed a client crash, thanks to telvarost for making the PR.
1.5k
Release
1.0.2
babric, fabric · b1.7.3 · 21mo ago
## Changes - Fixed the icon
280
Release
1.0.1
babric, fabric · b1.7.3 · 21mo ago
Initial release
177

Comments 0

No comments yet. Be the first to share your thoughts.

Download Glass Networking

Files are served directly from the original source. Modgrid does not host or modify them.