Familiars Lib
The shared base for familiar mods: familiar blocks, shrinking, color layers, cosmetics, familiar eggs, the compendium, the camera and photos, and the APIs and data formats behind them.
Familiars Lib is the library every familiar mod is built on, including Alshanex's Familiars. It provides:
- Taming and summoning: owning familiars, summoning them, the selection screens, death and revival.
- Shared blocks: the familiar bed, the familiar house and the shrinking station.
- Consumables: items that raise a familiar's stats permanently.
- Color layers: parts of a familiar's texture that can be recolored with dyes, items or the biome it spawns in.
- Cosmetics: hats and weapons players give to their familiars.
- The Identity Vessel: moves a familiar's colors to another familiar of the same type, mixing them into new ones.
- Familiar Eggs: bring back familiars that died or were released, and hatch new familiars in a familiar bed.
- The Familiar Compendium: a book listing every familiar, its abilities and every color it can have.
- The Familiar Camera: takes photos of familiars that remember their exact look and pose.
- The APIs to make your own familiars, houses and beds, and use all of the above.
The wiki has three parts.
For players
How taming, summoning, the blocks, colors, cosmetics, familiar eggs, the compendium and the camera work in-game.
Taming and care
Taming and summoning familiars, sitting, feeding, death and revival, consumables and the trinket slot.
Familiar blocks
The Familiar Bed, the familiar house and the Shrinking Station.
Colors and cosmetics
Recoloring familiars, moving colors with the Identity Vessel, and dressing them in hats and weapons.
Compendium and camera
The Familiar Compendium, and taking photos with the Familiar Camera.
Familiar Eggs
Bringing back a lost familiar, and hatching new ones in a familiar bed.
For modpack makers
Changing recipes, colors, interactions and cosmetics with data files only.
For mod developers
Making your own familiars and using the systems from code.
For mod developers
Adding Familiars Lib to a mod and making your own familiar.
Goals and behaviour
Attack goals, sitting and sleeping, trinkets and spellbooks, reusable goals, and the order interactions run in.
Houses and beds
Making your own familiar house and familiar bed.
Color layers
Color slots on the entity, layer textures, rendering, dyes, biome colors and override rules from code.
Cosmetics
Letting familiars wear hats and hold weapons, and drawing them.
Compendium, eggs and photos
Filling your familiars' compendium tabs, egg colors, and what a photo stores.
