add PortalRail block and portal crossing - #266
Conversation
|
accidentally fixes #259 |
|
Converted to Draft as the the new 1.21.1 main branch hat major changes not compatible with the current branch |
|
quick design question on the portal rail. right now placeDestinationPortalRail finds the destination rail spot by grabbing the nearest portal block via findClosestPortalPosition and placing the exit rail relative to that column. works fine when both portals are the same size, but if they're different sizes (say 3x3 vs 2x3) it doesn't line up with where the train actually comes out, since it's not doing the same relative-position mapping vanilla does for entity teleport across mismatched portal shapes. 6 ways i can see to handle it: id prefer 6 or 4 |
Adds PortalRail, a new rail block auto-placed on both sides of a nether portal when any rail is placed adjacent to one. Paired rails are linked; destroying either side removes both.
locomotives pull their full train through a portal wagon by wagon, with forced velocity propagation and consist reconnection on the destination side.