got minecraft as a function