Jump to content

nos951

Members
  • Posts

    3
  • Joined

  • Last visited

Converted

  • Gender
    Male
  • Location
    Switzerland

nos951's Achievements

Tree Puncher

Tree Puncher (2/8)

0

Reputation

  1. Yes my real entity change speed and move on different axis, but for this problem I've create this simplified entity for find a solution, and I saw that have the same problem. I've tried to set on both side the same speed, always for test, but the desync when I load the game, while the entity is moving, the two position are different. For the randomId I've never changed after following a guide a long time ago. Ok I've saw now, but if I put for example 0 the result doesn't change. Thank for letting me know.
  2. Any suggestion? :'(
  3. Hi everyone, I have a problem with my entity. My entity move on a path with .setPosition(), but it happens that the position don't match between server and client. If the spawn my entity and that start moving, the position is the same or approximately. But if I go out and return in the game, when the entity is moving, the position is more different, like 1 cube, and then I have difficulty to interact with them. The code for setPosition() is running on both side, otherwise the entity doesn't move or is not smooth(stop and go), only the "speed" is synced with datawatcher. I’ve see the code of Minecart but I don’t understand how it does it, considering that in the client side make only setPosition(this.posX, this.posY, this.posZ). I think I miss something. There is my code simplified: Entity: Register Entity in preInit() Someone knows what is the problem or what I missing? Thanks and sorry for my english, Nos951
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.