Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Made compatible for R0.3 and above, due to the removal of PluginClassLoa... #5

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
<dependency>
<groupId>org.bukkit</groupId>
<artifactId>craftbukkit</artifactId>
<version>1.7.2-R0.2</version>
<version>1.7.2-R0.3</version>
<scope>provided</scope>
</dependency>
</dependencies>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,37 +3,40 @@
import org.bukkit.entity.LivingEntity;

/**
* The "main" interface to control a mob.
* This interface will return objects to control the properties and AI of the underlying entity or assign actions.
* You can retrieve an instance of ControllableMob by using the {@link ControllableMobs} class.
*
* The "main" interface to control a mob. This interface will return objects to
* control the properties and AI of the underlying entity or assign actions. You
* can retrieve an instance of ControllableMob by using the
* {@link ControllableMobs} class.
*
* @author Cybran
* @version v5
*
* @param <E> the bukkit entity class of the entity which is being controlled.
*/
public interface ControllableMob<E extends LivingEntity> {

/**
* Gets the entity which is being controlled.
* This will make things easier for you, because you don't have to keep a reference to the controller and the entity itself in memory.
* @return the LivingEntity which is being controlled.
*/
public E getEntity();

/**
* @return the attribute management object for this ControllableMob.
*/
public ControllableMobAttributes getAttributes();

/**
* @return the AI management object for this ControllableMob.
*/
public ControllableMobAI<E> getAI();

/**
* @return the action management object for this ControllableMob.
*/
public ControllableMobActions getActions();

/**
* Gets the entity which is being controlled. This will make things easier
* for you, because you don't have to keep a reference to the controller and
* the entity itself in memory.
*
* @return the LivingEntity which is being controlled.
*/
public E getEntity();

/**
* @return the attribute management object for this ControllableMob.
*/
public ControllableMobAttributes getAttributes();

/**
* @return the AI management object for this ControllableMob.
*/
public ControllableMobAI<E> getAI();

/**
* @return the action management object for this ControllableMob.
*/
public ControllableMobActions getActions();

}
Loading