Whitespace + general cleanup

By: Erik Broes <erikbroes@grum.nl>
This commit is contained in:
Bukkit/Spigot
2011-05-14 23:22:54 +02:00
parent 8217ff1836
commit 855f4133b6
216 changed files with 1649 additions and 1637 deletions

View File

@@ -1,4 +1,3 @@
package org.bukkit.entity;
import org.bukkit.Location;
@@ -12,6 +11,7 @@ import java.util.List;
* Represents a base entity in the world
*/
public interface Entity {
/**
* Gets the entity's current position
*
@@ -109,7 +109,7 @@ public interface Entity {
* @param ticks
*/
public void setFireTicks(int ticks);
/**
* Mark the entity's removal.
*/
@@ -130,14 +130,14 @@ public interface Entity {
/**
* Gets the primary passenger of a vehicle. For vehicles that could have
* multiple passengers, this will only return the primary passenger.
*
*
* @return an entity
*/
public abstract Entity getPassenger();
/**
* Set the passenger of a vehicle.
*
*
* @param passenger
* @return false if it could not be done for whatever reason
*/
@@ -145,27 +145,27 @@ public interface Entity {
/**
* Returns true if the vehicle has no passengers.
*
*
* @return
*/
public abstract boolean isEmpty();
/**
* Eject any passenger. True if there was a passenger.
*
*
* @return
*/
public abstract boolean eject();
/**
* Returns the distance this entity has fallen
* @return
* @return
*/
public float getFallDistance();
/**
* Sets the fall distance for this entity
* @param distance
* @param distance
*/
public void setFallDistance(float distance);