sendMetadataPacket

public static void sendMetadataPacket(Player player, int entityId, boolean upsideDown)

Send a metadata packet to a player for the preview.

Parameters

player

The player to send the packet to

entityId

The entity ID of the armor stand

upsideDown

If the displayed item should be upside down