This version of Traincarts builds upon previous release in January, fixing a lot of bugs that were reported over that time period.
Included is a new and improved rail physics API that breathes life into
TC Coasters, a new add-on for Traincarts.
Please check out the new Spigot page for more details!
New features are implemented for the attachment editor to make it even more powerful. You can now duplicate nodes, change the order of nodes, have bogie tracked models and baby scale item models.
No longer will players move trains that have a custom length set when walking besides it. These unwanted collisions due to Minecraft's poor collision code are filtered out now.
Performance wise a lot of stuff happened. Most notably, you can now disable block collisions for trains entirely. This is not only useful to stop trains from being stopped by blocks, it also helps performance tremendously. Using BKCommonLib 1.12.2-v5 is strongly recommended.
Important note when updating: after updating your train models will look weird or distorted. This is because the pivot point, basically around what point the node rotates, was changed to better match Minecraft behavior. You can correct these distortions using
/train upgradesavedtrains.
Changes
General
- [Improved] Rail logic rewrite to enable functionality that will be provided by TC Coasters
- [Added] Block collision property
- [Added] Display a message when path finding fails to find a destination
- [Added] Suffocation property, to turn on/off damage to players when inside a solid block
- [Added] Resource pack configuration option
- [Added] Destroy on shutdown config.yml setting, to purge all trains during restarts
- [Added] Save and restore minecart entity properties, such as items and the set command, when spawning (SavedTrainProperties)
- [Added] Small (baby armor stand) item attachment mode options
- [Added] /train chest command gives an interactive item for storing and spawning trains
- [Added] Saved train modules. Makes importing and exporting saved trains easier
- [Fixed] Chest minecarts not interactable
- [Fixed] Signs not triggered sometimes when a train with wheel distance is used
- [Fixed] Fixed errors related to unloaded minecarts
- [Fixed] Fixed an error that occurred during network synchronization
- [Fixed] Ghost trains created that don't actually exist
- [Fixed] Train teleportation not teleporting the passenger correctly
- [Fixed] Don't collide with entities on the side of trains with a custom length
- [Fixed] DestroyAll not setting a flag to make chunks save, causing carts to re-appear after a reload
- [Fixed] Detector regions having problems with trains that use wheel distance
- [Fixed] Station sign levers now go down instantly when starting to launch, instead of when train leaves station
- [Fixed] Some permission nodes had a typo and started with 'tran' instead of 'train'
- [Fixed] Elevator sign not teleporting trains up/down to non-standard rail types
- [Fixed] Some tags not matching correctly, added [email protected] enter direction statement
- [Removed] legacyVerticalGravity setting (broken)
Attachment Editor
- [Added] Small (baby armor stand) item attachment mode options
- [Added] Duplicate button in attachment editor (thanks to MinePlayer64)
- [Added] Change order implemented in attachment editor
- [Added] Attachment anchor property in position options: make attachment front/back wheels controlled
- [Added] Hold shift in attachment editor to move around
- [Fixed] Dropping items in the attachment editor menu did not preserve display name, enchantments, unbreakable
- [Fixed] Attachment editor now refreshes when changing the cart being edited
- [Fixed] Attachments now correctly pivot around the base coordinate (changes height/position of attachments!) This means saved trains will no longer look correctly. To fix, use /train upgradesavedtrains.
Performance
- [Added] Entity and block collision property improve performance when disabled
- [Fixed] Better error handling where a misbehaving add-on caused error spam
- [Fixed] Improve performance by only detecting nearby minecarts once when spawning (linking)
- [Fixed] Improve performance of chunk tracker
- [Fixed] Improved performance of mutex zones and wait distance property