generateFakeText

public static FakeText generateFakeText(Location location, String text, double viewRange)

Creates a packet-based FakeText display visible to all nearby players. Uses EasyMinecraftGoals' FakeText system for better performance.

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)

viewRange

The range in blocks for visibility (players within this range will see it)


public static FakeText generateFakeText(Location location, String text, Collection<Player> viewers)

Creates a packet-based FakeText display visible to specific players.

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)

viewers

The players who should see the text


public static FakeText generateFakeText(Location location, String text, Player viewer)

Creates a packet-based FakeText display visible to a single player.

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)

viewer

The player who should see the text