Mods
Resource Packs
Data Packs
Modpacks
Shaders
Plugins
Mods Resource Packs Data Packs Plugins Shaders Modpacks
Get Modrinth App Upgrade to Modrinth+
Sign in
ModsPluginsData PacksShadersResource PacksModpacks
Sign in
Settings
Scarves

Scarves

Comfortable dynamic simulated cloth trinkets

22.8k
70
Decoration
Social
AboutGalleryChangelogVersions
All versionsScarves 1.4.4+1.21.1

Scarves 1.4.4+1.21.1

Download
Report

Changelog

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_configs path. (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!

Dependencies

dependency-iconTrinketsrequired
dependency-iconEMIoptional
dependency-iconStatic Dataembedded

Files

scarves-1.4.4+1.21.1.jar(670.05 KiB) Primary
Download

90% of ad revenue goes to creators

Support creators and Modrinth ad-free with Modrinth+

Metadata

Release channel

Release

Version number

1.4.4+1.21.1

Loaders

Fabric

Game versions

1.21.1, 1.21.2, 1.21.3, 1.21.4

Downloads

419

Publication date

March 24, 2025 at 5:34 AM

Publisher

falkreon

falkreon

Owner

Version ID

Modrinth is open source.

main@656c5b6

© Rinth, Inc.

Company

TermsPrivacyRulesCareers

Resources

SupportBlogDocsStatus

Interact

Discord X (Twitter) Mastodon Crowdin
Get Modrinth App Settings
NOT AN OFFICIAL MINECRAFT SERVICE. NOT APPROVED BY OR ASSOCIATED WITH MOJANG OR MICROSOFT.