S04PacketEntityEquipment
Represents a packet that is sent when an entity's equipment changes
Extends
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
Gets the ItemStack that was equipped
Returns
The equipped item
getPacketID()
getPacketID():
string
Get the ID of the packet.
Returns
string
The ID of the packet.
Inherited from
Last updated