Interface EventValue.Changer<E extends org.bukkit.event.Event,V>

Type Parameters:
E - the event type
V - the value type
All Known Subinterfaces:
EventValue.NoValueChanger<E,V>
Enclosing interface:
EventValue<E extends org.bukkit.event.Event,V>
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public static interface EventValue.Changer<E extends org.bukkit.event.Event,V>
A changer for applying modifications to the value for a given event instance.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    change(E event, V value)
    Applies a change to the value for the given event instance.
  • Method Details

    • change

      void change(E event, V value)
      Applies a change to the value for the given event instance.
      Parameters:
      event - the event instance
      value - the value to apply (may be null depending on mode)