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

Lazr's Lib

by LazrProductions • Downloads: 17 • 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!



How to Install Lazr's Lib (Mod)

Lazr's Lib by LazrProductions is verified for Fabric, Forge, Neoforge across Minecraft versions 1.17.1, 1.18, 1.18.1, 1.18.2, 1.19, 1.19.1, 1.19.2, 1.19.3 (latest release: 1.2.1, file size: 148 KB). Follow the steps below to install it safely from ModCraft.tv:

  1. Click the Download button above and select your Minecraft version (1.17.1, 1.18, 1.18.1, 1.18.2, 1.19, 1.19.1, 1.19.2, 1.19.3) and platform (Fabric, Forge, Neoforge).
  2. Make sure you have the compatible loader or environment installed for Fabric, Forge, Neoforge.
  3. Move the downloaded Lazr's Lib file into your Minecraft .minecraft/mods folder and launch the game.

All Versions

+ Add Version
Name Game version Platforms Published Downloads Actions
1.20.1
Forge
2mo ago 9
1.20.1
Fabric
2mo ago 5
1.21.1
Neoforge
2mo ago 3
1.21.1
Fabric
2mo ago 2
1.21.1
Forge
2mo ago 2
1.20.1
Fabric
2mo ago 2
1.20.1
Forge
2mo ago 1
1.21.1
Fabric
2mo ago 1
1.21.1
Neoforge
2mo ago 1
1.21.1
Forge
2mo ago 1
1.17.1
Forge
2mo ago 1
1.18.x
Forge
2mo ago 1
1.19.x
Forge
2mo ago 1
1.19.x
Forge
2mo ago 1
1.20.x
Forge
2mo ago 1
1.20.6
Forge
2mo ago 1
1.21.x
Forge
2mo 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