Lazr's Lib - 1.2.0 - NeoForge- 1.21.1
Curse Maven Snippet
What's new
Added
- Completely rewritten for multi loader, for compatible release on forge, neoforge, and fabric.
- Added
IPacketContextpassed when handlingLazrPacket.handleClientside(ctx)andLazrPacket.handleServerside(ctx) - Added
TimeUtilitieswith 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.
InteractableOverlaynow receives ticks through theInteractableOverlay.tick()function.- Added some cube drawing functions in
RenderUtilities - Added several alternates existing functions in
FontUtilitiesto allow for usingStringandComponentinstead ofList<Componet> - Added some entity utilities to
EntityUtilities
Changed
- Renamed
ParameterizedLazrPackettoLazrPacket - Moved several text-related functions from
ScreenUtilitiestoFontUtilies - Renamed
BlitCoordinatestoScreenCoordinate - Moved
lazrslib.client.font.ComponentUtilitiestolazrslib.common.component.ComponentUtilities - Renamed
lazrslib.client.ui.OnClickFunctiontolazrslib.client.IOnClickFunction
Fixed
- Fixed several typos in function and class names.
Removed
- Removed
ThreadsafeLazrPacket - Removed several redundant packet registering functions in
LazrNetworkthey've now been unified intoregister(packet, decoder)
This mod has no additional files

