跳到正文

VectorLib

作者:Artyrian

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 支持哪些 Minecraft 版本?

VectorLib 支持 Minecraft Java 版 1.21.1,可用的加载器:Fabric / NeoForge。下载时注意选择和你游戏版本一致的文件。

VectorLib 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric / NeoForge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。

评论

登录后评论和评分

Artyrian 的其他作品

查看全部 →