Solved Disabling nether portals fast teleporting

Discussion in 'Plugin Development' started by ewized, Aug 17, 2013.

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

    ewized

    I'm writing a plugin that uses nether portals to teleport, but my math breaks when the portal decides to use fast nether portals or not. I figure if I disable fast nether portals that would fix the code. Is there a way to do that or should I do something else.
     
  2. Offline

    xTrollxDudex

    ewized
    Uhhh... I don't get it
     
  3. Offline

    dunbaratu

    okay... I parsed that English up to that point just fine - so when does it break?
    The logical parser in my head reads that as "all the time unconditionally". For any X, the phrase "when X or not" means "always".
    Can you try explaining this again?

    What's a "fast" nether portal (as opposed to a normal one)?
     
  4. Offline

    ewized

    Fast nether travel is when mojang removed the delay for nether portals. You don't have to stand in the portal and wait.
    And when the code breaks is how i based my code off of when the player stands in the portal it checks if there is a sign above the nether portal. (Physical stand in the portal) But since Mojang added fast nether switching the play is not standing in the portal but one block out side it and the code cant find the sign.
     
  5. Offline

    dunbaratu

    I was unaware that this was even a thing. I always have had to stand in the portal and wait. How do you make a nether portal do what you're describing?

    Presumably you can read the player's facing to figure out which block is in front of the player, and check above that to?
     
  6. Offline

    ewized

    I just decided to do a search and have it return a location of that sign instead of manually trying to grab it i'm setting this topic to solved now.
     
Thread Status:
Not open for further replies.

Share This Page