thomask Posted July 2, 2020 Share Posted July 2, 2020 (edited) Hello, I'd like some pointers on how to go about creating an entity with the model of a player. I want it to have my custom texture, which is just a normal player skin. I was thinking that for my renderer class, I could extend LivingRenderer because PlayerRenderer does, override getEntityTexture to have the skin i want to use, and then copy over the relevant code from PlayerRenderer, but it doesnt seem like that'll work. As for my model class, should I even make my own? Or can I just use PlayerModel? Any guidance would be appreciated, thank you Edited July 2, 2020 by thomask Quote Link to comment Share on other sites More sharing options...
ChampionAsh5357 Posted July 3, 2020 Share Posted July 3, 2020 Since you are using a texture, almost everything within PlayerRenderer is worthless to you. You could literally just replicate SkeletonRenderer or some other BipedRenderer and be fine with it. As for PlayerModel, it depends on what you are trying to do with it. If you are using any of the overlay layer on the skin, you probably will need to use PlayerModel. Else, you can just get away with BipedModel and going from there. 1 Quote Link to comment Share on other sites More sharing options...
thomask Posted July 4, 2020 Author Share Posted July 4, 2020 2 hours ago, ChampionAsh5357 said: Since you are using a texture, almost everything within PlayerRenderer is worthless to you. You could literally just replicate SkeletonRenderer or some other BipedRenderer and be fine with it. As for PlayerModel, it depends on what you are trying to do with it. If you are using any of the overlay layer on the skin, you probably will need to use PlayerModel. Else, you can just get away with BipedModel and going from there. Thanks for your advice! I ended up using a PlayerModel as I needed the outer skin thing, and for my Renderer i used BipedRenderer. Cheers Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.