YATS/Forge Documentation
 All Classes Namespaces Files Functions Variables Enumerator Pages
net.minecraftforge.common.IThrowableEntity Interface Reference

Public Member Functions

Entity getThrower ()
 
void setThrower (Entity entity)
 

Detailed Description

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

Member Function Documentation

Entity net.minecraftforge.common.IThrowableEntity.getThrower ( )

Gets the entity that threw/created this entity.

Returns
The owner instance, Null if none.
void net.minecraftforge.common.IThrowableEntity.setThrower ( Entity  entity)

Sets the entity that threw/created this entity.

Parameters
entityThe new thrower/creator.

The documentation for this interface was generated from the following file: