Removed deprecated methods.
getNote() that returns a byte has been replaced by getRawNote(). teleportTo(Location) has been replaced by teleport(location). teleportTo(Entity) has been replaced by teleport(Entity). SnowForm event has been replaced by BlockForm event.
This commit is contained in:
@@ -58,22 +58,6 @@ public interface Entity {
|
||||
*/
|
||||
public boolean teleport(Entity destination);
|
||||
|
||||
/**
|
||||
* Teleports this entity to the given location
|
||||
*
|
||||
* @param location New location to teleport this entity to
|
||||
* @deprecated use {@link #teleport(Location)}
|
||||
*/
|
||||
public void teleportTo(Location location);
|
||||
|
||||
/**
|
||||
* Teleports this entity to the target Entity
|
||||
*
|
||||
* @param destination Entity to teleport this entity to
|
||||
* @deprecated use {@link #teleport(Entity)}
|
||||
*/
|
||||
public void teleportTo(Entity destination);
|
||||
|
||||
/**
|
||||
* Returns a list of entities within a bounding box defined by x,y,z centered around player
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user