Interface ChangeEntityEquipmentEvent
-
- All Superinterfaces:
Cancellable,Event
- All Known Subinterfaces:
ChangeEntityEquipmentEvent.Break
- All Known Implementing Classes:
AbstractChangeEntityEquipmentEvent
public interface ChangeEntityEquipmentEvent extends Event, Cancellable
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interfaceChangeEntityEquipmentEvent.BreakCalled when the players equipment is broken or otherwise replaced by an empty item-stack.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Entityentity()Gets theEntity.Slotslot()Gets theSlot.Transaction<ItemStackSnapshot>transaction()Gets theTransactionofItemStackSnapshots for this event.-
Methods inherited from interface org.spongepowered.api.event.Cancellable
isCancelled, setCancelled
-
-
-
-
Method Detail
-
transaction
Transaction<ItemStackSnapshot> transaction()
Gets theTransactionofItemStackSnapshots for this event.- Returns:
- The transaction of the item
-
-