All Mods Resource Packs Data Packs Shaders Modpacks Plugins
Lazr's Lib

Lazr's Lib

by LazrProductions • Downloads: 0 • Followers: 0
Description
Gallery
Changelog
Versions



A library containing utilities for Lazr's Mods.


Like my mods? Support my work:

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!



All Versions

+ Add Version
Name Game version Platforms Published Downloads Actions
1.20.1
Forge
23h ago 1
1.20.1
Fabric
23h ago 1
1.21.1
Neoforge
23h ago 1
1.21.1
Fabric
23h ago 1
1.21.1
Forge
23h ago 1
1.20.1
Fabric
23h ago 1
1.20.1
Forge
23h ago 1
1.21.1
Fabric
23h ago 1
1.21.1
Neoforge
23h ago 1
1.21.1
Forge
23h ago 1
1.17.1
Forge
23h ago 1
1.18.x
Forge
23h ago 1
1.19.x
Forge
23h ago 1
1.19.x
Forge
23h ago 1
1.20.x
Forge
23h ago 1
1.20.6
Forge
23h ago 1
1.21.x
Forge
23h ago 1
### 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)`**
### 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)`**
### 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)`**
Lazr's Lib Icon
Download Lazr's Lib
Select game version
Select platform