Class WrapperPlayServerEntityTeleport

java.lang.Object
com.github.retrooper.packetevents.wrapper.PacketWrapper<WrapperPlayServerEntityTeleport>
com.github.retrooper.packetevents.wrapper.play.server.WrapperPlayServerEntityTeleport

public class WrapperPlayServerEntityTeleport extends PacketWrapper<WrapperPlayServerEntityTeleport>
This is not for teleporting players, but for teleporting other entities the player can see - such as mobs, animals, etc. If you want to teleport a player, use WrapperPlayServerPlayerPositionAndLook instead.
  • Constructor Details

    • WrapperPlayServerEntityTeleport

      public WrapperPlayServerEntityTeleport(PacketSendEvent event)
    • WrapperPlayServerEntityTeleport

      public WrapperPlayServerEntityTeleport(int entityID, Location location, boolean onGround)
    • WrapperPlayServerEntityTeleport

      public WrapperPlayServerEntityTeleport(int entityID, Vector3d position, float yaw, float pitch, boolean onGround)
    • WrapperPlayServerEntityTeleport

      public WrapperPlayServerEntityTeleport(int entityID, Vector3d position, Vector3d deltaMovement, float yaw, float pitch, RelativeFlag relativeFlags, boolean onGround)
    • WrapperPlayServerEntityTeleport

      public WrapperPlayServerEntityTeleport(int entityID, EntityPositionData values, RelativeFlag relativeFlags, boolean onGround)
  • Method Details