move

public abstract boolean move(LivingEntity livingEntity, double speedModifier, Location targetLocation)

Simply makes an entity move to a point.

Return

Whether the objective is reachable.

Parameters

livingEntity

The entity to move

speedModifier

The speed modifier. Set 1.0 for the base movement speed attribute.

targetLocation

The target location