public class TeleportCache extends Object
ServerPlayerPositionRotationPacket,
adjusts the player's positions and immediately sends a teleport back. However, we want to acknowledge that the
Bedrock player actually moves close to that point, so we store the teleport until we get a movement packet from
Bedrock that the teleport was successful.| Constructor and Description |
|---|
TeleportCache() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canConfirm(com.nukkitx.math.vector.Vector3d position) |
void |
incrementUnconfirmedFor() |
boolean |
shouldResend() |
Copyright © 2020 GeyserMC. All rights reserved.