Generated by
JDiff

Class org.bukkit.Location

Added Methods
Location add(Location, double, double, double) Takes the x/y/z from base and adds the specified x/y/z to it and returns self This mutates this object, clone first.
boolean createExplosion(float) Creates explosion at this location with given power Will break blocks and ignite blocks on fire.
boolean createExplosion(float, boolean) Creates explosion at this location with given power and optionally setting blocks on fire.
boolean createExplosion(float, boolean, boolean) Creates explosion at this location with given power and optionally setting blocks on fire.
boolean createExplosion(Entity, float) Creates explosion at this location with given power, with the specified entity as the source.
boolean createExplosion(Entity, float, boolean) Creates explosion at this location with given power and optionally setting blocks on fire, with the specified entity as the source.
boolean createExplosion(Entity, float, boolean, boolean) Creates explosion at this location with given power and optionally setting blocks on fire, with the specified entity as the source.
Collection<Entity> getNearbyEntities(double, double, double) Returns a list of entities within a bounding box centered around a Location.
Collection<T> getNearbyEntitiesByType(Class<?, extends, T>, double) Gets all nearby entities of the specified type, within the specified radius (bounding box)
Collection<T> getNearbyEntitiesByType(Class<?, extends, T>, double, double) Gets all nearby entities of the specified type, within the specified radius, with x and x radius matching (bounding box)
Collection<T> getNearbyEntitiesByType(Class<?, extends, T>, double, double, double) Gets all nearby entities of the specified type, within the specified radius (bounding box)
Collection<T> getNearbyEntitiesByType(Class<?, extends, T>, double, double, Predicate<T>) Gets all nearby entities of the specified type, within the specified radius, with x and x radius matching (bounding box)
Collection<T> getNearbyEntitiesByType(Class<?, extends, T>, double, Predicate<T>) Gets all nearby entities of the specified type, within the specified radius (bounding box)
Collection<T> getNearbyEntitiesByType(Class<Entity>, double, double, double, Predicate<T>) Gets all nearby entities of the specified type, within the specified radius (bounding box)
Collection<LivingEntity> getNearbyLivingEntities(double) Gets nearby players within the specified radius (bounding box)
Collection<LivingEntity> getNearbyLivingEntities(double, double) Gets nearby players within the specified radius (bounding box)
Collection<LivingEntity> getNearbyLivingEntities(double, double, double) Gets nearby players within the specified radius (bounding box)
Collection<LivingEntity> getNearbyLivingEntities(double, double, double, Predicate<LivingEntity>) Gets nearby players within the specified radius (bounding box)
Collection<LivingEntity> getNearbyLivingEntities(double, double, Predicate<LivingEntity>) Gets nearby players within the specified radius (bounding box)
Collection<LivingEntity> getNearbyLivingEntities(double, Predicate<LivingEntity>) Gets nearby players within the specified radius (bounding box)
Collection<Player> getNearbyPlayers(double) Gets nearby players within the specified radius (bounding box)
Collection<Player> getNearbyPlayers(double, double) Gets nearby players within the specified radius (bounding box)
Collection<Player> getNearbyPlayers(double, double, double) Gets nearby players within the specified radius (bounding box)
Collection<Player> getNearbyPlayers(double, double, double, Predicate<Player>) Gets nearby players within the specified radius (bounding box)
Collection<Player> getNearbyPlayers(double, double, Predicate<Player>) Gets nearby players within the specified radius (bounding box)
Collection<Player> getNearbyPlayers(double, Predicate<Player>) Gets nearby players within the specified radius (bounding box)
boolean isChunkLoaded()  
boolean isGenerated() Checks if a Chunk has been generated at this location.
Location set(double, double, double) Sets the position of this Location and returns itself This mutates this object, clone first.
Location subtract(Location, double, double, double) Takes the x/y/z from base and subtracts the specified x/y/z to it and returns self This mutates this object, clone first.
long toBlockKey() @return The block key for this location's block location.
Location toBlockLocation() @return A new location where X/Y/Z are on the Block location (integer value of X/Y/Z)
Location toCenterLocation() @return A new location where X/Y/Z are the center of the block
Location toHighestLocation(HeightMap) Returns a copy of this location except with y = getWorld().getHighestBlockYAt(this.getBlockX(), this.getBlockZ(), heightMap)
Location toHighestLocation(HeightmapType) Returns a copy of this location except with y = getWorld().getHighestBlockYAt(this.getBlockX(), this.getBlockZ(), heightmap)
Location toHighestLocation() Returns a copy of this location except with y = getWorld().getHighestBlockYAt(this.getBlockX(), this.getBlockZ())