nonamecrackers2 / crackers-wither-storm-mod

The official repository for Cracker's Wither Storm Mod
https://www.curseforge.com/minecraft/mc-mods/crackers-wither-storm-mod
70 stars 31 forks source link

Immersive Portals compatibility #1016

Open Asteroid4 opened 1 year ago

Asteroid4 commented 1 year ago

basically, if immersive portals forge is installed, the head portal is an immersive portal.

Asteroid4 commented 1 year ago

it might be too laggy tho

FrozenDragon0 commented 1 year ago

I get the feeling that making the bowels entrance portal look like a immersive portal would be extremely difficult or impossible to do.

MoRoN222 commented 1 year ago

The dimension-in-dimension effect that Immersive Portals gives is based on the nether portal and end portal blocks, they're basically the gateway. Doing that on an entity would, in the best case, break your game.

MoRoN222 commented 1 year ago

And here's the worst part: the Wither Storm is rotating and moving. It's impossible, like FrozenDragon0 said, to put that dimension gateway in there (as far as my common sense can guess).

Globalfirestorm10 commented 1 year ago

And here's the worst part: the Wither Storm is rotating and moving. It's impossible, like FrozenDragon0 said, to put that dimension gateway in there (as far as my common sense can guess).

Yeah, even if it was possible, it would probably take as much time as it took to make the first release of CWSM to implement this idea (which was roughly 1 year), which (at least for any dev i've seen) is obviously not worth it for a small aesthetic that's only shown when you have another mod

nonamecrackers2 commented 1 year ago

I doubt this would be possible and would need to be looked into

SuperRicky14 commented 3 months ago

Immersive portals actually already uses an entity for it's portals, and they already have built in support for moving, animating and rotating portals with commands (just tested this in 1.19.2 immersive portals forge). This pretty much means the wither storm could just create an immersive portals entity with the portals end location set inside the bowels (you can also make portals one way by just deleting the portal entities inside the bowels, but there's probably a better way of doing it), then you could reuse the same code that keeps the wither storm heads stuck to the wither storm, except just put the portal entity at the spot where the purple hole that leads into the bowels is. So it is definitely possible to have this immersive portals compat with cwsm, you just need to figure out how to keep the portals attached to the wither storm and how to set them to the wither storm's bowels, and the mod pretty much handles everything else for you.

BluePineappleGuy commented 3 months ago

then you could reuse the same code that keeps the wither storm heads stuck to the wither storm, except just put the portal entity at the spot where the purple hole that leads into the bowels is.

Harder than you think, the heads are not separate entities so they don't have a "stuck to the storm" code. Another issue is lag which would cause the portal to lag behind when the storm is moving, making it clip out of place and look very odd.