Package org.spongepowered.api.event.data
Interface ChangeDataHolderEvent
-
- All Superinterfaces:
Cancellable
,Event
- All Known Subinterfaces:
ChangeDataHolderEvent.ValueChange
- All Known Implementing Classes:
AbstractValueChangeEvent
public interface ChangeDataHolderEvent extends Event, Cancellable
An event that is associated with aDataHolder.Mutable
that may have someValue
s changed, offered, or removed. Note that calling any methods relating to modifying aDataHolder.Mutable
while this event is being processed may produce awkward results.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
ChangeDataHolderEvent.ValueChange
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DataHolder.Mutable
targetHolder()
Gets theDataHolder.Mutable
targeted in this event.-
Methods inherited from interface org.spongepowered.api.event.Cancellable
isCancelled, setCancelled
-
-
-
-
Method Detail
-
targetHolder
DataHolder.Mutable targetHolder()
Gets theDataHolder.Mutable
targeted in this event.- Returns:
- The data holder targeted in this event
-
-