Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package net.minecraft.src.forge;
- import net.minecraft.src.Entity;
- /**
- * This interface should be implemented by an Entity that can have a 'Owner'
- * This was created to mimic ModLoaderMP's functionality. *
- */
- public interface IOwnableEntity
- {
- /**
- * Gets the current owner of the entity;
- * @return The owner instance, Null if none.
- */
- public Entity getOwner();
- /**
- * Sets the owner of the entity.
- * @param entity The owner
- */
- public void setOwner(Entity entity);
- }
Advertisement
Add Comment
Please, Sign In to add comment