Posted July 2, 20205 yr 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, 20205 yr by thomask
July 3, 20205 yr 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.
July 4, 20205 yr Author 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
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.