create

public void create(Player player, Consumer<Player> onClose, Wrap wrap)

Create a preview.

Parameters

player

The player

onClose

The consumer to run when the GUI should be opened again

wrap

The wrap to preview