Modifier and Type | Method and Description |
---|---|
AbstractVector |
AbstractVector.add(AbstractVector vec)
Adds a vector to this one
|
AbstractVector |
AbstractVector.clone()
Get a new vector.
|
AbstractVector |
AbstractVector.copy(AbstractVector vec)
Copies another vector
|
AbstractVector |
AbstractVector.divide(AbstractVector vec)
Divides the vector by another.
|
AbstractVector |
AbstractLocation.getDirection()
Gets a unit-vector pointing in the direction that this Location is
facing.
|
AbstractVector |
AbstractEntity.getVelocity() |
AbstractVector |
AbstractVector.multiply(AbstractVector vec)
Multiplies the vector by another.
|
AbstractVector |
AbstractVector.multiply(double m)
Performs scalar multiplication, multiplying all components with a
scalar.
|
AbstractVector |
AbstractVector.multiply(float m)
Performs scalar multiplication, multiplying all components with a
scalar.
|
AbstractVector |
AbstractVector.multiply(int m)
Performs scalar multiplication, multiplying all components with a
scalar.
|
AbstractVector |
AbstractVector.normalize()
Converts this vector to a unit vector (a vector with length of 1).
|
AbstractVector |
AbstractVector.rotate(float degrees)
Rotates the vector a certain number of degrees.
|
AbstractVector |
AbstractVector.setX(double x)
Set the X component.
|
AbstractVector |
AbstractVector.setX(float x)
Set the X component.
|
AbstractVector |
AbstractVector.setX(int x)
Set the X component.
|
AbstractVector |
AbstractVector.setY(double y)
Set the Y component.
|
AbstractVector |
AbstractVector.setY(float y)
Set the Y component.
|
AbstractVector |
AbstractVector.setY(int y)
Set the Y component.
|
AbstractVector |
AbstractVector.setZ(double z)
Set the Z component.
|
AbstractVector |
AbstractVector.setZ(float z)
Set the Z component.
|
AbstractVector |
AbstractVector.setZ(int z)
Set the Z component.
|
AbstractVector |
AbstractVector.subtract(AbstractVector vec)
Subtracts a vector from this one.
|
AbstractVector |
AbstractLocation.toVector()
Constructs a new
AbstractVector based on this Location |
Modifier and Type | Method and Description |
---|---|
AbstractLocation |
AbstractLocation.add(AbstractVector vec)
Adds the location by a vector.
|
AbstractVector |
AbstractVector.add(AbstractVector vec)
Adds a vector to this one
|
float |
AbstractVector.angle(AbstractVector other)
Gets the angle between this vector and another in radians.
|
AbstractVector |
AbstractVector.copy(AbstractVector vec)
Copies another vector
|
AbstractVector |
AbstractVector.divide(AbstractVector vec)
Divides the vector by another.
|
double |
AbstractVector.dot(AbstractVector other)
Calculates the dot product of this vector with another.
|
AbstractVector |
AbstractVector.multiply(AbstractVector vec)
Multiplies the vector by another.
|
void |
AbstractEntity.setVelocity(AbstractVector multiply) |
AbstractLocation |
AbstractLocation.subtract(AbstractVector vec)
Subtracts the location by a vector.
|
AbstractVector |
AbstractVector.subtract(AbstractVector vec)
Subtracts a vector from this one.
|
Modifier and Type | Method and Description |
---|---|
static AbstractVector |
BukkitAdapter.adapt(org.bukkit.util.Vector vector)
Convert a Bukkit Vector to a MythicMob AbstractVector
|
AbstractVector |
BukkitEntity.getVelocity() |
Modifier and Type | Method and Description |
---|---|
static org.bukkit.util.Vector |
BukkitAdapter.adapt(AbstractVector vector)
Convert a MythicMobs AbstractVector to a Bukkit Vector
|
void |
BukkitParticle.sendDirectional(AbstractLocation location,
float speed,
int amount,
float offsetX,
float offsetY,
float offsetZ,
AbstractVector direction) |
void |
BukkitEntity.setVelocity(AbstractVector velocity) |
Constructor and Description |
---|
ParticlePacket(String name,
AbstractVector vector,
float speed,
int amount,
boolean longDistance)
Deprecated.
|
Modifier and Type | Field and Description |
---|---|
protected AbstractVector |
ParticleEffect.direction |
Modifier and Type | Method and Description |
---|---|
ArrayList<AbstractVector> |
ParticleTornadoEffect.createCircle(double y,
double radius,
double rotation) |
Modifier and Type | Field and Description |
---|---|
protected AbstractVector |
Projectile.ProjectileTracker.currentVelocity |
Modifier and Type | Method and Description |
---|---|
static AbstractVector |
RandomUtil.getRandomCircleVector() |
static AbstractVector |
RandomUtil.getRandomVector() |
static AbstractVector |
MythicUtil.rotate(float yaw,
float pitch,
AbstractVector value) |
static AbstractVector |
MythicUtil.rotate(float yaw,
float pitch,
double x,
double y,
double z) |
static AbstractVector |
VectorUtils.rotateAroundAxisX(AbstractVector v,
double angle) |
static AbstractVector |
VectorUtils.rotateAroundAxisY(AbstractVector v,
double angle) |
static AbstractVector |
VectorUtils.rotateAroundAxisZ(AbstractVector v,
double angle) |
static AbstractVector |
VectorUtils.rotateVector(AbstractVector v,
double angleX,
double angleY,
double angleZ) |
static AbstractVector |
VectorUtils.rotateVector(AbstractVector v,
float yawDegrees,
float pitchDegrees) |
static AbstractVector |
VectorUtils.rotateVector(AbstractVector v,
org.bukkit.Location location) |
Modifier and Type | Method and Description |
---|---|
static double |
VectorUtils.angleToXAxis(AbstractVector AbstractVector) |
static AbstractLocation |
MythicUtil.move(AbstractLocation loc,
AbstractVector offset) |
static AbstractVector |
MythicUtil.rotate(float yaw,
float pitch,
AbstractVector value) |
static AbstractVector |
VectorUtils.rotateAroundAxisX(AbstractVector v,
double angle) |
static AbstractVector |
VectorUtils.rotateAroundAxisY(AbstractVector v,
double angle) |
static AbstractVector |
VectorUtils.rotateAroundAxisZ(AbstractVector v,
double angle) |
static AbstractVector |
VectorUtils.rotateVector(AbstractVector v,
double angleX,
double angleY,
double angleZ) |
static AbstractVector |
VectorUtils.rotateVector(AbstractVector v,
float yawDegrees,
float pitchDegrees) |
static AbstractVector |
VectorUtils.rotateVector(AbstractVector v,
org.bukkit.Location location) |
Modifier and Type | Method and Description |
---|---|
default void |
VolatileWorldHandler.doBlockTossEffect(AbstractLocation target,
org.bukkit.Material material,
AbstractVector velocity,
int duration,
boolean hideSourceBlock) |
Modifier and Type | Method and Description |
---|---|
void |
VolatileWorldHandler_v1_12_R1.doBlockTossEffect(AbstractLocation target,
org.bukkit.Material material,
AbstractVector velocity,
int duration,
boolean hideSourceBlock) |
Modifier and Type | Method and Description |
---|---|
void |
VolatileWorldHandler_v1_13_R2.doBlockTossEffect(AbstractLocation target,
org.bukkit.Material material,
AbstractVector velocity,
int duration,
boolean hideSourceBlock) |
Modifier and Type | Method and Description |
---|---|
void |
VolatileWorldHandler_v1_14_R1.doBlockTossEffect(AbstractLocation target,
org.bukkit.Material material,
AbstractVector velocity,
int duration,
boolean hideSourceBlock) |
Modifier and Type | Method and Description |
---|---|
void |
VolatileWorldHandler_v1_15_R1.doBlockTossEffect(AbstractLocation target,
org.bukkit.Material material,
AbstractVector velocity,
int duration,
boolean hideSourceBlock) |
Modifier and Type | Method and Description |
---|---|
void |
VolatileWorldHandler_v1_16_R1.doBlockTossEffect(AbstractLocation target,
org.bukkit.Material material,
AbstractVector velocity,
int duration,
boolean hideSourceBlock) |
Modifier and Type | Method and Description |
---|---|
void |
VolatileWorldHandler_v1_16_R2.doBlockTossEffect(AbstractLocation target,
org.bukkit.Material material,
AbstractVector velocity,
int duration,
boolean hideSourceBlock) |
Copyright © 2020. All rights reserved.