Interface DragonBehavior
- All Superinterfaces:
EntityBehavior
Represents Entity Behaviors for an Ender Dragon
-
Method Summary
Modifier and TypeMethodDescription@NotNull BehaviorResultnaturalKnockback(@Nullable List<Entity> entities) Makes this Ender Dragon perform a natural knockback with its wings when Entities get too close.Methods inherited from interface EntityBehavior
backupIfClose, backupIfClose, eraseIf, interactWithDoor, jumpOnBed, jumpOnBed, meleeAttack, meleeAttack, moveToWantedItem, moveToWantedItem, moveToWantedItem, passiveIf, reactToBell, ringBell, sleep, socializeAtBell, wakeUp
-
Method Details
-
naturalKnockback
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
-