# Sending packet events
Events called by packets being sent to the server by the client.
sendpacketanimationpreventDefault: Boolean representing whether or not to cancel processing the packet. Default isfalse.
sendpacketentityactionentityID: IntegerauxData: Integeraction: StringpreventDefault: Boolean representing whether or not to cancel processing the packet. Default isfalse.
sendpacketinputstrafeSpeed: NumberforwardSpeed: Numberjumping: Booleansneaking: BooleanpreventDefault: Boolean representing whether or not to cancel processing the packet. Default isfalse.
sendpacketclosewindowwindowId: IntegerpreventDefault: Boolean representing whether or not to cancel processing the packet. Default isfalse.
sendpacketclickwindowwindowId: IntegerslotId: IntegerusedButton: IntegeractionNumber: Shortmode: IntegerclickedItem: ItemStackDatapreventDefault: Boolean representing whether or not to cancel processing the packet. Default isfalse.
sendpacketconfirmtransactionwindowId: Integeraccepted: Booleanuid: ShortpreventDefault: Boolean representing whether or not to cancel processing the packet. Default isfalse.
sendpacketkeepalivekey: IntegerpreventDefault: Boolean representing whether or not to cancel processing the packet. Default isfalse.
sendpacketchatmessagemessage: StringpreventDefault: Boolean representing whether or not to cancel processing the packet. Default isfalse.
sendpacketuseentityentityId: Integeraction: String- Can be one of:
INTERACT,ATTACK,INTERACT_AT
- Can be one of:
hitVec: Vec3preventDefault: Boolean representing whether or not to cancel processing the packet. Default isfalse.
sendpacketplayerpositionx: Numbery: Numberz: Numberyaw: Numberpitch: NumberonGround: Booleanmoving: Booleanrotating: BooleanpreventDefault: Boolean representing whether or not to cancel processing the packet. Default isfalse.
sendpacketplayerlookx: Numbery: Numberz: Numberyaw: Numberpitch: NumberonGround: Booleanmoving: Booleanrotating: BooleanpreventDefault: Boolean representing whether or not to cancel processing the packet. Default isfalse.
sendpacketplayerposlookx: Numbery: Numberz: Numberyaw: Numberpitch: NumberonGround: Booleanmoving: Booleanrotating: BooleanpreventDefault: Boolean representing whether or not to cancel processing the packet. Default isfalse.
sendpacketplayerx: Numbery: Numberz: Numberyaw: Numberpitch: NumberonGround: Booleanmoving: Booleanrotating: BooleanpreventDefault: Boolean representing whether or not to cancel processing the packet. Default isfalse.
sendpacketplayerdiggingposition: BlockPosfacing: String- Can be one of:
UP,DOWN,NORTH,SOUTH,EAST,WEST
- Can be one of:
status: String- Can be one of:
START_DESTROY_BLOCK,ABORT_DESTROY_BLOCK,STOP_DESTROY_BLOCK,DROP_ALL_ITEMS,DROP_ITEMorRELEASE_USE_ITEM
- Can be one of:
preventDefault: Boolean representing whether or not to cancel processing the packet. Default isfalse.
sendpacketplayerdiggingposition: BlockPosfacing: String- Can be one of:
UP,DOWN,NORTH,SOUTH,EAST,WEST
- Can be one of:
status: String- Can be one of:
START_DESTROY_BLOCK,ABORT_DESTROY_BLOCK,STOP_DESTROY_BLOCK,DROP_ALL_ITEMS,DROP_ITEMorRELEASE_USE_ITEM
- Can be one of:
preventDefault: Boolean representing whether or not to cancel processing the packet. Default isfalse.
sendpacketplayerblockplacementposition: BlockPosplacedBlockDirection: IntegerfacingX: NumberfacingY: NumberfacingZ: Numberstack: ItemStackDatapreventDefault: Boolean representing whether or not to cancel processing the packet. Default isfalse.
sendpackethelditemchangeslotId: IntegerpreventDefault: Boolean representing whether or not to cancel processing the packet. Default isfalse.
sendpacketcreativeinventoryactionslotId: Integerstack: ItemStackDatapreventDefault: Boolean representing whether or not to cancel processing the packet. Default isfalse.
sendpacketenchantitemwindowId: Integerbutton: IntegerpreventDefault: Boolean representing whether or not to cancel processing the packet. Default isfalse.
sendpacketupdatesignpos: BlockPoslines: String[] [change-length]preventDefault: Boolean representing whether or not to cancel processing the packet. Default isfalse.
sendpacketplayerabilitiesinvulnerable: Booleanflying: BooleanallowFlying: BooleancreativeMode: BooleanflySpeed: NumberwalkSpeed: NumberpreventDefault: Boolean representing whether or not to cancel processing the packet. Default isfalse.
sendpackettabcompletemessage: StringtargetBlock: BlockPospreventDefault: Boolean representing whether or not to cancel processing the packet. Default isfalse.
sendpacketclientsettingslang: Stringview: IntegerchatVisibility: String- Can be one of:
FULL,SYSTEMorHIDDEN
- Can be one of:
enableColors: BooleanmodelPartFlags: IntegerpreventDefault: Boolean representing whether or not to cancel processing the packet. Default isfalse.
sendpacketclientstatusstatus: String- Can be one of:
PERFORM_RESPAWN,REQUEST_STATSorOPEN_INVENTORY_ACHIEVEMENT
- Can be one of:
preventDefault: Boolean representing whether or not to cancel processing the packet. Default isfalse.
sendpacketcustompayloadchannel: StringpreventDefault: Boolean representing whether or not to cancel processing the packet. Default isfalse.
sendpacketspectateid: StringpreventDefault: Boolean representing whether or not to cancel processing the packet. Default isfalse.
sendpacketresourcepackstatushash: Stringstatus: String- Can be one of:
SUCCESSFULLY_LOADED,DECLINED,FAILED_DOWNLOAD,ACCEPTED
- Can be one of:
preventDefault: Boolean representing whether or not to cancel processing the packet. Default isfalse.