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.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
protected boolean
static PathfinderConfiguration
deepCopy
(PathfinderConfiguration pathfinderConfiguration) Creates a deep copy of the givenPathfinderConfiguration
.boolean
int
int
int
hashCode()
boolean
isAsync()
boolean
toString()
-
Method Details
-
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.
-
builder
-
getMaxIterations
public int getMaxIterations() -
getMaxLength
public int getMaxLength() -
isAsync
public boolean isAsync() -
isFallback
public boolean isFallback() -
getProvider
-
getHeuristicWeights
-
toString
-
equals
-
canEqual
-
hashCode
public int hashCode()
-