I’m a noob at entity creation because the last entity I made was on 1.7.10 forge.
My questions are:
- What’s the code to register the entity
- What’s the code to register the entity renderer
- When I code my entity do I need a render class or can I borrow one if I’m using an existing model.
- 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:
-
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. -
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