public class TransportHelper extends Object
Constructor and Description |
---|
TransportHelper() |
Modifier and Type | Method and Description |
---|---|
static void |
moveTowards(GlowLivingEntity entity,
org.bukkit.Location direction) |
static void |
moveTowards(GlowLivingEntity entity,
org.bukkit.Location direction,
double speed)
Starts an entity moving horizontally toward a location (may overshoot).
|
public static void moveTowards(GlowLivingEntity entity, org.bukkit.Location direction)
public static void moveTowards(GlowLivingEntity entity, org.bukkit.Location direction, double speed)
entity
- the entity to movedirection
- the destination to move towardspeed
- the speed to moveCopyright © 2021. All rights reserved.