promotional bannermobile promotional banner

VectorLib

A multiloader library for Artyrian's projects, with several functions for ease-of-access modding.

VectorLib Icon

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 entity
  • VectorEventSync: Registers events (such as sound plays & particle emissions) that can be called from either server or client, and will sync between them
  • VectorPropertyReg: An all-in-one, loader-independent solution for adding item properties for common vanilla interactions, such as
    • Fuel: Furnace fuels (even shows up in recipe viewers!)
    • Fire: Fire spreading properties
    • Compost: 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 click
    • Hoe: Allows defining custom farmland creation on right click
    • Axe: 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 String for a single text
    • Provide your own custom class extending SplashRenderer, with custom condition definition! Perfect for things like holidays, birthdays, uniquely drawn splashes, etc.

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.


Join the Discord! Twitter, I guess? This thing too lol

VectorLib Team

profile avatar
  • 2
    Followers
  • 3
    Projects
  • 200
    Downloads

More from Artyrian