# S04PacketEntityEquipment

Represents a packet that is sent when an entity's equipment changes

### Extends

* [`Packet`](https://scripting.breeze.rip/api/net/minecraft/network/packet)

### Methods

#### getEntityID()

> **getEntityID**(): `number`

Gets the ID of the entity whose equipment changed

**Returns**

`number`

The entity ID

***

#### getEquipmentSlot()

> **getEquipmentSlot**(): `number`

Gets the equipment slot that was changed (0: main hand, 1-4: armor slots)

**Returns**

`number`

The equipment slot number

***

#### getItemStack()

> **getItemStack**(): [`ItemStack`](https://scripting.breeze.rip/api/net/minecraft/item/itemstack)

Gets the ItemStack that was equipped

**Returns**

[`ItemStack`](https://scripting.breeze.rip/api/net/minecraft/item/itemstack)

The equipped item

***

#### getPacketID()

> **getPacketID**(): `string`

Get the ID of the packet.

**Returns**

`string`

The ID of the packet.

**Inherited from**

[`Packet`](https://scripting.breeze.rip/api/net/minecraft/network/packet).[`getPacketID`](https://scripting.breeze.rip/api/net/minecraft/packet#getpacketid)
