FutureLibrary aka FLIB
Just shared code for many mods that i made. Enables me to speed up the process of creating new mods, and make porting between versions easier.
Current java features
- coremod data
- BlockSettings (tooltip, rotateColor, litWhenPowered, facingAttachment)
- inventory wrappers
- newmod template with buildscripts
- Worldgen feature builders (simple, patch, ore)
- dimension utilities
- EnergyIngredient for recipes
- FluidTagIngredient for recipes
- RandomizedOutputIngredient for recipes
- Brewing recipe
- many misc utilities
- /flib commands : can disable them in config flib.toml
-- /flib tpx: teleport across dimensions
-- /flib health add/set/random/factor
-- /flib hunger add/set/random/factor
-- /flib hearts add/set/random/factor
-- /flib gamemode @p 1
-- /flib scoreboard random @p 4 9 OBJECTIVE
-- /flib attribute minecraft:reach_distance random @p 3 8
Upcoming features
- item projectile weapon capabilities
- item capabilities
- mixins
- GUI Screen libraries
Other Stuff
"flib - /flib/ (WPI) A meta-number, said to be an integer between 3 and 4.
See grix, N. "
- Dictionary of Computing https://www.webster-dictionary.org/definition/flib
Small list of mods using this library
- https://www.curseforge.com/minecraft/mc-mods/scraps
- https://www.curseforge.com/minecraft/mc-mods/custom-game-rules
- https://www.curseforge.com/minecraft/mc-mods/tiny-light-bulbs
- https://www.curseforge.com/minecraft/mc-mods/elementary-ores
The current plan for 1.18.2 is for this library to support many new unreleased mods, as well as the following
- https://github.com/Lothrazar/ForgeTemplate
- https://github.com/Lothrazar/Scraps
- https://github.com/Lothrazar/TinyLightBulbs
- https://github.com/Lothrazar/ElementaryOres
- https://github.com/Lothrazar/SaplingGrowthControl
- https://github.com/Lothrazar/CustomGameRules
- https://github.com/Lothrazar/BlockyDoors