Package io.papermc.paper.event.entity
Interface EntityEquipmentChangedEvent.EquipmentChange
- Enclosing class:
EntityEquipmentChangedEvent
Represents a change in equipment for a single equipment slot.
-
Method Summary
-
Method Details
-
oldItem
Gets the existing item that is being replaced.- Returns:
- the existing item
-
newItem
Gets the new item that is replacing the existing item.- Returns:
- the new item
-