Interface ChangeEntityEquipmentEvent
- All Superinterfaces:
Cancellable,Event
- All Known Subinterfaces:
ChangeEntityEquipmentEvent.Break
- All Known Implementing Classes:
AbstractChangeEntityEquipmentEvent
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceCalled when the players equipment is broken or otherwise replaced by an empty item-stack. -
Method Summary
Modifier and TypeMethodDescriptionentity()Gets theEntity.slot()Gets theSlot.Gets theTransactionofItemStackSnapshots for this event.Methods inherited from interface org.spongepowered.api.event.Cancellable
isCancelled, setCancelled
-
Method Details
-
entity
Entity entity()Gets theEntity.- Returns:
- The entity
-
slot
Slot slot()Gets theSlot.- Returns:
- The slot
-
transaction
Transaction<ItemStackSnapshot> transaction()Gets theTransactionofItemStackSnapshots for this event.- Returns:
- The transaction of the item
-