|
||||||||||
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.monster.EntitySlime
public class EntitySlime
Field Summary | |
---|---|
float |
field_70811_b
|
float |
field_70812_c
|
float |
field_70813_a
|
Fields inherited from interface net.minecraft.entity.monster.IMob |
---|
mobSelector |
Constructor Summary | |
---|---|
EntitySlime(World par1World)
|
Method Summary | |
---|---|
boolean |
getCanSpawnHere()
Checks if the entity's current position is a valid location to spawn this entity. |
int |
getMaxHealth()
|
int |
getSlimeSize()
Returns the size of the slime. |
int |
getVerticalFaceSpeed()
The speed it takes to move the entityliving's rotationPitch through the faceEntity method. |
void |
onCollideWithPlayer(EntityPlayer par1EntityPlayer)
Called by a player entity when they collide with an entity |
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 |
setDead()
Will get destroyed next tick. |
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 float field_70813_a
public float field_70811_b
public float field_70812_c
Constructor Detail |
---|
public EntitySlime(World par1World)
Method Detail |
---|
public int getMaxHealth()
getMaxHealth
in class EntityLiving
public int getSlimeSize()
public void writeEntityToNBT(NBTTagCompound par1NBTTagCompound)
writeEntityToNBT
in class EntityLiving
public void readEntityFromNBT(NBTTagCompound par1NBTTagCompound)
readEntityFromNBT
in class EntityLiving
public void onUpdate()
onUpdate
in class EntityLiving
public void setDead()
setDead
in class Entity
public void onCollideWithPlayer(EntityPlayer par1EntityPlayer)
onCollideWithPlayer
in class Entity
public boolean getCanSpawnHere()
getCanSpawnHere
in class EntityLiving
public int getVerticalFaceSpeed()
getVerticalFaceSpeed
in class EntityLiving
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |