input.bind(new Binding("quickbar_" + i, Keyboard.valueOf("KEY_" + i)));
}
CommandManager cm = Spout.getCommandManager();
final QuickbarCommandExecutor exe = new QuickbarCommandExecutor();
final PlayerFilter filter = new PlayerFilter();
cm.getCommand("quickbar_left").setHelp("Changes quickbar slot!").setExecutor(exe).addFilter(filter);
cm.getCommand("quickbar_right").setHelp("Changes quickbar slot!").setExecutor(exe).addFilter(filter);
for (int i = 1; i < 10; i++) {
cm.getCommand("quickbar_" + i).setHelp("Changes quickbar slot!").setExecutor(exe).addFilter(filter);
}