Transition to Maven

By: Erik Broes <erikbroes@grum.nl>
This commit is contained in:
Bukkit/Spigot
2011-01-01 11:23:14 +01:00
parent e8a16bb993
commit a0fc0979f7
42 changed files with 31 additions and 5 deletions

View File

@@ -0,0 +1,35 @@
package org.bukkit;
/**
* Represents a base entity in the world
*/
public interface Entity {
/**
* Gets the entitys current position
*
* @return Location containing the position of this entity
*/
public Location getLocation();
/**
* Gets the current world this entity resides in
*
* @return World
*/
public World getWorld();
/**
* Teleports this entity to the given location
*
* @param location New location to teleport this entity to
*/
public void teleportTo(Location location);
/**
* Returns a unique ID for this entity
*
* @return Entity ID
*/
public int getEntityID();
}