cpw.mods.fml.common.registry
Interface IThrowableEntity


public interface IThrowableEntity

This interface should be implemented by an Entity that can be 'thrown', like snowballs. This was created to mimic ModLoaderMP's 'owner' functionality.


Method Summary
 Entity getThrower()
          Gets the entity that threw/created this entity.
 void setThrower(Entity entity)
          Sets the entity that threw/created this entity.
 

Method Detail

getThrower

Entity getThrower()
Gets the entity that threw/created this entity.

Returns:
The owner instance, Null if none.

setThrower

void setThrower(Entity entity)
Sets the entity that threw/created this entity.

Parameters:
entity - The new thrower/creator.