Class EntityAmbientCreature

All Implemented Interfaces:
IAnimals
Direct Known Subclasses:
EntityBat

public abstract class EntityAmbientCreature extends EntityLiving implements IAnimals
  • Constructor Details

    • EntityAmbientCreature

      public EntityAmbientCreature(World par1World)
  • Method Details

    • allowLeashing

      public boolean allowLeashing()
      Overrides:
      allowLeashing in class EntityLiving
    • interact

      protected boolean interact(EntityPlayer par1EntityPlayer)
      Called when a player interacts with a mob. e.g. gets milk from a cow, gets into the saddle on a pig.
      Overrides:
      interact in class EntityLiving