Interface CriterionEvent.Trigger<C extends FilteredTriggerConfiguration>

All Superinterfaces:
AdvancementEvent, CriterionEvent, Event, GenericEvent<C>
Enclosing interface:
CriterionEvent

public static interface CriterionEvent.Trigger<C extends FilteredTriggerConfiguration> extends CriterionEvent, GenericEvent<C>
Is called when a FilteredTrigger is being processed for a specific Criterion.
  • Method Details

    • trigger

      FilteredTrigger<C> trigger()
      Gets the FilteredTrigger that is being processed.
      Returns:
      The trigger
    • result

      boolean result()
      Gets the result of the trigger event.
      Returns:
      The result
    • setResult

      void setResult(boolean result)
      Sets the result of the trigger event.
      Parameters:
      result - The result