void Item(ItemName name, int price) { CostMoney(price); ItemTool itemTool = new ItemTool(); mc.addBuff(itemTool.getItem(name), -1); }