break;
case BREWING_STAND:
player.get(WindowHolder.class).openWindow(new BrewingStandWindow(player, null, new BrewingStandInventory()));
break;
case VILLAGER:
player.get(WindowHolder.class).openWindow(new VillagerWindow(player, new VillagerInventory()));
break;
default:
throw new CommandException("Window not supported.");
}
}