geforkt von Mirrors/Paper
Added Entity.teleportTo(Entity)
By: Dinnerbone <dinnerbone@dinnerbone.com>
Dieser Commit ist enthalten in:
Ursprung
880f2c11a5
Commit
f2e2a23693
@ -21,11 +21,18 @@ public interface Entity {
|
||||
|
||||
/**
|
||||
* Teleports this entity to the given location
|
||||
*
|
||||
*
|
||||
* @param location New location to teleport this entity to
|
||||
*/
|
||||
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
|
||||
*
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren