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 [70 Supporters | ~86% 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

    74 vote(s)
    87.1%
  2. non

    5 vote(s)
    5.9%
  3. wat

    6 vote(s)
    7.1%
  1. Behem07h

    Behem07h Skilled Adventurer

    Messages:
    22
    Likes Received:
    20
    Trophy Points:
    30
    Just as a FYI, raycasting has existed way before 1.13. I believe it existed as old as 1.8 (armorstand raycasting), although it wasnt usually as accurate as 1.13’s raycasting using the relative directions since there needed to be a set of command blocks for each direction. By 1.9 it already became much more efficient too, since there were the 3 types of command blocks added.
     
    Runaiic likes this.
  2. Stormarend

    Stormarend Toa of Earth

    Messages:
    1,199
    Likes Received:
    1,775
    Trophy Points:
    153
    Minecraft:
    Nah because people have already voted it so then it would be counted as +0.5 support even if the person who chose that option didn't intend it to.
     
  3. Bluescreen

    Bluescreen Also known as boatscreen

    Messages:
    2,082
    Likes Received:
    2,605
    Trophy Points:
    186
    Minecraft:
    Great idea, I mostly play mage so
    I GET STUCK A LOT
    Thanks, random holes. Thanks, COTL trees.

    Also that art is magnificent
     
  4. Runaiic

    Runaiic Well-Known Adventurer

    Messages:
    71
    Likes Received:
    78
    Trophy Points:
    51
    Ok then
    thank you
     
  5. Runaiic

    Runaiic Well-Known Adventurer

    Messages:
    71
    Likes Received:
    78
    Trophy Points:
    51
    BUMP! This suggestion is nearing 70 supporters!
     
  6. GlacierHero

    GlacierHero Doppelganger of him VIP+

    Messages:
    65
    Likes Received:
    31
    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());
    }
     
  7. Runaiic

    Runaiic Well-Known Adventurer

    Messages:
    71
    Likes Received:
    78
    Trophy Points:
    51
    to be honest, i have no idea what that is.
     
  8. Runaiic

    Runaiic Well-Known Adventurer

    Messages:
    71
    Likes Received:
    78
    Trophy Points:
    51
    UNEXPECTED BUMP!!
     
    TheRelicHunter likes this.
  9. Runaiic

    Runaiic Well-Known Adventurer

    Messages:
    71
    Likes Received:
    78
    Trophy Points:
    51
    We reached 70 supporters! Hurrah!
     
  10. PrimaNocta

    PrimaNocta Skilled Adventurer

    Messages:
    160
    Likes Received:
    224
    Trophy Points:
    36
    Guild:
    this is actually one of the best suggestions ive ever seen
     
    TheRelicHunter likes this.