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

Lazr's Lib

A library containing utilities for Lazr's Mods.

Загрузки
120K
Подписчики
3
Обновлён
18 августа 2026 г.
Лицензия
GPL-3.0-only

Опубликован 30 августа 2024 г.



A library containing utilities for Lazr's Mods.


Like my mods? Support my work:

Buy Me a Coffee at ko-fi.com Donate using Liberapay


Features:

  • Screen Drawing Utilities
  • Overlay Utilitiesa
  • NBT Utilities
  • API for interactable overlays and screens.
  • Simple Networking Solution


Feel free to join our discord!



Ченджлог

1.2.1Релиз1.20.1 · 18 августа 2026 г.

A detailed changelog can be found here.

1.2.1Релиз1.20.1 · 18 августа 2026 г.

A detailed changelog can be found here.

1.2.1Релиз1.21.1 · 18 августа 2026 г.

A detailed changelog can be found here.

1.2.1Релиз1.21.1 · 18 августа 2026 г.

A detailed changelog can be found here.

1.2.1Релиз1.21.1 · 18 августа 2026 г.

A detailed changelog can be found here.

1.2.0Релиз1.20.1 · 14 августа 2026 г.

A detailed changelog can be found here.

1.2.0Релиз1.20.1 · 14 августа 2026 г.

A detailed changelog can be found here.

1.2.0Релиз1.21.1 · 10 августа 2026 г.

Added

  • Completely rewritten for multi loader, for compatible release on forge, neoforge, and fabric.
  • Added IPacketContext passed when handling LazrPacket.handleClientside(ctx) and LazrPacket.handleServerside(ctx)
  • Added TimeUtilities with commonly used functions for getting Unix timestamps and other time related utilities.
  • Added additional commonly used math functions to MathUtilities.
    • lerp(min, max, time)
    • lerp01(time)
  • Added additional component utility functions for converting components to/from json.
  • InteractableOverlay now receives ticks through the InteractableOverlay.tick() function.
  • Added some cube drawing functions in RenderUtilities
  • Added several alternates existing functions in FontUtilities to allow for using String and Component instead of List<Componet>
  • Added some entity utilities to EntityUtilities

Changed

  • Renamed ParameterizedLazrPacket to LazrPacket
  • Moved several text-related functions from ScreenUtilities to FontUtilies
  • Renamed BlitCoordinates to ScreenCoordinate
  • Moved lazrslib.client.font.ComponentUtilities to lazrslib.common.component.ComponentUtilities
  • Renamed lazrslib.client.ui.OnClickFunction to lazrslib.client.IOnClickFunction

Fixed

  • Fixed several typos in function and class names.

Removed

  • Removed ThreadsafeLazrPacket
  • Removed several redundant packet registering functions in LazrNetwork they've now been unified into register(packet, decoder)

Комментарии

Загружаем…