Class WrapperPlayClientWindowConfirmation

java.lang.Object
com.github.retrooper.packetevents.wrapper.PacketWrapper<WrapperPlayClientWindowConfirmation>
com.github.retrooper.packetevents.wrapper.play.client.WrapperPlayClientWindowConfirmation

public class WrapperPlayClientWindowConfirmation extends PacketWrapper<WrapperPlayClientWindowConfirmation>
A response to the window confirmation packet by the client It is processed on the main thread, and is therefore very useful for anticheat purposes

If a confirmation sent by the client was not accepted, the server will reply with a WrapperPlayServerWindowConfirmation packet with the Accepted field set to false. When this happens, the client must send this packet to apologize (as with movement), otherwise the server ignores any successive confirmations.

Replaced in 1.17 with the more efficient WrapperPlayClientPong

See Also: