This is how you register an entity

Tried to do that on my mods and it wasn't working. Took me forever to
figure out how to do it right.