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 Cancellable
isCancelled, setCancelled
-
Method Details
-
entity
-
slot
-
transaction
Transaction<ItemStackSnapshot> transaction()Gets theTransactionofItemStackSnapshots for this event.- Returns:
- The transaction of the item
-