Interface Enchantment.FloatAction<T>

Enclosing class:
Enchantment
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface private static interface Enchantment.FloatAction<T>
  • Method Summary

    Modifier and Type
    Method
    Description
    float
    apply(T effect, float value)
     
    asGeneric(org.apache.commons.lang3.mutable.MutableFloat v)
     
  • Method Details

    • apply

      float apply(T effect, float value)
    • asGeneric

      default Enchantment.GenericAction<T> asGeneric(org.apache.commons.lang3.mutable.MutableFloat v)