Skip to content

NPCStepCommand

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

public class NPCStepCommand extends AbstractWorldCommand

Implements /npc step. Advances NPC behavior by a single tick for debugging purposes. The NPC is frozen (via the Frozen component) and a StepComponent is added with the specified delta time. The StepCleanupSystem removes the StepComponent after processing.

ArgumentTypeRequiredDefaultDescription
--allflagnoStep all NPCs in the world
entityentity IDnoTarget NPC (defaults to player’s look-target)
dtFloatno1.0 / world.getTps()Delta time for the step (must be > 0)
  • --all mode: Iterates all entities with NPCEntity in parallel, adding Frozen and StepComponent to each.
  • Single target mode: Resolves the target NPC (via entity argument or player look-target), adds Frozen and StepComponent.
public NPCStepCommand()

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

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