All Mods Resource Packs Data Packs Shaders Modpacks Plugins
Scarves

Scarves

by falkreon • Downloads: 0 • Followers: 0
Description
Gallery
Changelog
Versions

Scarves are trinkets which enable cloth-simulated trails behind players that have a gauzy, floaty physics to them.

In order to get started, you craft a Scarf and a Scarf Stapler, and use the Stapler to attach wool blocks or other things to the end of the left and/or right scarf tail.

Or, go ahead and steal a premade pride flag scarf out of the creative menu. There are no scarf police.

Scarves have a theoretical length limit of "whatever won't kill the server". Scarves can be several chunks long. Again, there are no scarf police.

All Versions

+ Add Version
Name Game version Platforms Published Downloads Actions
1.21.x
Fabric
last yr. 1
1.21.x
Fabric
last yr. 1
1.21.x
Fabric
last yr. 1
1.21.x
Fabric
last yr. 1
1.21.x
Fabric
last yr. 1
1.21.x
Fabric
last yr. 1
1.21.x
Fabric
last yr. 1
1.20.4
Fabric
last yr. 1
1.20.4
Fabric
last yr. 1
1.20.x
Fabric
last yr. 1
1.20
Fabric Quilt
last yr. 1
1.19.2
Fabric Quilt
last yr. 1
1.19.2
Fabric Quilt
last yr. 1
1.19.2
Fabric Quilt
last yr. 1
  • Slight optimization to do less work and create fewer objects inside of each frame.
No new code in this release, just a new included version of StaticData to fix a bug with staticdata packs in Windows.
## 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!


This release is a patch to guard against malformed JREs that are shipped without the required RandomGenerators.
This release fixes a component registration bug where Scarves would crash if Polymer was present.
This is a minor update
  • Fixes a fatal error when trying to equip the Scarf Stapler as equipment.
In honor of the upcoming "Play With Friends" Minecraft update, I thought I'd make my own.


In this version, it's easier than ever to define new Fabric Squares, provide or process pre-rolled scarf design layouts, and even define new Scarf-Haver entities. Scarves have been split into two slots with one individual tail each, so you can pair up two pride flags more easily. A lot of work went in under the hood to expand scarf eligibility to new friends.

  • Update to 1.21.1
  • Componentize ScarfDesign and FabricSquare, so any item can count as a fabric square or a scarf design with no registration.
  • Staticdata now sneaks default components onto the targeted items
  • Moved scarf slot from body to head, and split into left and right slot. Each scarf has only one tail now.
  • Scarf Stapler and Scarf Serger interfaces rearranged to acommodate all these changes
  • The way scarves are pinned to entities has totally changed.
  • Bee scarves. Fox scarves. Rightclick a friend with a scarf to place it in their scarf slot. If they're already wearing a scarf, it'll swap them. Support for more animals is coming!![A fox looking unusually stylish today](https://cdn.modrinth.com/data/cached_images/134990ffe63a7918d7c56222327e295f93c542e9.png)
Fixed static data loading for modded blocks and items. 1.3.2 required them to exist before Scarves' modInitializer. This is no longer the case.

This version is a recommended upgrade for anyone who wants to customize the staple-able items.

## Known issues

  • Something broke in 1.20.4 with stapling scarves to each other. I'm still investigating this, and will release a specific fix version for that too.
  • Updated to 1.20.4
  • Scarves now show their colors in the GUI
  • Scarves now reads static data to import new fabric squares
  • All builtins now come from static data

[1.3.0] Scarves 1.3.0 by falkreon on Jul 27, 2023
Download
This release is a significant improvement on 1.2.x.

  • Fixed a bug causing scarves to jitter in tick-deprived environments such as when performance-enhancing mods are installed.
  • Marked several more blocks as eligible to be fabric squares
  • Finished implementing the scarf serger
Updates the mod to 1.20.
Features are identical to the 1.2 version shown at Modfest.
[1.2] 1.2 by falkreon on Sep 13, 2022
Download
  • Doubled the gravity on scarves. Then doubled it again.
  • Added the ability to staple scarves to the ends of other scarves
  • Cap the maximum length for scarf stapling, for modfest
  • Added slot icons to the Scarf Stapler
  • Added a scarf trinket slot to the Scarf Stapler so that you can work on the scarf you're wearing
  • Chopped down creative mode scarves to short one-sided scarves for ease of stapling
  • Attach scarves better during elytra flight and swimming
  • Handle vertical scarves better; slope squares so they don't lose so much volume as they tilt
  • Respond to wind if wind is provided
  • Smooth all tick-based movement using frame deltaTime and lerps

[1.1.0] 1.1.0 by falkreon on Aug 26, 2022
Download
  • Fixed missing icon on creative tab
  • Prevented Scarf Stapler from consuming items when no scarf is in the middle slot
  • Added a "scarves" entrypoint so that mods can register fabric square items without creating a hard dependency

[1.0.0] 1.0.0 by falkreon on Aug 20, 2022
Download
First standalone scarves release!
Scarves Icon
Download Scarves
Select game version
Select platform