Skip to content

NPCPathCommand.PolygonPathCommand

Package: com.hypixel.hytale.server.npc.commands

public static class NPCPathCommand.PolygonPathCommand extends NPCWorldCommandBase

Inner class of NPCPathCommand. Creates a regular polygon path for the target NPC. Generates waypoints for each side of the polygon, with equal turn angles (2*PI / sides) and uniform side lengths.

ArgumentTypeRequiredDefaultDescription
sidesIntegeryesNumber of sides (must be > 0)
lengthDoubleno5.0Length of each side in blocks (must be > 0)
public PolygonPathCommand()

Registers as sub-command "polygon" with translation key "server.commands.npc.path.polygon.desc".

Hydex is an independent community resource. Hytale is a trademark of Hypixel Studios. Hydex is not affiliated with or endorsed by Hypixel Studios.