Patcher icon indicating copy to clipboard operation
Patcher copied to clipboard

new: natural capes

Open DevBefell opened this issue 2 years ago • 5 comments

Adds a feature/fix? to the way capes are rendered, fixed/changed these following: Cape is not attached to the player when sneaking Cape rotates weirdly at higher speeds and when spinning Cape "bounces" up when sneaking and flying at the same time Default looks like: https://streamable.com/u6fofy With the feature on: https://streamable.com/u03vt6 (Apologies for the weird video ration 😓 )

DevBefell avatar Sep 23 '22 07:09 DevBefell

I tried this out and it works for the most part but the cape sometimes flaps upwards unrealistically for a split second if your speed is too high, like if you use a launchpad or something. The cape also goes inside my body whilst sneaking.

NOTE: This is with the slim model, it might be different for the other model.

vojkovic avatar Sep 23 '22 16:09 vojkovic

That is one issue with even the vanilla, I'll try to fix it later, it has to do with the changing of position fast.

DevBefell avatar Sep 23 '22 17:09 DevBefell

Currently the issue with weird movement of the cape at high speeds is really being a hassle, so gonna fix with the others.

DevBefell avatar Sep 23 '22 23:09 DevBefell

FYI: The issue with the too high of speed has not been fixed because its something built into Minecraft and would require a overhaul of the complete thing. (the entityLivingBaseIn.chasingPos and entityLivingBaseIn.prevChasingPos jumps value when it gets too high/fast)

DevBefell avatar Sep 27 '22 05:09 DevBefell

I tried this out and it works for the most part but the cape sometimes flaps upwards unrealistically for a split second if your speed is too high, like if you use a launchpad or something. The cape also goes inside my body whilst sneaking.

Should be fixed just now (also with teleporting) Description I change so its more descriptive Other issues should all be resolved as of now unless something new comes up...

DevBefell avatar Oct 13 '22 07:10 DevBefell

Note: I've approved based off of what I've seen at a glance, some of dj's complaints are still unresolved since it breaks compat with other things.

Sychic avatar Jan 04 '23 22:01 Sychic

Hmm okay, I split the code into individual instead of combine based on DJ's complaints, that should have less issues with compatibility issues also did one for Optifine, unless there is a major one I missed?

DevBefell avatar Jan 05 '23 10:01 DevBefell

Try it out with essential emotes. You still call renderCape manually then ci.cancel(), this isn't compatible with other mods that modify cape rendering. Also, this fails to build for 1.12.2.

DJtheRedstoner avatar Jan 05 '23 16:01 DJtheRedstoner

Okay I changed it so its compatible, removed the cancel part and fixed 1.12 part.

DevBefell avatar Jan 10 '23 03:01 DevBefell