NPCDebugCommand
Package: com.hypixel.hytale.server.npc.commands
public class NPCDebugCommand extends AbstractCommandCollectionImplements /npc debug. A command collection for managing RoleDebugFlags on NPC entities. Debug flags control which debug overlays and trace outputs are active for an NPC (state display, sensor traces, pathfinder visualization, collision display, etc.).
When debug flags are modified, the NPC’s Nameplate component is removed to avoid conflicts with debug display rendering.
Constructor
Section titled “Constructor”public NPCDebugCommand()Registers as sub-command "debug" with translation key "server.commands.npc.debug.desc".
Sub-commands
Section titled “Sub-commands”| Sub-command | Class | Description |
|---|---|---|
show | ShowCommand | Displays current debug flags on the target NPC |
set | SetCommand | Replaces debug flags with the specified set |
toggle | ToggleCommand | Toggles individual debug flags on/off |
defaults | DefaultsCommand | Applies the “default” preset flags |
clear | ClearCommand | Removes all debug flags |
presets | PresetsCommand | Lists available flag presets |
Related Types
Section titled “Related Types”
Hydex is an independent community resource. Hytale is a trademark of Hypixel Studios. Hydex is not affiliated with or endorsed by Hypixel Studios.