Tags
Creators
Details
Licensed GPL-3.0-only
Published 2 years ago
Updated 2 months ago
All versions
1.2.0
Release
Lazr's Lib - 1.2.0 - Fabric - 1.21.13 months ago 34
Compatibility
Minecraft: Java Edition
1.21.1
Platform
Fabric
Supported environments
Client and server
Changes
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)
Projects on Modrinth are automatically available through a Maven repository for use with JVM build tools such as Gradle. To learn more about the Modrinth Maven API, click here.
Note: When available, you should use the creator's maven repo instead as it will have transitive dependency information that the Modrinth Maven API does not. You may also end up with duplicate dependencies if you use a mix of Modrinth and non-Modrinth Maven repositories for your dependencies, because the group identifier will be different when served through the Modrinth Maven API.
Maven coordinates:
Version ID:
build.gradle:
repositories {
exclusiveContent {
forRepository {
maven {
name = "Modrinth"
url = "https://api.modrinth.com/maven"
}
}
// forRepositories(fg.repository) // Uncomment when using ForgeGradle
filter {
includeGroup "maven.modrinth"
}
}
}
// Standard Gradle dependency
dependencies {
implementation "maven.modrinth:hOqZCnXu:wWDzkZWC"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:hOqZCnXu:wWDzkZWC"
}

