Attributable, Boss, CommandSender, ComplexLivingEntity, Damageable, Entity, LivingEntity, Lootable, Metadatable, Mob, Nameable, Permissible, PersistentDataHolder, ProjectileSource, ServerOperatorpublic interface EnderDragon extends ComplexLivingEntity, Boss, Mob
| Modifier and Type | Interface | Description | 
|---|---|---|
| static class  | EnderDragon.Phase | Represents a phase or action that an Ender Dragon can perform. | 
| Modifier and Type | Method | Description | 
|---|---|---|
| int | getDeathAnimationTicks() | Get the current time in ticks relative to the start of this dragon's
 death animation. | 
| DragonBattle | getDragonBattle() | Get the  DragonBattleassociated with this EnderDragon. | 
| EnderDragon.Phase | getPhase() | Gets the current phase that the dragon is performing. | 
| void | setPhase(EnderDragon.Phase phase) | Sets the next phase for the dragon to perform. | 
getAttributegetBossBargetPartsdamage, damage, getAbsorptionAmount, getHealth, getMaxHealth, resetMaxHealth, setAbsorptionAmount, setHealth, setMaxHealthaddPotionEffect, addPotionEffect, addPotionEffects, attack, clearActiveItem, getActiveItem, getActivePotionEffects, getArrowCooldown, getArrowsInBody, getArrowsStuck, getCanPickupItems, getCategory, getCollidableExemptions, getEquipment, getEyeHeight, getEyeHeight, getEyeLocation, getHandRaisedTime, getHurtDirection, getItemUseRemainingTime, getKiller, getLastDamage, getLastTwoTargetBlocks, getLeashHolder, getLineOfSight, getMaximumAir, getMaximumNoDamageTicks, getMemory, getNoDamageTicks, getPotionEffect, getRemainingAir, getRemoveWhenFarAway, getShieldBlockingDelay, getTargetBlock, getTargetBlock, getTargetBlock, getTargetBlockExact, getTargetBlockExact, getTargetBlockFace, getTargetBlockFace, getTargetBlockInfo, getTargetBlockInfo, getTargetEntity, getTargetEntity, getTargetEntityInfo, getTargetEntityInfo, hasAI, hasLineOfSight, hasPotionEffect, isCollidable, isGliding, isHandRaised, isInvisible, isJumping, isLeashed, isRiptiding, isSleeping, isSwimming, playPickupItemAnimation, playPickupItemAnimation, rayTraceBlocks, rayTraceBlocks, removePotionEffect, setAI, setArrowCooldown, setArrowsInBody, setArrowsStuck, setCanPickupItems, setCollidable, setGliding, setHurtDirection, setInvisible, setJumping, setKiller, setLastDamage, setLeashHolder, setMaximumAir, setMaximumNoDamageTicks, setMemory, setNoDamageTicks, setRemainingAir, setRemoveWhenFarAway, setShieldBlockingDelay, setSwimming, swingMainHand, swingOffHandclearLootTable, getLootTable, getSeed, hasLootTable, setLootTable, setLootTable, setSeedgetPathfinder, getTarget, isAware, isInDaylight, setAware, setTargetlaunchProjectile, launchProjectile@NotNull EnderDragon.Phase getPhase()
void setPhase(@NotNull EnderDragon.Phase phase)
phase - the next phase@Nullable DragonBattle getDragonBattle()
DragonBattle associated with this EnderDragon.
 This will return null if the EnderDragon is not in the End dimension.World.getEnderDragonBattle()int getDeathAnimationTicks()
Copyright © 2021. All rights reserved.