Wiki

VLib

VLib is a library mod for Valkyrien Skies that provides many utilities for players, modpack makers, and mod developers.

Updated 4 months agoby Community
History

VLib is a library mod for Valkyrien Skies that provides many utilities for players, modpack makers, and mod developers.

For Players / Modpack Makers

  • VS Player Collision Bug Fix: Going through tight vertical spaces such as trapdoors on ships will now behave as expected when the ship is rotated.
  • Automatic Modded Block Mass Calculation: run <code>/vlib generateMasses</code> and VLib will calculate block mass estimates for all modded blocks. It will save the masses and bundle them into a jar file in your mods folder
  • Assembly Stick: Right click on a build to instantly assemble it as a ship! (NOTE: this feature is currently incompatible with C2ME)
  • Per-Dimension Ship Gravity: Allows you to set the default ship gravity per dimension with a datapack
  • Per-Dimension Ship Scale: Allows you to set the default ship scaling per dimension with a datapack

For Developers

  • Data driven features for setting MC (or datapack) structures to generate as ships
  • VLibGameUtils provides functions for assembly (with or without blacklist), and getting and saving ship structure templates.
  • DimensionSettingsManager allows you to query or set default ship gravity and scale per dimension (via code or datapack)

Dependencies

+ 1.20.1
VLib Versions 0.1.1
Valkyrien Skies Version 2.4.11
Cloth Config Version 6.4.90
For Forge Only:
Forge Version 47.2.0+
Forge Fabric API Version 0.92.2
Kotlin For Forge Version 4.11.0
For Fabric Only:
Fabric API Version 0.92.3