Jump to content

Recommended Posts

Posted

I've tried looking on this website as well as many others, but I cannot seem to find an answer for this. I was hoping to create a portal similar to one for the Nether using different blocks instead of Obsidian. I already have created a dimension, but the only thing that is missing is the portal for said dimension.

 

Please let me know if there is a way I can do this!

Posted

the portal is just a block that when the player is inside, teleports him to the nether dimension
you can look at the vanilla source code to see how it's done

Posted
10 minutes ago, s0meg said:

Do you have a specific class I could start with?

take a look at the PortalSize class, the Teleporter class and the NetherPortalBlock class

Posted
On 6/17/2021 at 10:58 AM, Luis_ST said:

take a look at the PortalSize class, the Teleporter class and the NetherPortalBlock class

Aight thanks mate!

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.