Interface EntityElytraEvents.Allow

Enclosing class:
EntityElytraEvents
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 EntityElytraEvents.Allow
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
  • Method Details

    • allowElytraFlight

      boolean allowElytraFlight(LivingEntity entity)
      Returns:
      false to block elytra flight, true to allow it (unless another listener returns false)