generateStyledFakeText

public static FakeText generateStyledFakeText(Location location, String text, Color backgroundColor, boolean shadowed, float scale, double viewRange)

Creates a styled packet-based FakeText display with custom background and styling. Useful for health bars and popup displays.

Return

The FakeText instance, or null if NMSManager is not available

Parameters

location

The location to spawn the text

text

The text to display (supports color codes)

backgroundColor

The background color (ARGB format)

shadowed

Whether to enable shadow

scale

The scale multiplier (1.0 = normal)

viewRange

The range in blocks for visibility