Bukkit  1.4.7-R1.0
 All Classes Namespaces Files Functions Variables Enumerator Pages
org.bukkit.entity.Weather Interface Reference

Represents a Weather related entity, such as a storm. More...

+ Inheritance diagram for org.bukkit.entity.Weather:
+ Collaboration diagram for org.bukkit.entity.Weather:

Additional Inherited Members

- Public Member Functions inherited from org.bukkit.entity.Entity
Location getLocation ()
 Gets the entity's current position.
 
Location getLocation (Location loc)
 Stores the entity's current position in the provided Location object.
 
void setVelocity (Vector velocity)
 Sets this entity's velocity.
 
Vector getVelocity ()
 Gets this entity's current velocity.
 
World getWorld ()
 Gets the current world this entity resides in.
 
boolean teleport (Location location)
 Teleports this entity to the given location.
 
boolean teleport (Location location, TeleportCause cause)
 Teleports this entity to the given location.
 
boolean teleport (Entity destination)
 Teleports this entity to the target Entity.
 
boolean teleport (Entity destination, TeleportCause cause)
 Teleports this entity to the target Entity.
 
List< org.bukkit.entity.EntitygetNearbyEntities (double x, double y, double z)
 Returns a list of entities within a bounding box centered around this entity.
 
int getEntityId ()
 Returns a unique id for this entity.
 
int getFireTicks ()
 Returns the entity's current fire ticks (ticks before the entity stops being on fire).
 
int getMaxFireTicks ()
 Returns the entity's maximum fire ticks.
 
void setFireTicks (int ticks)
 Sets the entity's current fire ticks (ticks before the entity stops being on fire).
 
void remove ()
 Mark the entity's removal.
 
boolean isDead ()
 Returns true if this entity has been marked for removal.
 
boolean isValid ()
 Returns false if the entity has died or been despawned for some other reason.
 
Server getServer ()
 Gets the Server that contains this Entity.
 
abstract Entity getPassenger ()
 Gets the primary passenger of a vehicle.
 
abstract boolean setPassenger (Entity passenger)
 Set the passenger of a vehicle.
 
abstract boolean isEmpty ()
 Check if a vehicle has passengers.
 
abstract boolean eject ()
 Eject any passenger.
 
float getFallDistance ()
 Returns the distance this entity has fallen.
 
void setFallDistance (float distance)
 Sets the fall distance for this entity.
 
void setLastDamageCause (EntityDamageEvent event)
 Record the last EntityDamageEvent inflicted on this entity.
 
EntityDamageEvent getLastDamageCause ()
 Retrieve the last EntityDamageEvent inflicted on this entity.
 
UUID getUniqueId ()
 Returns a unique and persistent id for this entity.
 
int getTicksLived ()
 Gets the amount of ticks this entity has lived for.
 
void setTicksLived (int value)
 Sets the amount of ticks this entity has lived for.
 
void playEffect (EntityEffect type)
 Performs the specified EntityEffect for this entity.
 
EntityType getType ()
 Get the type of the entity.
 
boolean isInsideVehicle ()
 Returns whether this entity is inside a vehicle.
 
boolean leaveVehicle ()
 Leave the current vehicle.
 
Entity getVehicle ()
 Get the vehicle that this player is inside.
 

Detailed Description

Represents a Weather related entity, such as a storm.

Definition at line 6 of file Weather.java.


The documentation for this interface was generated from the following file: