setOnClose

public ItemPreviewEvent setOnClose(Consumer<Player> onClose)