Uses of Class
org.bukkit.util.Vector

Packages that use Vector
org.bukkit More generalized classes in the API. 
org.bukkit.configuration Classes dedicated to handling a plugin's runtime configuration. 
org.bukkit.entity Interfaces for non-voxel objects that can exist in a world, including all players, monsters, projectiles, etc. 
org.bukkit.event.block Events relating to when a block is changed or interacts with the world
org.bukkit.event.entity Events relating to entities, excluding some directly referencing some more specific entity types. 
org.bukkit.event.player Events relating to players
org.bukkit.util Multi and single purpose classes to facilitate various programmatic concepts. 
 

Uses of Vector in org.bukkit
 

Methods in org.bukkit that return Vector
 Vector Location.getDirection()
          Gets a Vector pointing in the direction that this Location is facing
 Vector Location.toVector()
          Constructs a new Vector based on this Location
 

Methods in org.bukkit with parameters of type Vector
 Location Location.add(Vector vec)
          Adds the location by a vector.
 Arrow World.spawnArrow(Location location, Vector velocity, float speed, float spread)
          Creates an Arrow entity at the given Location
 Location Location.subtract(Vector vec)
          Subtracts the location by a vector.
 

Uses of Vector in org.bukkit.configuration
 

Methods in org.bukkit.configuration that return Vector
 Vector MemorySection.getVector(String path)
           
 Vector ConfigurationSection.getVector(String path)
          Gets the requested Vector by path.
 Vector MemorySection.getVector(String path, Vector def)
           
 Vector ConfigurationSection.getVector(String path, Vector def)
          Gets the requested Vector by path, returning a default value if not found.
 

Methods in org.bukkit.configuration with parameters of type Vector
 Vector MemorySection.getVector(String path, Vector def)
           
 Vector ConfigurationSection.getVector(String path, Vector def)
          Gets the requested Vector by path, returning a default value if not found.
 

Uses of Vector in org.bukkit.entity
 

Methods in org.bukkit.entity that return Vector
 Vector Minecart.getDerailedVelocityMod()
          Gets the derailed velocity modifier.
 Vector Fireball.getDirection()
          Retrieve the direction this fireball is heading toward
 Vector Minecart.getFlyingVelocityMod()
          Gets the flying velocity modifier.
 Vector Vehicle.getVelocity()
          Gets the vehicle's velocity.
 Vector Entity.getVelocity()
          Gets this entity's current velocity
 

Methods in org.bukkit.entity with parameters of type Vector
 void Minecart.setDerailedVelocityMod(Vector derailed)
          Sets the derailed velocity modifier.
 void Fireball.setDirection(Vector direction)
          Fireballs fly straight and do not take setVelocity(...) well.
 void Minecart.setFlyingVelocityMod(Vector flying)
          Sets the flying velocity modifier.
 void Vehicle.setVelocity(Vector vel)
          Sets the vehicle's velocity.
 void Entity.setVelocity(Vector velocity)
          Sets this entity's velocity
 

Uses of Vector in org.bukkit.event.block
 

Methods in org.bukkit.event.block that return Vector
 Vector BlockDispenseEvent.getVelocity()
          Gets the velocity.
 

Methods in org.bukkit.event.block with parameters of type Vector
 void BlockDispenseEvent.setVelocity(Vector vel)
          Sets the velocity of the item being dispensed.
 

Constructors in org.bukkit.event.block with parameters of type Vector
BlockDispenseEvent(Block block, ItemStack dispensed, Vector velocity)
           
 

Uses of Vector in org.bukkit.event.entity
 

Methods in org.bukkit.event.entity that return Vector
 Vector EntityPortalExitEvent.getAfter()
          Gets a copy of the velocity that the entity will have after exiting the portal.
 Vector EntityPortalExitEvent.getBefore()
          Gets a copy of the velocity that the entity has before entering the portal.
 

Methods in org.bukkit.event.entity with parameters of type Vector
 void EntityPortalExitEvent.setAfter(Vector after)
          Sets the velocity that the entity will have after exiting the portal.
 

Constructors in org.bukkit.event.entity with parameters of type Vector
EntityPortalExitEvent(Entity entity, Location from, Location to, Vector before, Vector after)
           
 

Uses of Vector in org.bukkit.event.player
 

Methods in org.bukkit.event.player that return Vector
 Vector PlayerVelocityEvent.getVelocity()
          Gets the velocity vector that will be sent to the player
 

Methods in org.bukkit.event.player with parameters of type Vector
 void PlayerVelocityEvent.setVelocity(Vector velocity)
          Sets the velocity vector that will be sent to the player
 

Constructors in org.bukkit.event.player with parameters of type Vector
PlayerVelocityEvent(Player player, Vector velocity)
           
 

Uses of Vector in org.bukkit.util
 

Subclasses of Vector in org.bukkit.util
 class BlockVector
          A vector with a hash function that floors the X, Y, Z components, a la BlockVector in WorldEdit.
 

Methods in org.bukkit.util that return Vector
 Vector Vector.add(Vector vec)
          Adds a vector to this one
 Vector Vector.clone()
          Get a new vector.
 Vector Vector.copy(Vector vec)
          Copies another vector
 Vector Vector.crossProduct(Vector o)
          Calculates the cross product of this vector with another.
static Vector Vector.deserialize(Map<String,Object> args)
           
 Vector Vector.divide(Vector vec)
          Divides the vector by another.
static Vector Vector.getMaximum(Vector v1, Vector v2)
          Gets the maximum components of two vectors.
 Vector Vector.getMidpoint(Vector other)
          Gets a new midpoint vector between this vector and another.
static Vector Vector.getMinimum(Vector v1, Vector v2)
          Gets the minimum components of two vectors.
static Vector Vector.getRandom()
          Gets a random vector with components having a random value between 0 and 1.
 Vector Vector.midpoint(Vector other)
          Sets this vector to the midpoint between this vector and another.
 Vector Vector.multiply(double m)
          Performs scalar multiplication, multiplying all components with a scalar.
 Vector Vector.multiply(float m)
          Performs scalar multiplication, multiplying all components with a scalar.
 Vector Vector.multiply(int m)
          Performs scalar multiplication, multiplying all components with a scalar.
 Vector Vector.multiply(Vector vec)
          Multiplies the vector by another.
 Vector Vector.normalize()
          Converts this vector to a unit vector (a vector with length of 1).
 Vector Vector.setX(double x)
          Set the X component.
 Vector Vector.setX(float x)
          Set the X component.
 Vector Vector.setX(int x)
          Set the X component.
 Vector Vector.setY(double y)
          Set the Y component.
 Vector Vector.setY(float y)
          Set the Y component.
 Vector Vector.setY(int y)
          Set the Y component.
 Vector Vector.setZ(double z)
          Set the Z component.
 Vector Vector.setZ(float z)
          Set the Z component.
 Vector Vector.setZ(int z)
          Set the Z component.
 Vector Vector.subtract(Vector vec)
          Subtracts a vector from this one.
 Vector Vector.zero()
          Zero this vector's components.
 

Methods in org.bukkit.util with parameters of type Vector
 Vector Vector.add(Vector vec)
          Adds a vector to this one
 float Vector.angle(Vector other)
          Gets the angle between this vector and another in radians.
 Vector Vector.copy(Vector vec)
          Copies another vector
 Vector Vector.crossProduct(Vector o)
          Calculates the cross product of this vector with another.
 double Vector.distance(Vector o)
          Get the distance between this vector and another.
 double Vector.distanceSquared(Vector o)
          Get the squared distance between this vector and another.
 Vector Vector.divide(Vector vec)
          Divides the vector by another.
 double Vector.dot(Vector other)
          Calculates the dot product of this vector with another.
static Vector Vector.getMaximum(Vector v1, Vector v2)
          Gets the maximum components of two vectors.
 Vector Vector.getMidpoint(Vector other)
          Gets a new midpoint vector between this vector and another.
static Vector Vector.getMinimum(Vector v1, Vector v2)
          Gets the minimum components of two vectors.
 boolean Vector.isInAABB(Vector min, Vector max)
          Returns whether this vector is in an axis-aligned bounding box.
 boolean Vector.isInSphere(Vector origin, double radius)
          Returns whether this vector is within a sphere.
 Vector Vector.midpoint(Vector other)
          Sets this vector to the midpoint between this vector and another.
 Vector Vector.multiply(Vector vec)
          Multiplies the vector by another.
 Vector Vector.subtract(Vector vec)
          Subtracts a vector from this one.
 

Constructors in org.bukkit.util with parameters of type Vector
BlockIterator(World world, Vector start, Vector direction, double yOffset, int maxDistance)
          Constructs the BlockIterator
BlockVector(Vector vec)
          Construct the vector with another vector.
 



Copyright © 2013. All Rights Reserved.