
VectorLib
VectorLib is a multiloader development library by Artyrian for making mods that are easy to compile between major mod platforms. Often times, if a mod is made by Artyrian directly, you'll need to use this library.
While not directly meant for anyone else to use, you're welcome to use it for your projects, if you'd like! If that interests you, feel free to read below!
Features
Vector has several special capabilities that ease the process of making cross-loader mods, including:
VectorLootMod: A loader-independent solution to replacing & modifying existing loot tables - even modded ones!- Allows replacement of existing loot tables, or modifying pools in them instead
- Works on both Fabric & NeoForge, without breaking either of their native loot table modification systems!
VectorNetSync: A straightforward solution to adding new data to vanilla entities that syncs across clients when they start tracking an entityVectorEventSync: Registers events (such as sound plays & particle emissions) that can be called from either server or client, and will sync between themVectorPropertyReg: An all-in-one, loader-independent solution for adding item properties for common vanilla interactions, such asFuel: Furnace fuels (even shows up in recipe viewers!)Fire: Fire spreading propertiesCompost: Compost values (even shows up in recipe viewers!)
VectorToolActions: Allows defining actions for many common vanilla tool actions, such as:Shovel: Allows defining custom path creation on right clickHoe: Allows defining custom farmland creation on right clickAxe: Allows defining custom strippable creation on right click
VectorSplash: A system that allows you to define your own splash texts, without overriding vanilla ones! There's several options:- Provide a textfile with a
ResourceLocation - (Not recommended but exists anyway) Provide a
Stringfor a single text - Provide your own custom class extending
SplashRenderer, with custom condition definition! Perfect for things like holidays, birthdays, uniquely drawn splashes, etc.
- Provide a textfile with a
Special thanks to the following for their help:
- Yirmiri (creator of RunicLib)
- Hecco (creator of NexusLib)
- Jaredlll08 (creator of the Multiloader Template that facilitated this job)
This project is in no way affiliated with Mojang.

