Перейти к содержимому
Mineforgian

Glass Networking

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

20K загрузок8 подписчиковMITbabricfabric

Обновлён 27 августа 2025 г. · опубликован 4 сентября 2024 г.

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

Версии

ВерсияКаналИграЗагрузчикиДатаСкачать
1.0.7Релизb1.7.3fabric27 августа 2025 г..jar (24 КБ)
1.0.6Релизb1.7.3babric, fabric11 апреля 2025 г..jar (24 КБ)
1.0.5Релизb1.7.3babric, fabric7 апреля 2025 г..jar (24 КБ)
1.0.4Релизb1.7.3babric, fabric24 января 2025 г..jar (24 КБ)
1.0.3Релизb1.7.3babric, fabric5 октября 2024 г..jar (24 КБ)
1.0.2Релизb1.7.3babric, fabric4 сентября 2024 г..jar (23 КБ)
1.0.1Релизb1.7.3babric, fabric4 сентября 2024 г..jar (19 КБ)

Ченджлог

1.0.7Релизb1.7.3 · 27 августа 2025 г.
  • Fixed a bug where in some cases clients couldn't join online mode servers.
1.0.6Релизb1.7.3 · 11 апреля 2025 г.
  • No longer appears as a non-library in mod menu.
1.0.5Релизb1.7.3 · 7 апреля 2025 г.
  • Fixed access widener not being applied.
1.0.4Релизb1.7.3 · 24 января 2025 г.

Only really affects developers.

  • Fixed a maven pom stuffing issue, you no longer have to transitive=false this dependency.
1.0.3Релизb1.7.3 · 5 октября 2024 г.
  • Fixed a client crash, thanks to telvarost for making the PR.
1.0.2Релизb1.7.3 · 4 сентября 2024 г.

Changes

  • Fixed the icon
1.0.1Релизb1.7.3 · 4 сентября 2024 г.

Initial release

Полная история изменений — на Modrinth.

Комментарии

Загружаем…