-
Notifications
You must be signed in to change notification settings - Fork 0
Creating a entity model
Olafcio1 edited this page Jul 13, 2026
·
2 revisions
This guide assumes you've already created and setup an Avoid project.
§ Making a entity model with the Avoid Framework
-
Create a java class;
You can pick any location within your project source code directory. -
Paste the following code:
package com.example.avoidtmpl; import pl.olafcio.avoid.net._3d.model.ModelPart; import pl.olafcio.avoid.net.entity_renderer.EntityModel; public class HerobrineEntityModel extends EntityModel<HerobrineEntityState> { public HerobrineEntityModel(ModelPart modelPart) { super(modelPart); } }
Of course you need to replace the class name and package.
-
Add animations;
You can optionally override thesetupAnim(S state)method to add animations onto the model.
©️ Copyright 2026 Olafcio (on behalf of the AvoidLib org)
📝 Licensed with CC BY-NC (Attribution-NonCommercial)