Class WrapperPlayClientInteractEntity

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

public class WrapperPlayClientInteractEntity extends PacketWrapper<WrapperPlayClientInteractEntity>
This packet is sent from the client to the server when the client attacks or right-clicks another entity (a player, minecart, etc). The vanilla server discards this packet if the entity being attacked is not within a 4-unit radius of the player's position. Please note that this packet is NOT sent whenever the client middle-clicks, the WrapperPlayClientCreativeInventoryAction packet is sent instead.