
Scarves 1.4.6+1.21.1
release24 апреля 2025 г.- Slight optimization to do less work and create fewer objects inside of each frame.
Scarves 1.4.5+1.21.1
release7 апреля 2025 г.No new code in this release, just a new included version of StaticData to fix a bug with staticdata packs in Windows.
Scarves 1.4.4+1.21.1
release24 марта 2025 г.Data Driving... Now With Sodium!
Bugfixes
The main reason for this release is to fix a pretty bad bug where scarves fail to position correctly when Sodium is present. A lot of math is "factored out" by Sodium, resulting in efficient reuse of pre-computed values, but this prevents me from grabbing some data directly off the models. If Sodium is detected, the missing data is estimated. It's not perfect, but it's actually pretty darn close considering what is lost.
Known bugs in this system: Elytra flight, especially in third person, has poor scarf adhesion. This has always been a problem case because the player doesn't lean from the same pivot that they do when swimming or crouching.
Compatibility Updates
This release also cuts two mixins by moving some information from code to data. Bees and foxes are implemented internally using the same system mods can use to add their own support for scarves.
To add support, you need to do two things:
- Add or set aside whatever slot that scarves should sit in. By convention, most entities use the "head/left_scarf" trinket slot.
- Include static data in the
scarves/slot_configspath. (as in,src/main/resources/staticdata/scarves/slot_configs/whatever.json). You don't need to depend on staticdata, just have the json in your mod jar. Check the Scarves source for examples, or ask me for details!
Known bugs in this system: Tameable entities that prioritize sitting over item use, such as cats and wolves, will prevent the scarf item from pinning to them automatically. Additionally, highly animated entities may visually "bug out" or flicker if scarves are pinned to a modelpart like "body" instead of "". Minecraft's animations appear to rely on stateful behavior in the entity model. Pin to the entity root if possible, it's faster!
Scarves 1.4.3+1.21.1
release16 марта 2025 г.This release is a patch to guard against malformed JREs that are shipped without the required RandomGenerators.
Scarves 1.4.2+1.21.1
release16 марта 2025 г.This release fixes a component registration bug where Scarves would crash if Polymer was present.