public abstract class StackEvent
extends org.bukkit.event.Event
implements org.bukkit.event.Cancellable
Modifier and Type | Field and Description |
---|---|
protected StackedObject |
object |
protected StackedObject |
target |
Constructor and Description |
---|
StackEvent(StackedObject object,
StackedObject target)
The constructor for the event.
|
Modifier and Type | Method and Description |
---|---|
boolean |
isCancelled() |
void |
setCancelled(boolean cancelled) |
protected final StackedObject object
protected final StackedObject target
public StackEvent(StackedObject object, StackedObject target)
object
- The original stacked object.target
- The stacked object that is stacked.