Перейти к содержимому
Mineforgian

Scarves

Comfortable dynamic simulated cloth trinkets

34K загрузок84 подписчиковMITfabricquilt

Обновлён 24 апреля 2025 г. · опубликован 13 августа 2022 г.

  • A Long Bi/Pan Scarf
  • Скриншот: Scarves
  • Скриншот: Scarves
  • Undersea

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.

Центр версий

14 версий
  • Релиз671 КБ
  • Релиз671 КБ
  • Релиз670 КБ
  • Релиз660 КБ
  • Релиз660 КБ
  • Релиз660 КБ
  • Релиз660 КБ
  • Релиз840 КБ
  • Релиз840 КБ
  • Релиз685 КБ
  • Релиз665 КБ
  • Релиз633 КБ
  • Релиз626 КБ
  • Релиз624 КБ

Ченджлог

1.4.6+1.21.1Релиз1.21.1, 1.21.2, 1.21.3 · 24 апреля 2025 г.
  • Slight optimization to do less work and create fewer objects inside of each frame.
1.4.5+1.21.1Релиз1.21.1, 1.21.2, 1.21.3 · 6 апреля 2025 г.

No new code in this release, just a new included version of StaticData to fix a bug with staticdata packs in Windows.

1.4.4+1.21.1Релиз1.21.2, 1.21.3, 1.21.4 · 24 марта 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_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!

1.4.3+1.21.1Релиз1.21.2, 1.21.3, 1.21.4 · 16 марта 2025 г.

This release is a patch to guard against malformed JREs that are shipped without the required RandomGenerators.

1.4.2+1.21.1Релиз1.21.2, 1.21.3, 1.21.4 · 16 марта 2025 г.

This release fixes a component registration bug where Scarves would crash if Polymer was present.

1.4.1+1.21.1Релиз1.21.2, 1.21.3, 1.21.4 · 15 марта 2025 г.

This is a minor update

  • Fixes a fatal error when trying to equip the Scarf Stapler as equipment.
1.4.0+1.21.1Релиз1.21.2, 1.21.3, 1.21.4 · 13 марта 2025 г.

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
1.3.3+1.20.4Релиз1.20.4 · 4 января 2024 г.

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.

Комментарии

Загружаем…