public class EntityDragon extends EntityLiving implements IBossDisplayData, IEntityMultiPart, IMob
| Modifier and Type | Field and Description |
|---|---|
float |
animTime
Animation time, used to control the speed of the animation cycles (wings flapping, jaw opening, etc.)
|
int |
deathTicks |
EntityDragonPart[] |
dragonPartArray
An array containing all body parts of this dragon
|
EntityDragonPart |
dragonPartBody
The body bounding box of a dragon
|
EntityDragonPart |
dragonPartHead
The head bounding box of a dragon
|
EntityDragonPart |
dragonPartTail1 |
EntityDragonPart |
dragonPartTail2 |
EntityDragonPart |
dragonPartTail3 |
EntityDragonPart |
dragonPartWing1 |
EntityDragonPart |
dragonPartWing2 |
boolean |
forceNewTarget
Force selecting a new flight target at next tick if set to true.
|
EntityEnderCrystal |
healingEnderCrystal
The current endercrystal that is healing this dragon
|
float |
prevAnimTime
Animation time at previous tick.
|
double[][] |
ringBuffer
Ring buffer array for the last 64 Y-positions and yaw rotations.
|
int |
ringBufferIndex
Index into the ring buffer.
|
boolean |
slowed
Activated if the dragon is flying though obsidian, white stone or bedrock.
|
double |
targetX |
double |
targetY |
double |
targetZ |
experienceValue, livingSoundTime, targetTasks, tasksarrowHitTimer, attackedAtYaw, attackTime, cameraPitch, deathTime, field_110158_av, field_70769_ao, field_70770_ap, hurtTime, isSwingInProgress, jumpMovementFactor, limbSwing, limbYaw, maxHurtResistantTime, maxHurtTime, moveForward, moveStrafing, prevCameraPitch, prevHealth, prevLimbYaw, prevRenderYawOffset, prevRotationYawHead, prevSwingProgress, renderYawOffset, rotationYawHead, swingProgressaddedToChunk, boundingBox, capturedDrops, captureDrops, chunkCoordX, chunkCoordY, chunkCoordZ, dimension, distanceWalkedModified, distanceWalkedOnStepModified, entityCollisionReduction, entityId, fallDistance, field_70135_K, field_98038_p, fireResistance, height, hurtResistantTime, ignoreFrustumCheck, isAirBorne, isCollided, isCollidedHorizontally, isCollidedVertically, isDead, lastTickPosX, lastTickPosY, lastTickPosZ, motionX, motionY, motionZ, myEntitySize, noClip, onGround, posX, posY, posZ, prevDistanceWalkedModified, preventEntitySpawning, prevPosX, prevPosY, prevPosZ, prevRotationPitch, prevRotationYaw, renderDistanceWeight, riddenByEntity, ridingEntity, rotationPitch, rotationYaw, serverPosX, serverPosY, serverPosZ, stepHeight, ticksExisted, timeUntilPortal, velocityChanged, width, worldObj, yOffset, ySizemobSelector| Constructor and Description |
|---|
EntityDragon(World par1World) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
attackEntityFrom(DamageSource par1DamageSource,
float par2)
Called when the entity is attacked.
|
boolean |
attackEntityFromPart(EntityDragonPart par1EntityDragonPart,
DamageSource par2DamageSource,
float par3) |
boolean |
canBeCollidedWith()
Returns true if other Entities should be prevented from moving through this Entity.
|
World |
func_82194_d() |
double[] |
getMovementOffsets(int par1,
float par2)
Returns a double[3] array with movement offsets, used to calculate trailing tail/neck positions.
|
Entity[] |
getParts()
Return the Entity parts making up this Entity (currently only for dragons)
|
void |
onLivingUpdate()
Called frequently so the entity can update its state every tick as required.
|
canAttackClass, canBeSteered, canPickUpLoot, eatGrassBonus, faceEntity, func_104002_bU, func_110160_i, func_110161_a, func_110162_b, func_110163_bv, func_110164_bC, func_110166_bE, func_110167_bD, func_130002_c, func_82143_as, func_94056_bM, func_94057_bL, func_94058_c, func_94059_bO, func_94061_f, func_94062_bN, func_96120_a, getArmorItemForSlot, getArmorPosition, getAttackTarget, getCanSpawnHere, getCurrentArmor, getCurrentItemOrArmor, getEntityName, getEntitySenses, getHeldItem, getJumpHelper, getLastActiveItems, getLookHelper, getMaxSpawnedInChunk, getMoveHelper, getNavigator, getRenderSizeModifier, getTalkInterval, getVerticalFaceSpeed, onEntityUpdate, onUpdate, playLivingSound, readEntityFromNBT, setAIMoveSpeed, setAttackTarget, setCanPickUpLoot, setCurrentItemOrArmor, setMoveForward, spawnExplosionParticle, writeEntityToNBTaddPotionEffect, attackEntityAsMob, canBePushed, canBreatheUnderwater, canEntityBeSeen, clearActivePotions, curePotionEffects, func_110138_aP, func_110139_bj, func_110140_aT, func_110142_aN, func_110143_aJ, func_110144_aD, func_110145_l, func_110148_a, func_110149_m, func_130011_c, func_94060_bK, getActivePotionEffect, getActivePotionEffects, getAge, getAIMoveSpeed, getAITarget, getArrowCountInEntity, getCreatureAttribute, getEyeHeight, getItemIcon, getLook, getLookVec, getPosition, getRNG, getRotationYawHead, getSwingProgress, getTotalArmorValue, handleHealthUpdate, heal, isChild, isClientWorld, isEntityAlive, isEntityUndead, isOnLadder, isPlayerSleeping, isPotionActive, isPotionActive, isPotionApplicable, knockBack, moveEntityWithHeading, onDeath, onItemPickup, performHurtAnimation, rayTrace, removePotionEffect, removePotionEffectClient, renderBrokenItemStack, setArrowCountInEntity, setEntityHealth, setJumping, setPositionAndRotation2, setPositionAndUpdate, setRevengeTarget, setRotationYawHead, setSprinting, shouldRiderFaceForward, swingItem, updateRiddenaddEntityID, addNotRiddenEntityID, addToPlayerScore, addVelocity, applyEntityCollision, canAttackWithItem, canRenderOnFire, copyDataFrom, doesEntityNotTriggerPressurePlate, dropItem, dropItemWithOffset, entityDropItem, equals, extinguish, func_110123_P, func_110124_au, func_82146_a, func_82149_j, func_85029_a, func_85031_j, func_96091_a, func_96092_aw, func_98034_c, getAir, getBoundingBox, getBrightness, getBrightnessForRender, getCollisionBorderSize, getCollisionBox, getDataWatcher, getDistance, getDistanceSq, getDistanceSqToEntity, getDistanceToEntity, getEntityData, getExtendedProperties, getMaxInPortalTime, getMountedYOffset, getPersistentID, getPickedResult, getPortalCooldown, getShadowSize, getTeleportDirection, getTranslatedEntityName, getYOffset, handleLavaMovement, handleWaterMovement, hashCode, isBurning, isCreatureType, isEating, isEntityEqual, isEntityInsideOpaqueBlock, isEntityInvulnerable, isImmuneToFire, isInRangeToRenderDist, isInRangeToRenderVec3D, isInsideOfMaterial, isInvisible, isInWater, isOffsetPositionInLiquid, isRiding, isSneaking, isSprinting, isWet, mountEntity, moveEntity, moveFlying, onCollideWithPlayer, onKillEntity, onStruckByLightning, playSound, readFromNBT, registerExtendedProperties, resetEntityId, setAir, setAngles, setDead, setEating, setFire, setInPortal, setInvisible, setInWeb, setLocationAndAngles, setPosition, setPositionAndRotation, setSneaking, setVelocity, setWorld, shouldRenderInPass, shouldRiderSit, toString, travelToDimension, updateRiderPosition, writeToNBTfunc_110138_aP, func_110143_aJ, getEntityNamepublic double targetX
public double targetY
public double targetZ
public double[][] ringBuffer
public int ringBufferIndex
public EntityDragonPart[] dragonPartArray
public EntityDragonPart dragonPartHead
public EntityDragonPart dragonPartBody
public EntityDragonPart dragonPartTail1
public EntityDragonPart dragonPartTail2
public EntityDragonPart dragonPartTail3
public EntityDragonPart dragonPartWing1
public EntityDragonPart dragonPartWing2
public float prevAnimTime
public float animTime
public boolean forceNewTarget
public boolean slowed
public int deathTicks
public EntityEnderCrystal healingEnderCrystal
public EntityDragon(World par1World)
public double[] getMovementOffsets(int par1,
float par2)
public void onLivingUpdate()
onLivingUpdate in class EntityLivingpublic boolean attackEntityFromPart(EntityDragonPart par1EntityDragonPart, DamageSource par2DamageSource, float par3)
attackEntityFromPart in interface IEntityMultiPartpublic boolean attackEntityFrom(DamageSource par1DamageSource, float par2)
attackEntityFrom in class EntityLivingBasepublic Entity[] getParts()
public boolean canBeCollidedWith()
canBeCollidedWith in class EntityLivingBasepublic World func_82194_d()
func_82194_d in interface IEntityMultiPart