Skip to content

Miscellaneous

qouteall edited this page May 27, 2022 · 36 revisions

Could a Server with This Mod Work with Vanilla Client?

No. Because

  • Networking protocol differences. This mod allows the client to load multiple dimensions at the same time, while vanilla only allow one dimension to be loaded at the same time. The vanilla networking packets does not discriminate between different dimensions, so Immersive Portals change the networking protocol to discriminate between dimensions. (It's theoretically possible to automatically adjust to networking protocol differences, but it would be very complex and error-prone so it's not worth the effort)
  • This mod's portals are more flexible than vanilla. This mod's portal can be in any shape and can be tilted. Vanilla portal blocks cannot represent that.

Could a Client with This Mod Work with Vanilla Server?

A client with this mod should be able to join a vanilla server (if not, report the issue).

However, if the server does not have this mod, then the server does not send chunk data in remote dimension to client, so client cannot render the see-through portal.

Could a Portal Link to Another Server?

No. Inter-server portals require sending packets across servers, cross-server visibility check, a cross-server dimension id system, and entity transfer between servers. It's very hard to implement.

OptiFine Compatibility

In MC 1.18 and above, this mod is incompatible with OptiFine. Because OptiFine is not open-source, debugging with OptiFine is very hard. It's recommended to use Sodium and Iris. Check this

In older MC versions, this mod is problematic with OptiFine so it's not recommended to use this mod with OptiFine.

Iris Compatibility

In MC 1.18.x, the latest version of ImmPtl is roughly compatible with the combination of Iris 1.2.0 and Sodium.

In MC 1.17.1, the latest version of ImmPtl is roughly compatible with Iris 1.2.4.

Following things cannot be correctly rendered with shaders:

  • Semi-transparent things (e.g. stained glass) in front of the portal. (Due to that, all mirrors will cover the glass texture with shaders on)
  • Portal overlay
  • Fuse-view portals
  • Cross portal entity rendering.
  • Temporal Anti Aliasing (TAA) when a portal is in view
  • Motion Blur when a portal is in view
  • World Curvature with portals

SEUS PTGI shader is incompatible.

Why is the Forge Version Unsupported?

Because this mod is just a hobby project. Maintaining the Forge version turns out to be dull and tiresome. Forge's Mixin support is poor. And the Forge community is not friendly to coremodding. This mod is in Apache 2.0 license and anyone can port it to Forge.

(There is a very small chance that I restart supporting the Forge version.)

What Happens if I Remove ImmPtl?

All see-through portals will vanish. Even if you re-install ImmPtl, the portals cannot recover. (Portals in unloaded chunks may remain.)

Vanilla nether/end portals still exist. Dimension stack bedrock replacement will not work.

Can Fluid, Redstone and Light Work Across a Portal?

No. This mod's portal supports scaling and rotation transformation. The portal can be in anywhere and be in any orientation. It's hard to imagine how redstone signal transfers when the blocks are not aligned.

2022-02-11_22.07.25.png

But you can use entities to carry signals through a portal. For example, an item dispenser on one side and a hopper on the other side.

Although it's possible to implement cross portal redstone and fluid when the portal is aligned with blocks, it would be very hard to implement. And cross-portal redstone machines won't be stable because of the chunk loading delay.

About lighting: The nether portals by default has glowstone-level lighting. For custom portals, you can put lights behind the portal to make it looks seamless.

Upgrade a World that Have Immersive Portals Things

For example if you have a world in MC 1.15.2 that contains immersive portals, and then you want to upgrade the world to 1.18.2, then you need to firstly upgrade to 1.16.5 then 1.17.1 then 1.18.2. Otherwise the portals may get lost.

How to Allocate More Memory to the Game

Portals may load many chunks at the same time. If the game does not have enough RAM, it may lag extremely due to GC. Minecraft by default only allocate the game 2GB memory even if your computer have more memory. You can allocate more memory to the game:

Open the launcher. Click "Edit" for the game installation:

image.png

Then click "More Options", you will see the JVM arguments. For example, if your PC has 8GB RAM, then you can allocate 4GB memory to the game. So change -Xmx2G to -Xmx4G. Then click "Save".

image.png