Compatibility
Minecraft: Java Edition
1.19
1.18
1.17
90% of ad revenue goes to creators
Support creators and Modrinth ad-free with Modrinth+Links
Creators
Details
Licensed CC-BY-SA-4.0
Published 6 months ago
Updated 6 months ago
This library allows you to perform the following operations:
- Update the wheel angle of a train and store it, taking into account the speed and direction of the train.
- Track the braking and acceleration of a train by comparing the current speed with the previous one.
- Determine the direction in which a train is turning, based on the change in the rotation of the car.
- Load parted models for a train, setting the rendering type for each model and applying a UV mirror transformation if necessary.
- Calculate the rolling and rocking of a train's cars, depending on the speed, turning angle, and mass.
The library also provides a set of utility functions for calculating smooth cubic interpolation, "pseudo-sine" calculation, vector operations, and additional functions for playing sounds.