Package net.storm.api.movement
Class WalkOptions
java.lang.Object
net.storm.api.movement.WalkOptions
Configuration options for controlling walking and pathfinding behavior.
WalkOptions provides fine-grained control over how the pathfinder calculates routes and how the walker executes movement. Options include whether to use various transportation methods, collision map settings, and step distance parameters.
Default Values
Default values are loaded from the Storm configuration at construction time. Use the builder pattern to override specific options as needed.
Usage Example
// Use default options
WalkOptions defaults = WalkOptions.builder().build();
// Custom options for dangerous areas
WalkOptions safeOptions = WalkOptions.builder()
.avoidWilderness(true)
.useTeleports(false)
.useTransports(true)
.build();
// Copy and modify existing options
WalkOptions modified = existingOptions.toBuilder()
.toggleRun(true)
.build();
Transportation Options
useTransports- Enable/disable shortcuts, boats, stairs, etc.useTeleports- Enable/disable teleport items and spellsuseHomeTeleports- Enable/disable home teleport spellsuseMinigameTeleports- Enable/disable minigame teleportsusePoh- Enable/disable Player-Owned House teleportsuseCharterShips- Enable/disable charter ship traveluseGnomeGliders- Enable/disable gnome glider networkuseMagicCarpets- Enable/disable magic carpet travel
- See Also:
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
WalkOptions
public WalkOptions()
-