Posted March 20, 20205 yr Have multiple errors including: reason: no instance(s) of type variable(s) T exist so that Class<TutorialEntity> conforms to EntityType<T> Class 'TutorialEntityModel' must either be declared abstract or implement abstract method 'setRotationAngles(T, float, float, float, float, float)' in 'EntityModel' 'cubeList' has private access in 'net.minecraft.client.renderer.model.ModelRenderer Cannot resolve symbol 'ModelBox' I have a novice understanding of java while improving I'm still quite in my preliminary stages -having problems with importing ModelBox -don't know how to make the access on cubelist public -I thought I implemented IRenderFactory correctly but apparently I did not Forgive me on any negligence on my part this is my first post and aforementioned first entity, again I'm grateful for your consideration for help, thank you code I believe which are error prone link right here for context: https://pastebin.com/bQmxWvkB
March 20, 20205 yr 55 minutes ago, Yoseph123 said: 'cubeList' has private access in 'net.minecraft.client.renderer.model.ModelRenderer Use .addBox method instead. Example code: this.bipedBody = new ModelRenderer(this, 0, 1); this.bipedBody.addBox(0F, 0F, 0F, 11, 11, 11); this.bipedBody.setRotationPoint(-5F, -1F, -6F); If you are using Eclipse you can view vanilla Minecraft entity models implementation in "Project and External Dependencies/forge_1.15 (...) /net/minecraft/client/renderer/entity/model" It could be helpful. Edited March 20, 20205 yr by Saturnin_UFOlud
March 20, 20205 yr Author thank you for the quick response, I'll see if it works I'm using IntelliJ unfortunately and Ive been scouring for the vanilla code
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.