mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-12 10:45:50 -07:00
Added Entity.teleportTo(Entity)
By: Dinnerbone <dinnerbone@dinnerbone.com>
This commit is contained in:
@@ -26,6 +26,13 @@ public interface Entity {
|
|||||||
*/
|
*/
|
||||||
public void teleportTo(Location location);
|
public void teleportTo(Location location);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Teleports this entity to the target Entity
|
||||||
|
*
|
||||||
|
* @param destination Entity to teleport this entity to
|
||||||
|
*/
|
||||||
|
public void teleportTo(Entity destination);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns a unique ID for this entity
|
* Returns a unique ID for this entity
|
||||||
*
|
*
|
||||||
|
Reference in New Issue
Block a user