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 interface
ChangeEntityEquipmentEvent.Break
Called 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 Entity
entity()
Gets theEntity
.Slot
slot()
Gets theSlot
.Transaction<ItemStackSnapshot>
transaction()
Gets theTransaction
ofItemStackSnapshot
s for this event.-
Methods inherited from interface org.spongepowered.api.event.Cancellable
isCancelled, setCancelled
-
-
-
-
Method Detail
-
transaction
Transaction<ItemStackSnapshot> transaction()
Gets theTransaction
ofItemStackSnapshot
s for this event.- Returns:
- The transaction of the item
-
-