|
||||||||||
| 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.EntitySpider
public class EntitySpider
| Field Summary |
|---|
| Fields inherited from interface net.minecraft.entity.monster.IMob |
|---|
mobSelector |
| Constructor Summary | |
|---|---|
EntitySpider(World par1World)
|
|
| Method Summary | |
|---|---|
EnumCreatureAttribute |
getCreatureAttribute()
Get this Entity's EnumCreatureAttribute |
int |
getMaxHealth()
|
double |
getMountedYOffset()
Returns the Y offset from the entity's position for any entity riding this one. |
void |
initCreature()
Initialize this creature. |
boolean |
isBesideClimbableBlock()
Returns true if the WatchableObject (Byte) is 0x01 otherwise returns false. |
boolean |
isOnLadder()
returns true if this entity is by a ladder, false otherwise |
boolean |
isPotionApplicable(PotionEffect par1PotionEffect)
|
void |
onUpdate()
Called to update the entity's position/logic. |
void |
setBesideClimbableBlock(boolean par1)
Updates the WatchableObject (Byte) created in entityInit(), setting it to 0x01 if par1 is true or 0x00 if it is false. |
void |
setInWeb()
Sets the Entity inside a web block. |
float |
spiderScaleAmount()
|
| Methods inherited from class net.minecraft.entity.monster.EntityMob |
|---|
attackEntityAsMob, attackEntityFrom, getAttackStrength, getBlockPathWeight, getCanSpawnHere, 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 EntitySpider(World par1World)
| Method Detail |
|---|
public void onUpdate()
onUpdate in class EntityMobpublic int getMaxHealth()
getMaxHealth in class EntityLivingpublic double getMountedYOffset()
getMountedYOffset in class Entitypublic boolean isOnLadder()
isOnLadder in class EntityLivingpublic void setInWeb()
setInWeb in class Entitypublic float spiderScaleAmount()
public EnumCreatureAttribute getCreatureAttribute()
getCreatureAttribute in class EntityLivingpublic boolean isPotionApplicable(PotionEffect par1PotionEffect)
isPotionApplicable in class EntityLivingpublic boolean isBesideClimbableBlock()
public void setBesideClimbableBlock(boolean par1)
public void initCreature()
initCreature in class EntityLiving
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||