Includes a couple of bugfixes and animations!
Highlights
- Adds attachment animations
- Fixes a bug that caused minecarts to reset and lose their properties
Changes
- [Added] Attachment animations, animation sign and command. Rotating wheels, spinning carts or other interesting things are now possible to make
- [Added] Tooltips for the attachment editor icon buttons
- [Added] Entity types in attachment editor selection menu now sorted alphabetically
- [Fixed] Minecarts not performing a post-tick sometimes, causing them to be saved in the wrong chunk and go missing
- [Fixed] Chunks that load and unload in the same tick caused minecarts to lose attachment
- [Fixed] Ticket items were not working on 1.13 and later
- [Fixed] Ticket realm property was not preserved after a restart
- [Fixed] Display warning in server log when fire-physics-event-for-redstone is false, as it causes the plugin to break
- [Fixed] Teleporting away when inside a Minecart did not work
- [Fixed] Default seat for horse and boat entities were broken
- [Fixed] Repeater powering signs when it should not be (facing check)
- [Fixed] Very sharp turns in flexible rails (tc-coasters) could not be traversed by trains
- [Fixed] Very rarely network controllers stayed behind because of an error, leaving indestructible ghost trains
- [Fixed] Incorrect orientation logic for minecarts that are derailed
- [Fixed] Certain blocks like hoppers were not recognized as a valid base, causing tracks to switch to upside-down mode when it should not
- [Fixed] Orientation not always preserved when teleporting trains using portals or elevators
- [Fixed] Legacy speed limiting not working in curves
- [Fixed] Slow horizontal rotation of item models looked twitchy because of yaw overshoot being corrected by armorstand pose
- [Fixed] Error when invoking /train attachments from console
- [Fixed] Performance improvements:
- Reduce cache map lookup overhead for rail types and signs
- Perform one less block type lookup per regular rail traversed
- Avoid creation of redundant Vector objects
- Speed up AABB face logic for common directions (e.g. dx=0 dy=0 dz=1)
- Faster, lower-accuracy atan2 for banking angle, since high accuracy is not needed
- Simplify 'isOrientationInverted' logic to check whether moving in reverse or not