@CommandDescription (aliases = "window", usage = "<type>", desc = "Open a window.")
@Permissible ("vanilla.command.debug")
@Filter (PlayerFilter.class)
public void window(Player player, CommandArguments args) throws CommandException {
WindowType type = args.popEnumValue("type", WindowType.class);
args.assertCompletelyParsed();
switch (type) {
case CHEST:
player.get(WindowHolder.class).openWindow(new ChestWindow(player, new Chest()));