MenuPresentation

public final class MenuPresentation

Shared capability policy for menus which use modern dialogs with an inventory fallback.

Functions

Link copied to clipboard
public static boolean supportsDialogs(Player player)
Link copied to clipboard
public static boolean usesInventoryMenusForBedrock(Player player)
Bedrock players get inventory menus unless the server lets Geyser turn dialogs into forms.