I need some help in entity creation

I’m a noob at entity creation because the last entity I made was on 1.7.10 forge.

My questions are:

  1. What’s the code to register the entity
  2. What’s the code to register the entity renderer
  3. When I code my entity do I need a render class or can I borrow one if I’m using an existing model.
  4. How would I go about making a universal render class for all my models(I don’t need the code fed to me on this one I just need to know if it’s possible and how simple it is).

A few less important questions I have are:

  1. Is they’re an api that registers items in the same line you add them like for example{
    itemAdder.addItem(new Item(), “MODID”, “NAME”);
    }
    And if it is possible to do that do I have to use arrays and list’s because I haven’t learned those so I’d prefer an api because my mod has a bunch of items used only for crafting.

  2. Is they’re a api/substitute for item json files maybe something that just grabs the image from the textures folder like in 1.7.10(now that I am thinking about this maybe fabric/quilt has a json generator feature.

I’d be really thankful if someone answered these for me