BlossomLib
BlossomLib is a library mod for Minecraft on the Fabric platform, specifically designed to support the entire line of Blossom-series mods.
Dependencies
For proper mod operation, installation of the following components is required:
- Fabric API or Quilt Standard Libraries (when using Quilt)
- fabric-permissions-api / LuckPerms (optional, for access rights management)
- server-translations-api (built-in dependency)
Configuration
The library's configuration file is automatically created after the first server startup with the mod installed and is located at config/BlossomMods/BlossomLib.json.
Main configuration parameters:
- logging - log settings for BlossomMods
- baseTeleportation - basic teleportation parameters
- colors - color schemes for text
- dimNameOverrides - dimension name overrides (for example, replacing "minecraft:the_nether" with "The Underworld")
- enableMC124177Fix - enabling fix for bug MC-124177 (CrossDimTPFix)
Logging Settings
Parameters for fine-tuning the logging system:
- consoleLogLevel - logging level for console output
- fileLogLevel - logging level for file recording
- fileLogPath - path to log file
- fileLogAppend - preserving old logs on server restart
- disableCustomLogger - disabling custom logger in case of incompatibility with other mods
Teleportation Settings
Advanced parameters for configuring the teleportation process:
- bossBar - boss bar configuration
- titleMessage - title message settings
- actionBarMessageEnabled - displaying messages in action bar during countdown
- fovEffectBefore/fovEffectAfter - field of view change animations before and after teleportation
- cancelOnMove - canceling countdown when player moves
Commands and Permissions
The library provides the following management commands:
Main Commands
/tpcancel- cancel current teleportation or countdown/blossomlib- library management commands with subcommands:reload-config- reload configuration from fileclear-countdowns- clear countdownsclear-cooldowns- reset cooldown timesdebug- debug commands for testing
Translation Keys
The system supports localization using the following translation keys (full list available in language resource file):
- Teleportation countdown messages
- Notifications about clearing countdowns and cooldowns
- Debug messages
- Command texts and their descriptions
Translations are supported for Chinese (simplified and traditional), Korean, Spanish (Mexico), and French languages.