| 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.minecraft.src.Entity
net.minecraft.src.EntityLiving
net.minecraft.src.EntityCreature
net.minecraft.src.EntityAgeable
net.minecraft.src.EntityAnimal
net.minecraft.src.EntityCow
net.minecraft.src.EntityMooshroom
public class EntityMooshroom
| Field Summary | 
|---|
| Fields inherited from class net.minecraft.src.EntityAnimal | 
|---|
inLove | 
| Constructor Summary | |
|---|---|
EntityMooshroom(World par1World)
 | 
|
| Method Summary | |
|---|---|
 boolean | 
interact(EntityPlayer par1EntityPlayer)
Called when a player interacts with a mob.  | 
 boolean | 
isShearable(ItemStack item,
                       World world,
                       int X,
                       int Y,
                       int Z)
Checks if the object is currently shearable Example: Sheep return false when they have no wool  | 
 ArrayList<ItemStack> | 
onSheared(ItemStack item,
                   World world,
                   int X,
                   int Y,
                   int Z,
                   int fortune)
Performs the shear function on this object.  | 
 EntityAnimal | 
spawnBabyAnimal(EntityAnimal par1EntityAnimal)
This function is used when two same-species animals in 'love mode' breed to generate the new baby animal.  | 
| Methods inherited from class net.minecraft.src.EntityCow | 
|---|
getMaxHealth, isAIEnabled | 
| Methods inherited from class net.minecraft.src.EntityAnimal | 
|---|
attackEntityFrom, canMateWith, getBlockPathWeight, getCanSpawnHere, getTalkInterval, isBreedingItem, isInLove, onLivingUpdate, readEntityFromNBT, resetInLove, writeEntityToNBT | 
| Methods inherited from class net.minecraft.src.EntityAgeable | 
|---|
getGrowingAge, isChild, setGrowingAge | 
| Methods inherited from class net.minecraft.src.EntityCreature | 
|---|
getEntityToAttack, getSpeedModifier, hasPath, setPathToEntity, setTarget | 
| Methods inherited from class java.lang.Object | 
|---|
getClass, notify, notifyAll, wait, wait, wait | 
| Constructor Detail | 
|---|
public EntityMooshroom(World par1World)
| Method Detail | 
|---|
public boolean interact(EntityPlayer par1EntityPlayer)
interact in class EntityCowpublic EntityAnimal spawnBabyAnimal(EntityAnimal par1EntityAnimal)
spawnBabyAnimal in class EntityCow
public boolean isShearable(ItemStack item,
                           World world,
                           int X,
                           int Y,
                           int Z)
IShearable
isShearable in interface IShearableitem - The itemstack that is being used, Possible to be nullworld - The current worldX - The X PositionY - The Y PositionZ - The Z Position
public ArrayList<ItemStack> onSheared(ItemStack item,
                                      World world,
                                      int X,
                                      int Y,
                                      int Z,
                                      int fortune)
IShearable
onSheared in interface IShearableitem - The itemstack that is being used, Possible to be nullworld - The current worldX - The X PositionY - The Y PositionZ - The Z Positionfortune - The fortune level of the shears being used
  | 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||