|
||||||||||
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.EntityLiving
net.minecraft.entity.EntityCreature
net.minecraft.entity.monster.EntityMob
net.minecraft.entity.monster.EntitySilverfish
public class EntitySilverfish
Field Summary |
---|
Fields inherited from interface net.minecraft.entity.monster.IMob |
---|
mobSelector |
Constructor Summary | |
---|---|
EntitySilverfish(World par1World)
|
Method Summary | |
---|---|
boolean |
attackEntityFrom(DamageSource par1DamageSource,
int par2)
Called when the entity is attacked. |
int |
getAttackStrength(Entity par1Entity)
Returns the amount of damage a mob should deal. |
float |
getBlockPathWeight(int par1,
int par2,
int par3)
Takes a coordinate in and returns a weight to determine how likely this creature will try to path to the block. |
boolean |
getCanSpawnHere()
Checks if the entity's current position is a valid location to spawn this entity. |
EnumCreatureAttribute |
getCreatureAttribute()
Get this Entity's EnumCreatureAttribute |
int |
getMaxHealth()
|
void |
onUpdate()
Called to update the entity's position/logic. |
Methods inherited from class net.minecraft.entity.monster.EntityMob |
---|
attackEntityAsMob, onLivingUpdate |
Methods inherited from class net.minecraft.entity.EntityCreature |
---|
getEntityToAttack, getSpeedModifier, hasPath, setPathToEntity, setTarget |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public EntitySilverfish(World par1World)
Method Detail |
---|
public int getMaxHealth()
getMaxHealth
in class EntityLiving
public boolean attackEntityFrom(DamageSource par1DamageSource, int par2)
attackEntityFrom
in class EntityMob
public void onUpdate()
onUpdate
in class EntityMob
public float getBlockPathWeight(int par1, int par2, int par3)
getBlockPathWeight
in class EntityMob
public boolean getCanSpawnHere()
getCanSpawnHere
in class EntityMob
public int getAttackStrength(Entity par1Entity)
getAttackStrength
in class EntityMob
public EnumCreatureAttribute getCreatureAttribute()
getCreatureAttribute
in class EntityLiving
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |