summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/main/java/org/bukkit/entity/Entity.java12
1 files changed, 8 insertions, 4 deletions
diff --git a/src/main/java/org/bukkit/entity/Entity.java b/src/main/java/org/bukkit/entity/Entity.java
index 396ea208..a60172df 100644
--- a/src/main/java/org/bukkit/entity/Entity.java
+++ b/src/main/java/org/bukkit/entity/Entity.java
@@ -65,7 +65,8 @@ public interface Entity extends Metadatable {
public World getWorld();
/**
- * Teleports this entity to the given location
+ * Teleports this entity to the given location. If this entity is riding a
+ * vehicle, it will be dismounted prior to teleportation.
*
* @param location New location to teleport this entity to
* @return <code>true</code> if the teleport was successful
@@ -73,7 +74,8 @@ public interface Entity extends Metadatable {
public boolean teleport(Location location);
/**
- * Teleports this entity to the given location
+ * Teleports this entity to the given location. If this entity is riding a
+ * vehicle, it will be dismounted prior to teleportation.
*
* @param location New location to teleport this entity to
* @param cause The cause of this teleportation
@@ -82,7 +84,8 @@ public interface Entity extends Metadatable {
public boolean teleport(Location location, TeleportCause cause);
/**
- * Teleports this entity to the target Entity
+ * Teleports this entity to the target Entity. If this entity is riding a
+ * vehicle, it will be dismounted prior to teleportation.
*
* @param destination Entity to teleport this entity to
* @return <code>true</code> if the teleport was successful
@@ -90,7 +93,8 @@ public interface Entity extends Metadatable {
public boolean teleport(Entity destination);
/**
- * Teleports this entity to the target Entity
+ * Teleports this entity to the target Entity. If this entity is riding a
+ * vehicle, it will be dismounted prior to teleportation.
*
* @param destination Entity to teleport this entity to
* @param cause The cause of this teleportation