Jump to content

Making first 1.15 entity, I would be eternally grateful for any help with errors


Recommended Posts

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:


Link to comment
Share on other sites

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 by Saturnin_UFOlud
Link to comment
Share on other sites

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.

Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...

Important Information

By using this site, you agree to our Terms of Use.