Creators-of-Create / Create

[Forge Mod] Building Tools and Aesthetic Technology
MIT License
2.9k stars 909 forks source link

Portable Interfaces on Trains fail to connect in some cases. #6731

Open MrSirSquishy opened 3 months ago

MrSirSquishy commented 3 months ago

Describe the Bug

When a train arrives at a station to connect to a storage interface(most prominently at high speeds) the connection can break. Visually, the trains interface will reach out to connect, but the grounded interface will not, and no items will be transferred.

Reproduction Steps

  1. Train must arrive at a station with appropriate storage interfaces to transfer items.
  2. (for more likely reproduction, increase the speed of the train in the config and/or power the train. In my scenario I had a train with an acceleration of 8 blocks/sec^2, a top speed of 50 blocks/sec, and a turning speed of 25 blocks/sec, as it seems the high speeds may cause inconsistency in the connection)
  3. As an additional note, powering and then unpowering the storage interface in this state will typically fix the issue.

Expected Result

Interface connects and items are transferred like normal.

Screenshots and Videos

In the following image, the train(which goes above default speed) has stopped at a station to deposit items, however since the interface did not connect and items are not transferred, it gets stuck. image

Crash Report or Log

No response

Operating System

Windows 11

Mod Version

0.5.1f

Minecraft Version

1.20.1

Forge Version

36.2.0

Other Mods

.connector Balm Bookshelf Carry On Cataclysm Collective Connector Extras Create Create Big Cannons Create Confectionary Create Enchantment Industry Create: Armor Trims Create: High Pressure Create: Steam n Rails Create_Itab_f Curios API Enchanting Infuser EnchantmentsPlus Figura Forgified Fabric API Just Enough Items Kotlin for Forge LiblPN LionfishAPI Puzzles Lib Quark Searchables Sinytra Connector Sophistacted Backpacks Sophistcated Core Terralith Valkyrien Skies 2 Zeta

Additional Context

Do a little dance it'll make you feel better

EddyWithTheBacon commented 2 months ago

I have a temporary fix for this. You need to link a train observer 1 block on either side of the train station linked rail. then place the observer 1 block away from your portable storage interface. Then get a pulse generator and put it in between the train observer and the storage interface. DONE! When the train arrives it will send a pulse for 10 ticks locking then unlocking the portable storage interface and thus updating the block allowing the link and item transfer :) Hope this helps