I've been struggling to create a custom entity. I used BlockBench to create the model and have fixed up some parts of it (it's not complete so there is probably some terrible code in there). I have a few questions:
1. When I export the model as a .java file using BlockBench, for some reason it uses bodypart.cubeList.add() even though cubeList is private. Is there a way to get around that or is using .cubeList.add() completely wrong?
2. In other places of reference I've looked at, such as GirafiStudios' Waddles mod (https://github.com/GirafiStudios/Waddles/blob/master/src/main/java/com/girafi/waddles/client/model/PenguinModel.java) and McJty's examplemod (https://github.com/McJty/YouTubeModding14/blob/master/src/main/java/com/mcjty/mytutorial/entities/WeirdMobModel.java) for 1.14/1.15, they've all been using bodypart.addBox(). However, in my environment, the ModelRenderer.class doesn't even have the addBox method. When I try to use addBox Intellij says "cannot resolve addBox() in ModelRenderer" And I looked ModelRenderer up on the documentation and its totally there. What do I even do to get around this?
Code: https://pastebin.com/4ePXPwtz
If this is relevant, the forge version I am using is 1.15.1 - 30.0.50 with the default mcp mapping
Thanks for any help and sorry if this is very lengthy!