Solved Making custom entityplayer move?

Discussion in 'Plugin Development' started by kameronn, Jan 28, 2017.

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

    kameronn

    I currently have a EntityPlayer spawned in but I'm not sure how to make it move. EntityPlayer.move doesnt seem to work, and actually nothing works, not teleporting them after they've spawned in. Do I have to spend a packet everytime they move? And if I do what packet?
     
  2. Offline

    kameronn

    @AlvinB
    Sorry I'm a bit new to packets, is the class "PacketPlayOutRelEntityMove"?
    Also if it is, is there any alternative because when I do use this class, I get a
    NoSuchMethodError
     
  3. Offline

    Zombie_Striker

    @kameronn
    How can you get a NSMException if you are just creating a new object? Are you trying to invoke a method? Post your code.
     
  4. EntityPlayer, is basically a player, hence the player part. It should be able to have its velocity set.


    Sent from my iPhone using Tapatalk
     
Thread Status:
Not open for further replies.

Share This Page