NPCTestCommand.ProbeTestCommand
Package: com.hypixel.hytale.server.npc.commands
public static class NPCTestCommand.ProbeTestCommand extends AbstractPlayerCommandInner class of NPCTestCommand. Tests NPC spawn position validity at the player’s current location. Runs three probes and a collision validation:
- Air probe (
PositionProbeAir): checks if the position is valid for air-based NPCs. - Water probe (
PositionProbeWater): checks if the position is valid for aquatic NPCs, using the player model’s eye height. - Collision validation (
CollisionModule.validatePosition()): checks for block collisions at the position with material type 4.
Displays results to the player and logs them to the NPC plugin logger, including the Y position, bounding box, and chunk height at the player’s location.
Constructor
Section titled “Constructor”public ProbeTestCommand()Registers as sub-command "probe" with translation key "server.commands.npc.test.probe.desc".
Related Types
Section titled “Related Types”- NPCTestCommand — 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.