Skip to content

RoleDebugFlags

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

public enum RoleDebugFlags implements Supplier<String>

35 debug flags controlling NPC trace logging, movement validation, steering visualization, and nameplate display overlays. Each constant carries a human-readable description string accessible via get(). Supports named presets for convenient bulk flag activation.

NameDescription
TraceFailTrace failed instructions
TraceSuccessTrace matched instructions
TraceSensorFailuresTrace failing sensors
FlockTrace flock events
FlockDamageTrace flock damage events
MotionControllerSteerTrace steering activity of motion controllers
CollisionsTrace collision information of motion controllers
BlockCollisionsTrace collisions down to block level
ProbeBlockCollisionsTrace collisions down to block level when probing
MotionControllerMoveTrace movement activity of motion controllers
ValidatePositionsValidate computed movement positions are not intersecting blocks
SteeringRoleDebug blended steering behaviour from role like avoidance/separation
DisplayStateSet display name to contents of state
DisplayFlockSet display name to flock state
DisplayTimeSet display name to day time
DisplayTargetSet display name to locked target type
DisplayAnimDisplay animation state
DisplayLightLevelDisplay light levels
DisplayCustomDisplay custom debug information (generated by debug components)
DisplayHPDisplay NPC HP as numerical values
DisplayStaminaDisplay NPC Stamina as numerical values
OverlapsLog overlapping blocks when validating position
PathfinderDisplay pathfinder status
DisplaySpeedDisplay speed of entity
DisplayFreeSlotsDisplay free inventory slots
DisplayInternalIdDisplay the internal server ID for this entity
DisplayNameDisplay the role name for this entity
ValidateMathValidate (some) math computations in movement
VisAvoidanceVisualize avoidance vectors
VisSeparationVisualize separation vector
VisAimingVisualize aiming
VisMarkedTargetsVisualize arrows to marked targets
VisSensorRangesVisualize entity sensor detection ranges
VisLeashPositionVisualize NPC leash position
VisFlockVisualize flock member connections
BeaconMessagesEnable debugging of beacon message sending and receiving
NameFlags
noneEmpty set
allAll flags
moveMotionControllerMove, Collisions
steerMotionControllerMove, MotionControllerSteer, Collisions
validsteer + ValidatePositions
blocksteer + BlockCollisions
visDistVisAvoidance, VisSeparation
visSensorInfoVisMarkedTargets, VisSensorRanges
displayAll Display* flags
defaultAll flags except ValidatePositions
ModifierReturn TypeSignature
@Nonnull public staticEnumSet<RoleDebugFlags>getFlags(@Nonnull String[] args)
@Nonnull public staticStringBuildergetListOfFlags(@Nonnull EnumSet<RoleDebugFlags> flags, @Nonnull StringBuilder stringBuilder)
public staticStringBuildergetListOfAllFlags(@Nonnull StringBuilder stringBuilder)
public staticStringBuildergetListOfAllPresets(@Nonnull StringBuilder stringBuilder)
@Nonnull public staticEnumSet<RoleDebugFlags>getPreset(String arg)
public staticbooleanhavePreset(String name)
Hydex is an independent community resource. Hytale is a trademark of Hypixel Studios. Hydex is not affiliated with or endorsed by Hypixel Studios.