Interface DragonBehavior

All Superinterfaces:
EntityBehavior

public interface DragonBehavior extends EntityBehavior
Represents Entity Behaviors for an Ender Dragon
  • Method Details

    • naturalKnockback

      @NotNull @NotNull BehaviorResult naturalKnockback(@Nullable @Nullable List<Entity> entities)
      Makes this Ender Dragon perform a natural knockback with its wings when Entities get too close.

      This behavior does not require any memories.

      Parameters:
      entities - List of Entities to knock back
      Returns:
      Result of Behavior