How to create a portal?

Discussion in 'Plugin Development' started by Borch, Feb 11, 2011.

Thread Status:
Not open for further replies.
  1. Offline

    Borch

    So I'm working on making a nether plugin that will try to reproduce the SSP portals etc.
    I got it working up to the point where it scans for a matching portal in the other world and tries to create one, if there is none. I get the obsidian border of my portal, but trying to .setType(Material.PORTAL) on the blocks inside the portal doesn't have any effect, there's still just air, so the portals I create with my code do not appear "active".
    How to get this to work?
     
  2. Offline

    retsrif

    Why don't you try checking out the WarpGate source code?
     
  3. Offline

    Borch

    Thanks, I took a brief look at it; the solution is simple: Just set fire inside the frame. :)
     
Thread Status:
Not open for further replies.

Share This Page