MrCrayfish's Vehicle Mod

MrCrayfish's Vehicle Mod

11M Downloads

Storage trailer wont connect to the back of another storage trailer

guardian606 opened this issue ยท 7 comments

commented

im wanting to add this mod to my modpack and i wanted to make sure every thing worked before i put it in and i cant seem to get the storage trailers to connect to one another

here is a video of me trying to get it to connect

https://youtu.be/0HRF_1vCAnQ

commented

click in the center with the trailer attached

so I've tried this many times, even in different places on the trailer and all that happens is the storage trailer opening
2021-08-02_14 43 14

I've looked through the MrCrayfish working storage trailer video and found nothing but him doing the same thing I've been doing for the past HOUR and yet it still doesn't work. I've looked through this entire page and other pages in github about this issue and the answers are the same, "click in the center of the trailer attached." Could you please add detail and a screenshot of where the "center" is!?

commented

click in the center with the trailer attached

commented

@guardian606 you have to click further than the hook, towards the chest and it works. I had the same problem then figured it out!

commented

Referencing #162 as well.
This problem persists into 0.41.2 with forge versions 30.0.32 & 30.0.39. No amount of clicking on or around the trailer causes any trailer to link to the back of the Storage trailer. The player arm will swing like it does when connecting trailers to the back of the Tractor or ATV.

-As an aside Chest is missing from the Storage trailer and is also not accessible as an inventory.
During_Connecting_To_TrailerHitch
After_Connecting_To_TrailerHitch

During_Connecting_To_TractorHitch
After_Connecting_To_TractorHitch

commented

update i went down a version and its works so did something change from the old one to the new one ?

commented

I've been having the same issue as well (in MC 1.12.2) and I was a little disappointed when this wasn't fixed in the 0.43.4 version released today. So I did some investigation work comparing versions and looking through their code, and I hope you find what I found helpful.

In version 0.41.0 and before, a player could connect any trailer to the storage trailer without an issue. Then in version 0.41.1 and every successive version following, the issue is present. When I dove into the code of these versions and compared the two, I believe the issue appeared when there was a significant change to EntitySorageTrailer.class and EntityTrailer.class files and how they interacted with the raytracing of the player interaction (?) (I'm only guessing though because I only started to learn how to read code and write in C a few months ago and your mod is way more advanced than what I'm doing). I've also attached a text file that contains a timeline of the issue and your changes to your mod.

mrcrayfish notes - chest trailer.txt

commented

Fixed in 7ab005a