001    package cpw.mods.fml.common.registry;
002    
003    import net.minecraft.entity.Entity;
004    
005    /**
006     * This interface should be implemented by an Entity that can be 'thrown', like snowballs.
007     * This was created to mimic ModLoaderMP's 'owner' functionality.
008     */
009    public interface IThrowableEntity
010    {
011        /**
012         * Gets the entity that threw/created this entity.
013         * @return The owner instance, Null if none.
014         */
015        public Entity getThrower();
016    
017        /**
018         * Sets the entity that threw/created this entity.
019         * @param entity The new thrower/creator.
020         */
021        public void setThrower(Entity entity);
022    }