Class EnderDragon
- java.lang.Object
-
- net.minecraft.world.entity.Entity
-
- net.minecraft.world.entity.LivingEntity
-
- net.minecraft.world.entity.boss.enderdragon.EnderDragon
-
public class EnderDragon extends LivingEntity
-
-
Field Summary
Fields Modifier and Type Field Description EnderDragonPart[]
dragonPartArray
EnderDragonPart
dragonPartBody
EnderDragonPart
dragonPartHead
EnderDragonPart
dragonPartTail1
EnderDragonPart
dragonPartTail2
EnderDragonPart
dragonPartTail3
EnderDragonPart
dragonPartWing1
EnderDragonPart
dragonPartWing2
boolean
field_40161_az
double[][]
field_40162_d
boolean
field_40163_ay
int
field_40164_e
float
field_40172_ax
float
field_40173_aw
int
field_40178_aA
EndCrystal
healingEnderCrystal
protected int
maxHealth
double
targetX
double
targetY
double
targetZ
-
Fields inherited from class net.minecraft.world.entity.LivingEntity
activePotionsMap, arrowHitTempCounter, arrowHitTimer, attackedAtYaw, attackingPlayer, attackTime, cameraPitch, carryoverDamage, dead, deathTime, defaultPitch, entityAge, entityType, experienceValue, field_703_S, field_704_R, field_705_Q, field_9325_U, field_9326_T, field_9345_F, field_9349_D, field_9353_B, field_9355_A, field_9358_y, field_9359_x, field_9360_w, field_9361_v, field_9362_u, field_9363_r, field_9365_p, health, heartsHalvesLife, hurtTime, isJumping, jumpMovementFactor, landMovementFactor, maxHurtTime, moveForward, moveSpeed, moveStrafing, naturalArmorRating, newPosRotationIncrements, newPosX, newPosY, newPosZ, newRotationPitch, newRotationYaw, numTicksToChaseTarget, prevCameraPitch, prevHealth, prevRenderYawOffset, prevRotationYawHead, prevSwingProgress, randomYawVelocity, recentlyHit, renderYawOffset, rotationYawHead, scoreValue, swingProgress, targetTasks, tasks, texture
-
Fields inherited from class net.minecraft.world.entity.Entity
addedToChunk, boundingBox, chunkCoordX, chunkCoordY, chunkCoordZ, cloakUrl, dataWatcher, distanceWalkedModified, entityCollisionReduction, entityId, fallDistance, field_9293_aM, fireResistance, heartsLife, height, ignoreFrustumCheck, inWater, isAirBorne, isCollided, isCollidedHorizontally, isCollidedVertically, isDead, isImmuneToFire, isInWeb, isJesusColliding, lastTickPosX, lastTickPosY, lastTickPosZ, motionX, motionY, motionZ, noClip, onGround, playerNameForSkin, posX, posY, posZ, prevDistanceWalkedModified, preventEntitySpawning, prevPosX, prevPosY, prevPosZ, prevRotationPitch, prevRotationYaw, rand, renderDistanceWeight, riddenByEntity, ridingEntity, rotationPitch, rotationYaw, serverPosX, serverPosY, serverPosZ, skinUrl, slim, stepHeight, ticksExisted, velocityChanged, width, worldObj, yOffset, ySize
-
-
Constructor Summary
Constructors Constructor Description EnderDragon(World var1)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
attackEntityFrom(DamageSource var1, int var2)
boolean
attackEntityFromPart(EnderDragonPart var1, DamageSource var2, int var3)
boolean
canBeCollidedWith()
protected void
despawnEntity()
protected void
entityInit()
double[]
func_40160_a(int var1, float var2)
@net.minecraft.modding.api.Side.Client int
func_41010_ax()
int
getMaxHealth()
Entity[]
getParts()
protected void
onDeathUpdate()
void
onLivingUpdate()
protected boolean
superAttackFrom(DamageSource var1, int var2)
-
Methods inherited from class net.minecraft.world.entity.LivingEntity
addPotionEffect, applyArmorCalculations, applyPotionDamageCalculations, attackEntityAsMob, canBePushed, canBreatheUnderwater, canDespawn, canEntityBeSeen, clearActivePotions, damageArmor, damageEntity, decreaseAirSupply, detachHome, dropFewItems, dropRareDrop, eatGrassBonus, faceEntity, fall, func_48079_f, func_48090_aM, func_48098_g, func_48100_a, func_48101_aR, getActivePotionEffect, getActivePotionEffects, getAge, getAITarget, getAttackTarget, getCanSpawnHere, getCreatureAttribute, getDeathSound, getDropItemId, getEffectiveHealth, getExperiencePoints, getEyeHeight, getHeadYaw, getHealth, getHeldItem, getHomePosition, getHurtSound, getItemIcon, getJumpHelper, getLastAttackingEntity, getLivingSound, getLook, getLookHelper, getLookVec, getMaximumHomeDistance, getMaxSpawnedInChunk, getMoveHelper, getNavigator, getPosition, getRenderSizeModifier, getRNG, getSoundVolume, getSpeedModifier, getSwingProgress, getTalkInterval, getTexture, getTotalArmorValue, getVerticalFaceSpeed, handleHealthUpdate, hasHome, heal, isAIEnabled, isBlocking, isChild, isClientWorld, isEntityAlive, isEntityUndead, isMovementBlocked, isOnLadder, isPlayer, isPlayerSleeping, isPotionActive, isPotionApplicable, isWithinHomeDistance, isWithinHomeDistanceCurrentPosition, jump, kill, knockBack, moveEntityWithHeading, onChangedPotionEffect, onDeath, onEntityDeath, onEntityUpdate, onFinishedPotionEffect, onNewPotionEffect, onUpdate, performHurtAnimation, playLivingSound, rayTrace, readEntityFromNBT, removePotionEffect, renderBrokenItemStack, setAttackTarget, setEntityHealth, setHomeArea, setJumping, setLastAttackingEntity, setMoveForward, setPositionAndRotation2, setPositionAndUpdate, setRevengeTarget, setSize, spawnExplosionParticle, updateAITasks, updateAITick, updateEntityActionState, updatePotionEffects, updateRidden, writeEntityToNBT
-
Methods inherited from class net.minecraft.world.entity.Entity
addEntityID, addToPlayerScore, addVelocity, applyEntityCollision, canAttackWithItem, canTriggerWalking, dealFireDamage, dropItem, dropItemWithOffset, entityDropItem, equals, extinguish, getAir, getBoundingBox, getBrightness, getBrightnessForRender, getCollisionBorderSize, getCollisionBox, getCurrentBiomeName, getDataWatcher, getDistance, getDistanceSq, getDistanceSqToEntity, getDistanceToEntity, getEntityString, getFlag, getInventory, getMountedYOffset, getShadowSize, getUsername, getYOffset, handleLavaMovement, handleWaterMovement, hashCode, interact, isBurning, isEating, isEntityEqual, isEntityInsideOpaqueBlock, isImmuneToFire, isInRangeToRenderDist, isInRangeToRenderVec3D, isInsideOfMaterial, isInsideOfMaterial, isInWater, isOffsetPositionInLiquid, isRiding, isSneaking, isSprinting, isSubmergedInAnyFluid, isWet, mountEntity, moveEntity, moveFlying, newDoubleNBTList, newFloatNBTList, onCollideWithPlayer, onKillEntity, onStruckByLightning, outfitWithItem, playStepSound, preparePlayerToSpawn, pushOutOfBlocks, readFromNBT, setAir, setAngles, setBeenAttacked, setDead, setEating, setFire, setFlag, setInPortal, setInWeb, setLocationAndAngles, setOnFireFromLava, setPosition, setPositionAndRotation, setRotation, setSneaking, setSprinting, setVelocity, setWorld, toString, updateFallState, updateRiderPosition, writeToNBT
-
-
-
-
Field Detail
-
maxHealth
protected int maxHealth
-
targetX
public double targetX
-
targetY
public double targetY
-
targetZ
public double targetZ
-
field_40162_d
public double[][] field_40162_d
-
field_40164_e
public int field_40164_e
-
dragonPartArray
public EnderDragonPart[] dragonPartArray
-
dragonPartHead
public EnderDragonPart dragonPartHead
-
dragonPartBody
public EnderDragonPart dragonPartBody
-
dragonPartTail1
public EnderDragonPart dragonPartTail1
-
dragonPartTail2
public EnderDragonPart dragonPartTail2
-
dragonPartTail3
public EnderDragonPart dragonPartTail3
-
dragonPartWing1
public EnderDragonPart dragonPartWing1
-
dragonPartWing2
public EnderDragonPart dragonPartWing2
-
field_40173_aw
public float field_40173_aw
-
field_40172_ax
public float field_40172_ax
-
field_40163_ay
public boolean field_40163_ay
-
field_40161_az
public boolean field_40161_az
-
field_40178_aA
public int field_40178_aA
-
healingEnderCrystal
public EndCrystal healingEnderCrystal
-
-
Constructor Detail
-
EnderDragon
public EnderDragon(World var1)
-
-
Method Detail
-
getMaxHealth
public int getMaxHealth()
- Specified by:
getMaxHealth
in classLivingEntity
-
attackEntityFrom
public boolean attackEntityFrom(DamageSource var1, int var2)
- Overrides:
attackEntityFrom
in classLivingEntity
-
superAttackFrom
protected boolean superAttackFrom(DamageSource var1, int var2)
-
entityInit
protected void entityInit()
- Overrides:
entityInit
in classLivingEntity
-
func_40160_a
public double[] func_40160_a(int var1, float var2)
-
onLivingUpdate
public void onLivingUpdate()
- Overrides:
onLivingUpdate
in classLivingEntity
-
attackEntityFromPart
public boolean attackEntityFromPart(EnderDragonPart var1, DamageSource var2, int var3)
-
onDeathUpdate
protected void onDeathUpdate()
- Overrides:
onDeathUpdate
in classLivingEntity
-
despawnEntity
protected void despawnEntity()
- Overrides:
despawnEntity
in classLivingEntity
-
canBeCollidedWith
public boolean canBeCollidedWith()
- Overrides:
canBeCollidedWith
in classLivingEntity
-
func_41010_ax
@Client public @net.minecraft.modding.api.Side.Client int func_41010_ax()
-
-