public void onCollect(EntityPlayer paramEntityPlayer) { super.onCollect(paramEntityPlayer); paramEntityPlayer.addMoney(1); this.setDead(); }