Make a portal?

Discussion in 'Plugin Development' started by Eclipse_Minecraft_Coder, Jul 5, 2017.

Thread Status:
Not open for further replies.
  1. I've made some portals on my Minecraft server - Except there's one problem. How do I get them to work without command blocks? Keep in mind that I want to code them in a plugin, preferably.

    Thanks, Eclipse_Minecraft_Coder
     
  2. Offline

    timtower Administrator Administrator Moderator

    @Eclipse_Minecraft_Coder Check if the player is in a certain area.
    If so: teleport

    xMin < playerX < xMax
    yMin < playerX < yMax
    zMin < playerX < zMax
     
  3. I'm a newbie. How?
     
  4. Offline

    timtower Administrator Administrator Moderator

    @Eclipse_Minecraft_Coder Start by storing 2 locations.
    One where the values are the smallest of the 2, one where the values are the largest of the 2.
     
Thread Status:
Not open for further replies.

Share This Page