public static interface NucleusKitEvent.Redeem.Pre extends NucleusKitEvent.Redeem, CancelMessageEvent
NucleusKitEvent.Redeem.Failed, NucleusKitEvent.Redeem.Post, NucleusKitEvent.Redeem.PreNucleusKitEvent.Redeem| Modifier and Type | Method and Description |
|---|---|
void |
setCommandsToExecute(java.util.Collection<java.lang.String> commandsToExecute)
Override the commands run by this kit for this redemption only.
|
void |
setStacksToRedeem(java.util.Collection<org.spongepowered.api.item.inventory.ItemStackSnapshot> stacksToRedeem)
Override the content of the kit for this redemption only.
|
getCommandsToExecute, getLastRedeemedTime, getName, getOriginalCommandsToExecute, getOriginalStacksToRedeem, getRedeemedKit, getStacksToRedeem, isFirstJoingetTargetEntitygetCancelMessage, setCancelMessagevoid setStacksToRedeem(@Nullable
java.util.Collection<org.spongepowered.api.item.inventory.ItemStackSnapshot> stacksToRedeem)
stacksToRedeem - the ItemStackSnapshots that should be
redeemed. Set to null to return to original behaviourvoid setCommandsToExecute(@Nullable
java.util.Collection<java.lang.String> commandsToExecute)
ConsoleSource.commandsToExecute - the commands that should be redeemed, using
{{player}} as the player key.
Set to null to return to original behaviour.