Development Assistance Instant ArmorStand teleportation.

Discussion in 'Plugin Help/Development/Requests' started by 8jy89hui, Jun 7, 2015.

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

    8jy89hui

    I was wondering if it is possible to instantly teleport an ArmorStand to a location? (Without that "smooth" dragging motion that occurs atm). I have tried many different things, even so far as to use NMS as such:
    Code:
    CraftArmorStand cas = (CraftArmorStand) armorStand;
            net.minecraft.server.v1_8_R1.Entity entity = cas.getHandle();
            entity.locX = location.getX();
            entity.locY = location.getY();
            entity.locZ = location.getZ();
            entity.yaw = location.getYaw();
            entity.pitch = location.getPitch();
    I have not tried packets yet. Would they work?

    TL;DR: Is there a way to instantly teleport a ArmorStand to a location? If not are there any mobs that allow instant teleportation?
     
  2. Offline

    poepdrolify

    @8jy89hui There should be one, Hypixel did this in Turbo kart racers. All de karts are armorstands with a block as head
     
  3. Offline

    8jy89hui

    @poepdrolify
    Mhmm I am not sure because their carts dont teleport to exact locations, they glide (what I dont want to happen).
     
  4. Online

    timtower Administrator Administrator Moderator

    Moved to Bukkit alternatives
     
  5. Offline

    8jy89hui

    @timtower Why? Is Craftbukkit not considered Bukkit material? If so then why do you have a giant tab saying "Get CraftBukkit" above and not a tab saying "Get Bukkit"?

    If the NMS is the reason for the switch: Why? NMS is still included in the classes provided by your download. This is not an "alternative" if it is provided inside your craftbukkit.jar as a possible tool.

    EDIT: I am not trying to be confrontational, I am simply trying to understand.
     
    Last edited: Jun 8, 2015
  6. Online

    timtower Administrator Administrator Moderator

    @8jy89hui Armorstands are 1.8, Bukkit never released 1.8
    The Get Craftbukkit tab leads to the wiki, the wiki tells that you can't get it from us.
     
  7. Offline

    8jy89hui

    @timtower Oh.. I swear I got my download from this site but I may be wrong.. Thank you.
     
Thread Status:
Not open for further replies.

Share This Page