#Modified Lexxie's Custom Nether Portal

20 messages · Page 1 of 1 (latest)

boreal pewter
#

Working on Forge 1.19.2

This is a modified version of Lexxie's Custom Nether Portal script.

The idea of this script was -- instead of using fun / fancy shapes, to simply have the ability to use a custom block, but retain the general shapes that a vanilla portal can be.

This should work on any shape/size up to 32 by 32 (Line 5/6)
It needs to be a minimum of 2x3 though (Line 104)

@bronze basin made all the edits, and asked if I could post the script here.

There is 1 issue that I havent been able to reproduce -- where sometimes the shape won't light. Either a /reload or server restart seems to fix it. Not sure what caused it.

quick idolBOT
#

Paste version of customnetherportal.js from @boreal pewter

ancient ravine
#

Damn is this the thing I was working on but never finished

quick idolBOT
#

[Quote ➤](#off-topic message) Custom dimension portal api made in kjs lol

boreal pewter
#

Now thanks to Quentin, it's finished 😄

ancient ravine
#

Oh is this nether portal only

#

It’s different then

compact narwhal
#

Nice, I've always wanted something to do this for years. An obsidian structure is no challenge in modded (or indeed vanilla)

boreal pewter
#

Haha, definitely won't be super easy to get in, in my pack.

Gotta do some things in Botania, Occultism, Immersive Engineering, Mob Grinding Utils, and Create 😅

Yeah, I am really glad that this script was able to get off the ground. Super appreciate both Lexxie for making it, and Quentin for the edits, and teaching.

compact narwhal
#

What happens Nether end? Do you still get an obsidian portal, or does a custom one get generated?

boreal pewter
#

Yeah, unfortunately at the opposite end -- it's still an Obsidian portal. No idea how that could get replaced.

You could just break it though and build your own custom block portal in it's place.

bronze basin
#

if you demand consistency, you could modify this script (again) then make it so that igniting fire doesn't do anything but throwing a certain item in the fire on the obsidian is what triggers it and the frame is still obsidian

compact narwhal
#

Shame, really wish Mojang would have a dedicated Nether Portal Frame block, would make things so much easier to customise to preference/mod packs. Obsidian blocks are not a challenge anymore.

bronze basin
#

well I bet if someone made a mod for this it to would probably be not too hard, it's just that KubeJS is not designed for this sorta thing

split iris
#

it shouldn't be too difficult to check when a player goes through a portal, if they end up standing on obsidian, change all obsidian blocks bordering portals frames to this new border block. Then again it might be a tag laggy doing those checks every time. Still worth a shot a t some point

fringe aspen
#

I love this script! I found that obsidian also works, alongside the custom block I have assigned. Is there a way to modify the code so that obisidian does not work?

boreal pewter
quick idolBOT
#

Paste version of netherportal.js from @boreal pewter

thorny pivot
#

is there a way to make custom igniter for Nether Portal?

boreal pewter
#

maybe but I dont know about that one. xD