#Entity teleportation issues
1 messages · Page 1 of 1 (latest)
It's a display entity
infront in what way
send a screenshot if possible
like it's completely infront or like inside but a bit forward
It might be using the #getTo position instead of the actual position. Although I have no clue why it would be doing that.
getTo will always be the current position tho
Here is a test I did after I noticed this behavior (Red name is where its teleporting to)
The commandblock in the back is clearing rain FYI*
Yea, that looks like it's using the #getTo() position instead of it following the player like it normally would.
I was using player.getLocation lol, maybe this fixes it let me test
I figured you were, but maybe it's a bug with display entities?
Don't think so, also happens with others such as armor stands iirc
oh right i see it happens with large plugins too
i think theres a delay
the TAB plugin has a display mode that will always be behind the player
or infront if the player stops
Hm weird, it still seems to happen
might be to do with the way holograms are displayed on ur screen
this is me walking around on my test server with the nametag preview on
and when i stand still it completely overlays the original name
hm
I guess it makes sense, but I guess I really underestimated how intensive the PlayerMoveEvent really is. Normally there would be no delay and it would trail behind you.
wait nvm i rewatched the clip you sent in fullscreen that's odd
it's a bit different
i'm not sure sorry
I guess I could try just using protocollib instead of the move event, or trying to teleport the armorstand/entity later
Are you using actual entities? Or packets?
Actual entities