Fzzy Config

Platform Utilities

Fzzy Config has a lightweight PlatformApi 馃棗, for performing common platform-specific functions without needing to write your own abstractions or having to rely on a separate API like Architectury.

isClient 馃棗

Checks whether the current game-state includes a logical client.

configDir 馃棗

Retrieves the current config directory as a File.

gameDir 馃棗

Retrieves the current root game directory as a File.

isModLoaded 馃棗

Checks whether the mod that uses the provided mod_id is loaded or not.

isDev 馃棗

Returns whether the current JRE is a development environment (runClient task etc.)

devlogger 馃棗

Creates a logger that only logs when the JRE is a development environment

testVersion 馃棗

Tests a provided string modid and version against the loaded version of that mod. If the mod isn't loaded or the comparison isn't valid, will return an empty optional.

Registrar System

The registrar system is a currently experimental lightweight cross-platform registration system for Minecraft registries. Create a new registrar with createRegistrar.

See the Registrar System page for specific usage information.