> For the complete documentation index, see [llms.txt](https://docs.jackf.red/jackfredlib/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.jackf.red/jackfredlib/home.md).

# Home

[JackFredLib](https://github.com/JackFred2/JackFredLib) is a collection of small mods I use on the Fabric Toolchain. They've been documented here in case you wish to use them in your own setups. For information how to do that, see [Setup with Gradle](/jackfredlib/setup-with-gradle.md).

All modules have [JavaDoc](https://maven.jackf.red/javadoc/releases/red/jackf/jackfredlib/jackfredlib/latest) available online or in the sources.

## [JackFredLib: Base](/jackfredlib/jackfredlib-base/overview.md)

A collection of small utility classes, such as a `ResultHolder` class for working with Fabric's events as well as common methods for Minecraft's Codec system.

## [JackFredLib: Colour](/jackfredlib/jackfredlib-colour/overview.md)

Data structures representing colours and gradients, including builder-style gradient creation and client-side rendering methods for them. Also contains a collection of commonly used colours and gradients, such as pride flags.

## [JackFredLib: Extra Command Source Data](/jackfredlib/jackfredlib-ecsd/overview.md)

Adds a system for attaching and modifying data from a [`CommandSourceStack`](#user-content-fn-1)[^1]. This allows you to add additional data in the same vein of position or dimension, but allow allows for things such as repeatable arguments.

## [JackFredLib: GPS](/jackfredlib/jackfredlib-gps/overview.md)

Client-sided module for working out where the player is currently connected. Adds a static method to generate a unique ID based on a specific server, Realm or world, useful for minimap data. Also contains methods for grabbing information from the right-hand scoreboard or player list to further determine position.

## [JackFredLib: Lying](/jackfredlib/jackfredlib-lying/overview.md)

A server-oriented module for sending fake data to players on the packet level. Allows you to create and update fake entities and glowing highlights to clients on a per-player basis. Future plans include managed fake blocks, particules and sound helpers.

## [JackFredLib: Toasts](/jackfredlib/jackfredlib-toasts/overview.md)

Wrapper for easily creating [Toasts](https://en.wikipedia.org/wiki/Pop-up_notification) in-game, which support for custom icons (items or images), backgrounds and progress bars (updatable either at a constant rate or with an external source).

## [JackFredLib: Config](/jackfredlib/jackfredlib-config/overview.md)

A small config system designed for server-side mods using [Jankson](https://github.com/falkreon/Jankson). Includes basic support for migrations but no GUI support. Possibly deprecated in the future.

[^1]: **Yarn**: `ServerCommandSource`
