Class TransportHelper

java.lang.Object
net.glowstone.entity.ai.TransportHelper

public class TransportHelper extends Object
  • Constructor Details

    • TransportHelper

      public TransportHelper()
  • Method Details

    • moveTowards

      public static void moveTowards(GlowLivingEntity entity, org.bukkit.Location direction)
    • moveTowards

      public static void moveTowards(GlowLivingEntity entity, org.bukkit.Location direction, double speed)
      Starts an entity moving horizontally toward a location (may overshoot).
      Parameters:
      entity - the entity to move
      direction - the destination to move toward
      speed - the speed to move