createStyledFakeText

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

Creates a styled packet-based FakeText display for popup animations. Similar to generateStyledFakeText but returns the FakeText without showing to anyone, allowing the caller to handle visibility.

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)