|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.minecraft.entity.Entity
net.minecraft.entity.projectile.EntityFireball
public abstract class EntityFireball
Field Summary | |
---|---|
double |
accelerationX
|
double |
accelerationY
|
double |
accelerationZ
|
EntityLiving |
shootingEntity
|
Constructor Summary | |
---|---|
EntityFireball(World par1World)
|
|
EntityFireball(World par1World,
double par2,
double par4,
double par6,
double par8,
double par10,
double par12)
|
|
EntityFireball(World par1World,
EntityLiving par2EntityLiving,
double par3,
double par5,
double par7)
|
Method Summary | |
---|---|
boolean |
attackEntityFrom(DamageSource par1DamageSource,
int par2)
Called when the entity is attacked. |
boolean |
canBeCollidedWith()
Returns true if other Entities should be prevented from moving through this Entity. |
float |
getBrightness(float par1)
Gets how bright this entity is. |
int |
getBrightnessForRender(float par1)
|
float |
getCollisionBorderSize()
|
float |
getShadowSize()
|
boolean |
isInRangeToRenderDist(double par1)
|
void |
onUpdate()
Called to update the entity's position/logic. |
void |
readEntityFromNBT(NBTTagCompound par1NBTTagCompound)
(abstract) Protected helper method to read subclass entity data from NBT. |
void |
writeEntityToNBT(NBTTagCompound par1NBTTagCompound)
(abstract) Protected helper method to write subclass entity data to NBT. |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public EntityLiving shootingEntity
public double accelerationX
public double accelerationY
public double accelerationZ
Constructor Detail |
---|
public EntityFireball(World par1World)
public EntityFireball(World par1World, double par2, double par4, double par6, double par8, double par10, double par12)
public EntityFireball(World par1World, EntityLiving par2EntityLiving, double par3, double par5, double par7)
Method Detail |
---|
public boolean isInRangeToRenderDist(double par1)
isInRangeToRenderDist
in class Entity
public void onUpdate()
onUpdate
in class Entity
public void writeEntityToNBT(NBTTagCompound par1NBTTagCompound)
public void readEntityFromNBT(NBTTagCompound par1NBTTagCompound)
public boolean canBeCollidedWith()
canBeCollidedWith
in class Entity
public float getCollisionBorderSize()
getCollisionBorderSize
in class Entity
public boolean attackEntityFrom(DamageSource par1DamageSource, int par2)
attackEntityFrom
in class Entity
public float getShadowSize()
getShadowSize
in class Entity
public float getBrightness(float par1)
getBrightness
in class Entity
public int getBrightnessForRender(float par1)
getBrightnessForRender
in class Entity
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |