NPCPathCommand
Package: com.hypixel.hytale.server.npc.commands
public class NPCPathCommand extends AbstractCommandCollectionImplements /npc path. A command collection for creating and assigning transient paths to NPCs. Paths are built from waypoint definitions and assigned to the NPC’s PathManager via setTransientPath().
Constructor
Section titled “Constructor”public NPCPathCommand()Registers as sub-command "path" with translation key "server.commands.npc.path.desc". Adds SetPathCommand and PolygonPathCommand as sub-commands.
Sub-commands
Section titled “Sub-commands”| Sub-command | Class | Description |
|---|---|---|
| (default) | NPCPathCommand.SetPathCommand | Sets a path from rotation/distance pairs |
polygon | NPCPathCommand.PolygonPathCommand | Sets a regular polygon path |
Related Types
Section titled “Related Types”- NPCPathCommand.SetPathCommand
- NPCPathCommand.PolygonPathCommand
- NPCCommand — parent command collection
Hydex is an independent community resource. Hytale is a trademark of Hypixel Studios. Hydex is not affiliated with or endorsed by Hypixel Studios.