Stop using MCreator, you say I'm doing nothing but bashing it but I'm just trying to get you past step one!
A real IDE will help you more than us just saying "Yes this code will work" or "Use this code instead", we try to avoid outright giving code like that, we prefer teaching people how to help themselves.
If you are trying to do things with as little effort and investment as possible you're going to have a bad time.
Before all of this, do you have permission from the original author to continue/update their work? Have you attempted to contact them?