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.
-
Method Summary
Modifier and TypeMethodDescriptionboolean
allowElytraFlight
(net.minecraft.entity.LivingEntity entity)
-
Method Details
-
allowElytraFlight
boolean allowElytraFlight(net.minecraft.entity.LivingEntity entity) - Returns:
- false to block elytra flight, true to allow it (unless another listener returns false)
-