FLIB - Library for Mod Developers
FLIB is a powerful toolkit library that significantly simplifies the process of creating new Minecraft mods. This library is a mandatory dependency for many other mods, ensuring their proper functionality.
Features for Developers
The library offers a wide range of functions, including:
- Coremod data handling
- Advanced block settings with tooltip support, rotation color changes, lighting when powered, and facing attachment systems
- Inventory wrappers
- Ready-made templates for creating new mods with pre-configured build scripts
- World generation tools supporting simple, patch, and ore structures
- Dimension utilities
- Advanced recipe ingredients: energy-based, fluid tags, and randomized outputs
- Brewing recipes
- Numerous helper utilities
FLIB Commands
The library includes useful commands that can be disabled via the flib.toml configuration file:
/flib tpx- teleportation between dimensions/flib health- health management (add, set, randomize, multiply)/flib hunger- hunger management (add, set, randomize, multiply)/flib hearts- hearts management (add, set, randomize, multiply)/flib gamemode @p 1- game mode switching/flib scoreboard random @p 4 9 OBJECTIVE- scoreboard value randomization/flib attribute minecraft:reach_distance random @p 3 8- attribute management