Record Class RouteFinder.NoRouteFoundResult
java.lang.Object
java.lang.Record
com.soulfiremc.server.pathfinding.RouteFinder.NoRouteFoundResult
- All Implemented Interfaces:
RouteFinder.RouteSearchResult
- Enclosing class:
RouteFinder
public static record RouteFinder.NoRouteFoundResult()
extends Record
implements RouteFinder.RouteSearchResult
No route found to the target
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of aNoRouteFoundResultrecord class. -
Method Summary
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
NoRouteFoundResult
public NoRouteFoundResult()Creates an instance of aNoRouteFoundResultrecord class.
-
-
Method Details
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal.
-