|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.minecraft.src.Entity
net.minecraft.src.EntityLiving
net.minecraft.src.EntityDragonBase
net.minecraft.src.EntityDragon
public class EntityDragon
Field Summary | |
---|---|
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
|
Fields inherited from class net.minecraft.src.EntityLiving |
---|
arrowHitTempCounter, arrowHitTimer, attackedAtYaw, attackTime, cameraPitch, carryoverDamage, deathTime, field_70730_aX, field_70731_aW, field_70769_ao, field_70770_ap, hurtTime, isJumping, jumpMovementFactor, landMovementFactor, legSwing, legYaw, maxHurtResistantTime, maxHurtTime, prevCameraPitch, prevHealth, prevLegYaw, prevRenderYawOffset, prevRotationYawHead, prevSwingProgress, renderYawOffset, rotationYawHead, swingProgress, tasks |
Constructor Summary | |
---|---|
EntityDragon(World par1World)
|
Method Summary | |
---|---|
boolean |
attackEntityFromPart(EntityDragonPart par1EntityDragonPart,
DamageSource par2DamageSource,
int par3)
|
boolean |
canBeCollidedWith()
Returns true if other Entities should be prevented from moving through this Entity. |
int |
getDragonHealth()
|
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. |
Methods inherited from class net.minecraft.src.EntityDragonBase |
---|
attackEntityFrom, getMaxHealth |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public 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
Constructor Detail |
---|
public EntityDragon(World par1World)
Method Detail |
---|
public double[] getMovementOffsets(int par1, float par2)
public void onLivingUpdate()
onLivingUpdate
in class EntityLiving
public boolean attackEntityFromPart(EntityDragonPart par1EntityDragonPart, DamageSource par2DamageSource, int par3)
attackEntityFromPart
in class EntityDragonBase
public Entity[] getParts()
getParts
in class Entity
public boolean canBeCollidedWith()
canBeCollidedWith
in class EntityLiving
public int getDragonHealth()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |