Package | Description |
---|---|
net.tridentsdk.base |
This package contains basic elements in Minecraft, such as blocks, orientation, directions, instruments, and sounds
|
net.tridentsdk.effect |
Various effects such as sounds, particles, and entity actions can be displayed using the classes
in this package
|
net.tridentsdk.effect.particle |
Particle effects
|
net.tridentsdk.entity |
Other entities and general abstractions and types
|
net.tridentsdk.server.effect.particle |
Particle effects
|
net.tridentsdk.server.effect.sound |
Sound effect implementations
|
net.tridentsdk.server.effect.visual |
Visual effect implementations
|
net.tridentsdk.server.entity |
Contains general entity implementations and base abstractions
|
net.tridentsdk.server.entity.ai.pathfind |
The entity AI implementation
|
net.tridentsdk.server.packets.play.in |
Packets related to the gameplay on the server that are sent by the client
|
net.tridentsdk.server.packets.play.out |
Packets related to the gameplay of the server sent from the server
|
net.tridentsdk.server.world |
Implements classes in the package
net.tridentsdk.world .* package |
net.tridentsdk.util |
Utilities used primarily within the API and available to plugins and the implementation
|
Modifier and Type | Class and Description |
---|---|
class |
Position
Represents a point on the coordinate grid of the world, including pitch and yaw
|
Modifier and Type | Method and Description |
---|---|
Vector |
Position.asUnitVector()
Obtains the unit vector pointing in the direction of the pitch and yaw
|
Vector |
Position.asVector()
Creates new Vector with Location's coordinates
|
Vector |
BlockDirection.difference()
The copy of the directional vector
|
Vector |
BlockFace.relative() |
Vector |
Position.toDirection()
Convert the Pitch and Yaw to a Vectorized direction
|
Modifier and Type | Method and Description |
---|---|
Position |
Position.add(Vector vector)
Adds the x, y, and z from the vector to the coordinates of this position
|
Position |
Position.relative(Vector vector)
Acquires the relative position to this set of coordinates
|
Block |
Block.relativeBlock(Vector vector)
Returns a block immediately to the direction specified
|
Modifier and Type | Method and Description |
---|---|
void |
RemoteEffect.setPosition(Vector vector)
Set the position of the effect
|
Modifier and Type | Method and Description |
---|---|
Vector |
ParticleEffect.offset()
Returns the offset for each particle
|
Modifier and Type | Method and Description |
---|---|
void |
ParticleEffect.setOffset(Vector offset)
The randomized offset for each particle
If multiple particles are spawned, this will be re-run for each |
Modifier and Type | Method and Description |
---|---|
Vector |
Entity.velocity()
The direction and movement magnitude of the entity
|
Modifier and Type | Method and Description |
---|---|
void |
Entity.setVelocity(Vector vector)
Sets the entity's movement direction and speed to the magnitude of the vector
|
Modifier and Type | Method and Description |
---|---|
Vector |
TridentParticleEffect.offset() |
Modifier and Type | Method and Description |
---|---|
void |
TridentParticleEffect.setOffset(Vector offset) |
void |
TridentParticleEffect.setPosition(Vector vector) |
Modifier and Type | Method and Description |
---|---|
void |
TridentSoundEffect.setPosition(Vector vector) |
Modifier and Type | Method and Description |
---|---|
void |
TridentVisualEffect.setPosition(Vector vector) |
Modifier and Type | Field and Description |
---|---|
protected Vector |
TridentEntity.velocity
The movement vector for the entity
|
Modifier and Type | Method and Description |
---|---|
Vector |
TridentEntity.velocity() |
Modifier and Type | Method and Description |
---|---|
void |
TridentEntity.setVelocity(Vector vector) |
Modifier and Type | Method and Description |
---|---|
Vector |
Path.pollMovement(double speed)
Get the movement for the enxt tick based on the speed of the entity.
|
Modifier and Type | Field and Description |
---|---|
protected Vector |
PacketPlayInBlockPlace.cursorPosition
PositionWritable of the cursor, incorrect use of a Vector
|
Modifier and Type | Method and Description |
---|---|
Vector |
PacketPlayInBlockPlace.cursorPosition() |
Modifier and Type | Field and Description |
---|---|
protected Vector |
PacketPlayOutEntityRelativeMove.difference |
protected Vector |
PacketPlayOutEntityCompleteMove.difference |
protected Vector |
PacketPlayOutParticle.offset |
protected Vector |
PacketPlayOutExplosion.velocity |
protected Vector |
PacketPlayOutEntityVelocity.velocity |
Modifier and Type | Method and Description |
---|---|
Vector |
PacketPlayOutEntityRelativeMove.difference() |
Vector |
PacketPlayOutEntityCompleteMove.difference() |
Vector |
PacketPlayOutParticle.offset() |
Vector |
PacketPlayOutExplosion.velocity() |
Vector |
PacketPlayOutEntityVelocity.velocity() |
Modifier and Type | Method and Description |
---|---|
Map<Vector,List<BlockMeta>> |
TridentChunk.tilesInternal() |
Modifier and Type | Method and Description |
---|---|
Block |
TridentBlock.relativeBlock(Vector vector) |
Modifier and Type | Method and Description |
---|---|
Vector |
Vector.add(double x,
double y,
double z)
Adds the coordinate values to the current vector's coordinates with double accuracy
|
Vector |
Vector.add(int x,
int y,
int z)
Adds the coordinate values to the current vector's coordinates
|
Vector |
Vector.add(Vector vector)
Adds the vector x, y, and z to the current vector coordinates
|
Vector |
PartRotation.asVector()
Obtains the rotation of this part as a vector of the rotation xyz
|
Vector |
Vector.clone()
Clones this Vector.
|
Vector |
Vector.crossProduct(Vector vector)
Sets the current vector to the crossproduct between this vector and another one
|
Vector |
Vector.divide(double amount)
Divides the magnitude of this vector by a given amount.
|
Vector |
Vector.divide(double x,
double y,
double z)
Takes the the current vector's coordinates and divides them from the coordinate values with double accuracy
|
Vector |
Vector.divide(int x,
int y,
int z)
Takes the the current vector's coordinates and divides them from the coordinate values
|
Vector |
Vector.divide(Vector vec)
Takes the current vector coordinates and divide them with the vector x, y, and z
|
Vector |
Vector.multiply(double amount)
Multiplies the magnitude of this vector by a double
|
Vector |
Vector.multiply(double x,
double y,
double z)
Multiplies the coordinate values to the current vector's coordinates with double accuracy
|
Vector |
Vector.multiply(int x,
int y,
int z)
Multiplies the coordinate values to the current vector's coordinates
|
Vector |
Vector.multiply(Vector vec)
Multiplies the vector x, y, and z to the current vector coordinates
|
Vector |
Vector.normalize()
Normalizes this vector (changes the magnitude to 1 without changing the direction)
|
Vector |
Vector.subtract(double x,
double y,
double z)
Takes the the current vector's coordinates and subtracts them from the coordinate values with double accuracy
|
Vector |
Vector.subtract(int x,
int y,
int z)
Takes the the current vector's coordinates and subtracts them from the coordinate values
|
Vector |
Vector.subtract(Vector vector)
Takes the current vector coordinates and subtract them with the vector x, y, and z
|
Modifier and Type | Method and Description |
---|---|
Vector |
Vector.add(Vector vector)
Adds the vector x, y, and z to the current vector coordinates
|
Vector |
Vector.crossProduct(Vector vector)
Sets the current vector to the crossproduct between this vector and another one
|
Vector |
Vector.divide(Vector vec)
Takes the current vector coordinates and divide them with the vector x, y, and z
|
double |
Vector.dotProduct(Vector vec)
Calculates the dot product of this vector and another
|
Vector |
Vector.multiply(Vector vec)
Multiplies the vector x, y, and z to the current vector coordinates
|
Vector |
Vector.subtract(Vector vector)
Takes the current vector coordinates and subtract them with the vector x, y, and z
|
Copyright © 2016. All rights reserved.