001package net.minecraftforge.common; 002 003import 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@Deprecated //Moved to FML cpw.mods.fml.common.registry.IThrowableEntity 010public interface IThrowableEntity 011{ 012 /** 013 * Gets the entity that threw/created this entity. 014 * @return The owner instance, Null if none. 015 */ 016 public Entity getThrower(); 017 018 /** 019 * Sets the entity that threw/created this entity. 020 * @param entity The new thrower/creator. 021 */ 022 public void setThrower(Entity entity); 023}