VampireLib
VampireLib is a Fabric library mod by oliviathevampire that supplies shared base classes, registry helpers and datagen utilities for other mods.
What it does
Custom villager professions with their own workstations and trades are provided as base classes, so a mod can add a profession without writing that plumbing itself. Some GUI utility classes and a set of datagen classes are included as well.
The registry side covers two areas. A Registry Helper class simplifies registering objects, and a Wood Registry lets a mod register wood types and choose which ones to use. A Wood Type registry also lets code look up a specific wood type or loop through every registered one. A Convertible Blocks system converts blocks into customizable items.
VampireLib is open source under the Apache License 2.0, with public source code and an issue tracker. It is published for 1.16.4, 1.19.4 and 1.20.1, with 7.0.2 as the latest build for 1.20.1, and Fabric API is required. Both the server and the clients must run it, and snapshot builds are also published.
Key features
Villager profession base classes
Base classes for custom villager professions, workstations and trades reduce the code a mod needs for villagers.
Registry Helper
A helper class makes it simpler to register game objects from a mod's initialization code.
Wood type registry
Mods can register wood types, pick the ones they need and loop through all registered wood types.
Convertible Blocks
A system converts blocks into other items through customizable rules set by the mod using it.
Compatibility
Latest build for each game version and loader.
This mod also publishes snapshot builds. Snapshots are not shown in the matrix.
Requirements
Dependencies declared by the latest file for each loader.
Required 1
Use cases
Building a mod on shared code
A mod author can depend on VampireLib instead of rewriting registry, GUI and datagen helpers in each project.
Who it’s for: Mod developers who want ready-made base classes for villagers, wood types and registration, and players who run mods that depend on it.
How it compares
Registry Library needs only the server, with clients optional, and is under the MIT License for 1.19.2 – 1.20.2 on Fabric. Farest's API runs on client and server under the GNU Lesser General Public License v3.0 only, with files for 1.21 – 1.21.10. Exthylanes Extra Stuff is a client and server Fabric mod for 1.20.1 only and is not open source, as its All rights reserved license shows.
| Mod | Loaders | Game versions | Environment | Updated |
|---|---|---|---|---|
| VampireLib | Fabric | 1.16.4 – 1.20.1 | Client and server | 2023-07-10 |
| Registry Library | Fabric | 1.19.2 – 1.20.2 | Server required, client optional | 2023-12-01 |
| Farest's API | Fabric | 1.21 – 1.21.10 | Client and server | 2025-12-14 |
| Exthylanes Extra Stuff | Fabric | 1.20.1 | Client and server | 2026-05-10 |
Questions
Does VampireLib need Fabric API?
Does the server need VampireLib installed?
Which game versions does VampireLib support?
In the catalog
VampireLib is one of 3,514 Library mods on ModsFinder, and one of 2,348 Library mods for Fabric. 34,764 mods support Minecraft 1.20.1.
More from oliviathevampire
Similar mods
What the author says
# Library mod for all Vampire Studios Fabric mods.
Official listing
- Modrinth page
- modrinth.com/mod/vampirelib
- Owner
- oliviathevampire
- Published
- 2020-11-07
- Updated on Modrinth
- 2023-07-10
- Facts verified
- 2026-10-15
