1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
Dismiss Notice
Wynncraft, the Minecraft MMORPG. Play it now on your Minecraft client at (IP): play.wynncraft.com. No mods required! Click here for more info...
Dismiss Notice
Have some great ideas for Wynncraft? Join the official CT (content team) and help us make quests, builds, cinematics and much more!

World [162 Supporters | ~94% Agrees ] Mage Teleport Location Should Be Calculated Through 1.13 Ray-casting

Discussion in 'General Suggestions' started by Runaiic, Dec 16, 2018.

?

yaya?

  1. yay

    172 vote(s)
    85.6%
  2. non

    10 vote(s)
    5.0%
  3. wat

    19 vote(s)
    9.5%
Thread Status:
Not open for further replies.
  1. Runaiic

    Runaiic t

    Messages:
    114
    Likes Received:
    165
    Trophy Points:
    61
    Ok then
    thank you
     
  2. Ticxo

    Ticxo 5EHP Divzer Enjoyer HERO

    Messages:
    64
    Likes Received:
    38
    Trophy Points:
    49
    Minecraft:
    So it is something like this, which existed for a long time. I believe the developers are actually using this code to simplify stuff.

    This is the code for ray-casting FYI: (haven't checked, might be wrong, don't kill me)

    Code:
    private Location getTargetBlock(LivingEntity entity, double range){
        Location eLoc = entity.getEyeLocation();
        Vector dir = eLoc.getDirection();
    
        return eLoc.addVector(dir.multiply(range).normalize());
    }
     
  3. Runaiic

    Runaiic t

    Messages:
    114
    Likes Received:
    165
    Trophy Points:
    61
    to be honest, i have no idea what that is.
     
  4. Runaiic

    Runaiic t

    Messages:
    114
    Likes Received:
    165
    Trophy Points:
    61
    UNEXPECTED BUMP!!
     
    TheRelicHunter likes this.
  5. PrimaNocta

    PrimaNocta Well-Known Adventurer

    Messages:
    175
    Likes Received:
    271
    Trophy Points:
    51
    this is actually one of the best suggestions ive ever seen
     
    Runaiic and TheRelicHunter like this.
  6. StormKing3

    StormKing3 Famous Adventurer

    Messages:
    1,816
    Likes Received:
    751
    Trophy Points:
    117
    Guild:
    Minecraft:
    It's all very nice, but may you please explain to me what real use this will do. Becuase surely then you would have to aim directly at a block instead of just in the air and teleport 30 blocks or so ahead.

    Very nicely written suggestion though, I commend you on that
     
  7. blegar1

    blegar1 Well-Known Adventurer CHAMPION

    Messages:
    158
    Likes Received:
    163
    Trophy Points:
    67
    Minecraft:
    Probably lead to less /kills to get out of the blocks. And lead to less messages telling you that you can't teleport in that direction. Also the air does count as blocks so wouldn't be that bad.
     
  8. Runaiic

    Runaiic t

    Messages:
    114
    Likes Received:
    165
    Trophy Points:
    61
    and being able to teleport easier underwater. and you can teleport near blocks now.
     
  9. blegar1

    blegar1 Well-Known Adventurer CHAMPION

    Messages:
    158
    Likes Received:
    163
    Trophy Points:
    67
    Minecraft:
    added effect of 1.13 update then, underwater combat.
     
  10. Runaiic

    Runaiic t

    Messages:
    114
    Likes Received:
    165
    Trophy Points:
    61
    I totally forgot to address this question.
    If the ray emitted does not hit anything after a certain radius, it should teleport you into the air (like it currently does), but it would be more intuitive as current air teleport behaviour is a little tricky and sometimes you will teleport to a block if you aim at the air.
     
  11. hppeng

    hppeng 0 intel is the correct amount of intel HERO

    Messages:
    1,243
    Likes Received:
    2,007
    Trophy Points:
    153
    Guild:
    Minecraft:
    This would also allow flying out of the map with relative ease
     
  12. seeksery

    seeksery Wybel Photographer HERO

    Messages:
    637
    Likes Received:
    1,361
    Trophy Points:
    146
    Minecraft:
    what's preventing us from flying out the map currently
     
    NITEHAWKX and hppeng like this.
  13. hppeng

    hppeng 0 intel is the correct amount of intel HERO

    Messages:
    1,243
    Likes Received:
    2,007
    Trophy Points:
    153
    Guild:
    Minecraft:
    Now that you think about it I don't know

    Maybe they did put barriers lol, but the whole flying upwards 20 blocks in one click is kinda.... eh overpowered?
     
    seeksery likes this.
  14. seeksery

    seeksery Wybel Photographer HERO

    Messages:
    637
    Likes Received:
    1,361
    Trophy Points:
    146
    Minecraft:
    Fair point
     
  15. Runaiic

    Runaiic t

    Messages:
    114
    Likes Received:
    165
    Trophy Points:
    61
    I once tried to break out of the map using Escape, but once I got to a certain point I couldn't go any further. Even with this it won't be possible.

    Noted. Edited suggestion with a 60 degree limit. Instead of cancelling your teleport, it should instead set it to 60 degrees Y (slightly above the current limit) then calculate where the block hits.
     
  16. Nukewarmachine

    Nukewarmachine emerald tier above LE when VIP

    Messages:
    1,531
    Likes Received:
    3,982
    Trophy Points:
    164
    Guild:
    Minecraft:
    What if there is a fence post or wall block in front of the player and the player uses teleport?
     
  17. seeksery

    seeksery Wybel Photographer HERO

    Messages:
    637
    Likes Received:
    1,361
    Trophy Points:
    146
    Minecraft:
     
  18. Runaiic

    Runaiic t

    Messages:
    114
    Likes Received:
    165
    Trophy Points:
    61
    1 more support for 100 supporters:

    we reached it boys
     
    Last edited: Aug 11, 2019
  19. Papa Cthulhu

    Papa Cthulhu CEO of the Corkus Trading Company VIP

    Messages:
    84
    Likes Received:
    76
    Trophy Points:
    55
    Minecraft:
    Seems highly possible but will probs take some rewriting of the spell
     
  20. RedMonkeyFace

    RedMonkeyFace "Ill make my application next week" VIP+

    Messages:
    39
    Likes Received:
    28
    Trophy Points:
    49
    Minecraft:
    cool idea, i actually thought of this to, but wynncraft most likely uses plugins for player related things and command blockers would be used for quests, puzzles, NPC text and armorstand animations, thats why im not interested in applying, animations and puzzles are tedius to make and are just not as exiting as making an adventure map, for example.
     
Thread Status:
Not open for further replies.