<!-- wiki:sidecards W3sia2luZCI6ImFkZG9uIiwidGl0bGUiOiJWTGliIiwiaW1hZ2UiOiIiLCJmaWVsZHMiOlt7ImtleSI6ImxvZ28iLCJsYWJlbCI6IkxvZ28iLCJ2YWx1ZSI6IlZMaWJMb2dvLnBuZyJ9LHsia2V5IjoiYXV0aG9yIiwibGFiZWwiOiJBdXRob3IiLCJ2YWx1ZSI6IkdfTXVuZ3VzIn0seyJrZXkiOiJtY3ZlcnNpb25zIiwibGFiZWwiOiJNaW5lY3JhZnQgdmVyc2lvbnMiLCJ2YWx1ZSI6IjEuMjAuMSJ9LHsia2V5IjoibG9hZGVyIiwibGFiZWwiOiJNb2QgbG9hZGVyIiwidmFsdWUiOiJGYWJyaWMsIEZvcmdlIn0seyJrZXkiOiJkb3dubG9hZGxpbmsiLCJsYWJlbCI6IkRvd25sb2FkIiwidmFsdWUiOiJWTGliIGRvd25sb2FkIn1dfV0 -->
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 |
