Vtil is a library mod that provides multiple useful APIs related to VS.
Current API includes:
- Assemble API
- Assemble ships with extra mod compatibility (e.g. assemble Create contraption)
/vtil assemblecommand
- Connectivity API
- Provides extra information about block connectivity on ships, which can then be used in Assembly and/or ship split.
- By default only check if two blocks are direct neighbour, mod makers can implement
IBlockAnchoron their blocks to define their own block connections.
- Teleport API
- Teleport valkyrien ships to another dimension with conserved velocity and omega.
- Teleport an entity and its passengers all together to another dimension, with extra mod compatibility.
Add the maven repo:
maven {
name = "LiterMC maven"
url = "https://litermc.github.io/maven/"
content {
includeGroupAndSubgroups("com.github.litermc")
}
}Fabric:
modImplementation "com.github.litermc.vtil:vtil-fabric-${minecraft_version}:${vtil_version}"Forge:
implementation fg.deobf("com.github.litermc.vtil:vtil-forge-${minecraft_version}:${vtil_version}")