fakeEquipment

abstract fun fakeEquipment(player: Player, entityId: Int, slot: EquipmentSlot, item: ItemStack)

Sends a fake equipment packet to the player for the specified entity slot.

Parameters

player

The target player.

entityId

The entity whose equipment is faked.

slot

The equipment slot to modify.

item

The item to display in the slot.