|
||||||||||
| 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.item.EntityEnderEye
public class EntityEnderEye
| Field Summary | |
|---|---|
int |
field_70226_a
|
| Constructor Summary | |
|---|---|
EntityEnderEye(World par1World)
|
|
EntityEnderEye(World par1World,
double par2,
double par4,
double par6)
|
|
| Method Summary | |
|---|---|
boolean |
canAttackWithItem()
If returns false, the item will not inflict any damage against entities. |
float |
getBrightness(float par1)
Gets how bright this entity is. |
int |
getBrightnessForRender(float par1)
|
float |
getShadowSize()
|
boolean |
isInRangeToRenderDist(double par1)
|
void |
moveTowards(double par1,
int par3,
double par4)
The location the eye should float/move towards. |
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 |
setVelocity(double par1,
double par3,
double par5)
|
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 int field_70226_a
| Constructor Detail |
|---|
public EntityEnderEye(World par1World)
public EntityEnderEye(World par1World,
double par2,
double par4,
double par6)
| Method Detail |
|---|
public boolean isInRangeToRenderDist(double par1)
isInRangeToRenderDist in class Entity
public void moveTowards(double par1,
int par3,
double par4)
public void setVelocity(double par1,
double par3,
double par5)
setVelocity in class Entitypublic void onUpdate()
onUpdate in class Entitypublic void writeEntityToNBT(NBTTagCompound par1NBTTagCompound)
public void readEntityFromNBT(NBTTagCompound par1NBTTagCompound)
public float getShadowSize()
getShadowSize in class Entitypublic float getBrightness(float par1)
getBrightness in class Entitypublic int getBrightnessForRender(float par1)
getBrightnessForRender in class Entitypublic boolean canAttackWithItem()
canAttackWithItem in class Entity
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||