Class RailPathSmoother

java.lang.Object
com.hypixel.hytale.server.npc.movement.controllers.RailPathSmoother

public class RailPathSmoother extends Object
Step-1 replacement smoother that follows probeMove data directly.

2D behavior is intentionally minimal:

  • Emit initial waypoint.
  • For horizontal transition chains emit one waypoint at the chain start.
  • For every vertical transition emit start and end waypoints.
  • Always emit final waypoint.
Non-2D keeps existing behavior (start/end only).
  • Constructor Details

    • RailPathSmoother

      public RailPathSmoother()
    • RailPathSmoother

      public RailPathSmoother(int initialCapacity)
  • Method Details