Class AbstractChangeEntityEquipmentEvent
- java.lang.Object
-
- org.spongepowered.api.event.impl.AbstractEvent
-
- org.spongepowered.api.event.impl.entity.AbstractChangeEntityEquipmentEvent
-
- All Implemented Interfaces:
Cancellable
,ChangeEntityEquipmentEvent
,Event
public abstract class AbstractChangeEntityEquipmentEvent extends AbstractEvent implements ChangeEntityEquipmentEvent
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.spongepowered.api.event.entity.ChangeEntityEquipmentEvent
ChangeEntityEquipmentEvent.Break
-
-
Field Summary
Fields Modifier and Type Field Description protected Transaction<ItemStackSnapshot>
transaction
-
Fields inherited from class org.spongepowered.api.event.impl.AbstractEvent
currentOrder
-
-
Constructor Summary
Constructors Constructor Description AbstractChangeEntityEquipmentEvent()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Transaction<ItemStackSnapshot>
transaction()
Gets theTransaction
ofItemStackSnapshot
s for this event.-
Methods inherited from class org.spongepowered.api.event.impl.AbstractEvent
init
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.spongepowered.api.event.Cancellable
isCancelled, setCancelled
-
Methods inherited from interface org.spongepowered.api.event.entity.ChangeEntityEquipmentEvent
entity, slot
-
-
-
-
Field Detail
-
transaction
protected Transaction<ItemStackSnapshot> transaction
-
-
Method Detail
-
transaction
public Transaction<ItemStackSnapshot> transaction()
Description copied from interface:ChangeEntityEquipmentEvent
Gets theTransaction
ofItemStackSnapshot
s for this event.- Specified by:
transaction
in interfaceChangeEntityEquipmentEvent
- Returns:
- The transaction of the item
-
-