Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[fabric] Infrared packet portal teleportation not working? #108

Open
Sturmlilie opened this issue Jun 18, 2020 · 3 comments
Open

[fabric] Infrared packet portal teleportation not working? #108

Sturmlilie opened this issue Jun 18, 2020 · 3 comments

Comments

@Sturmlilie
Copy link

I tested infrared packets flying through a nether portal in 1.14-fabric and couldn't get it to work (on dedicated server), but I'm not sure yet if it's due to the chunk I'm currently not in being immediately unloaded; this will require additional testing.

Since 1.16 completely overhauled how dimensions work and Fabric has a special API just dealing with teleportation at the moment, I might attempt fixing it starting in this version.

@fnuecke
Copy link
Member

fnuecke commented Jul 27, 2020

Right, pretty sure it's broken. My test being to have a receiving IR module behind the portal. And it still got the packet.

I also have a pretty good idea why this is... the collision raytrace uses Raytracing::intersectIgnoringTransparent. Pretty sure portal blocks are transparent. So this was probably broken for a while now...

Edit: well, that's part of it at least. Teleportation itself is broken, too. Got it kinda working, but for some reason the packets pop out in the inverse direction than they should now. More digging required.

@fnuecke fnuecke added the bug label Jul 27, 2020
@fl215
Copy link

fl215 commented Aug 8, 2021

Right, pretty sure it's broken. My test being to have a receiving IR module behind the portal. And it still got the packet.

I also have a pretty good idea why this is... the collision raytrace uses Raytracing::intersectIgnoringTransparent. Pretty sure portal blocks are transparent. So this was probably broken for a while now...

Edit: well, that's part of it at least. Teleportation itself is broken, too. Got it kinda working, but for some reason the packets pop out in the inverse direction than they should now. More digging required.

When is this ever gonna be fixed?

@UQuark
Copy link
Contributor

UQuark commented Apr 19, 2024

I just thought we may work around portal facing issue.
AFAIK we have no easy way to predict or influence facing rules applied when portal is being generated.
So let's pretend nether portal is some sort of half-transparent quantum mess so that each infrared photon shot into the portal has 50/50 chance to come out facing any of the two sides. Since each packet is made of a bunch of photons, two packets exit in opposite directions on the other side of the portal.
It will also be a satisfactory and predictable behavior for a newcomer even if they think they simply guessed the right side.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants