Class PathfinderConfiguration
java.lang.Object
de.metaphoriker.pathetic.api.pathing.configuration.PathfinderConfiguration
Defines a set of configurable parameters that govern the behavior of the A* pathfinding
algorithm. By adjusting these parameters, you can fine-tune the pathfinding process to suit the
specific needs of your Minecraft environment.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic PathfinderConfiguration
static PathfinderConfiguration
static PathfinderConfiguration
deepCopy
(PathfinderConfiguration pathfinderConfiguration) Creates a deep copy of the givenPathfinderConfiguration
.
-
Constructor Details
-
PathfinderConfiguration
public PathfinderConfiguration()
-
-
Method Details
-
createAsyncConfiguration
- Returns:
- A new
PathfinderConfiguration
with default parameters but async.
-
createConfiguration
- Returns:
- A new
PathfinderConfiguration
with default parameters.
-
deepCopy
Creates a deep copy of the givenPathfinderConfiguration
.This method constructs a new instance of
PathfinderConfiguration
with the same values as the input. It ensures a deep copy by copying the values of primitive and boolean fields directly.- Parameters:
pathfinderConfiguration
- ThePathfinderConfiguration
to copy.- Returns:
- A new
PathfinderConfiguration
instance with the same values as the input.
-