NPCThawCommand
Package: com.hypixel.hytale.server.npc.commands
public class NPCThawCommand extends AbstractWorldCommandImplements /npc thaw (alias: /npc unfreeze). Unfreezes NPC entities by removing the Frozen ECS component.
Arguments
Section titled “Arguments”| Argument | Type | Required | Description |
|---|---|---|---|
--all | flag | no | Thaw all NPCs in the world |
entity | entity ID | no | Target NPC (defaults to player’s look-target) |
Behavior
Section titled “Behavior”--allmode: Iterates all entities withNPCEntityin parallel, removing theFrozencomponent from each.- Single target mode: Uses NPCCommandUtils to resolve the target NPC and removes its
Frozencomponent.
Constructor
Section titled “Constructor”public NPCThawCommand()Registers as sub-command "thaw" with translation key "server.commands.npc.thaw.desc". Adds "unfreeze" as an alias.
Related Types
Section titled “Related Types”- NPCFreezeCommand — freezes NPCs (inverse operation)
- NPCStepCommand — steps frozen NPCs one tick
- NPCCommandUtils — used for target resolution
- 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.