SkinChangerMod

SkinChangerMod

4.2k Downloads

FakePlayer GUI rending

boomboompower opened this issue ยท 3 comments

commented

We should stop the player model being static for cape rendering (the cape should move)


Movement for capes looks bugged due to the CapeLayer interfering with the custom entity.

There has also been a few occasions where I've seen the fakeplayers name show rendering. Not really something which I'd like in production


Reformatted 25/03/2020

commented

febc168 adds a custom cape render to the FakePlayer. It uses reflection to swap the original cape layer with our modified one.

I originally wanted to use a CoreMod


Reformatted 25/03/2020

commented

Around 2 years later I'd like to update this. v3.0.0 will not use a custom layer for its FakePlayer model as the layer relies heavily on reflection. v3.0.0 changes the rendering code of the FakePlayer to simulate player movement and therefore cause the cape to move.

This was changed in 87f22b9 - Link to diff

Therefore I will mark this as resolved.

commented

FakePlayer renderer became cosmetic c621f20