Backports popular changes and fixes I've written for Figura 0.1.6 to Figura 0.1.5 such as:
- Searchable offline avatars FiguraMC/Figura#449
- Render task fixes FiguraMC/Figura#433 & FiguraMC/Figura#462
- Popup menu usable on skulls FiguraMC/Figura#468
- Quick sound settings in popup menu FiguraMC/Figura#468
This addon is not a replacement for the afformentioned PRs, and as such, is not intended for use with Figura 0.1.6
Figura for whatever reason explicitly prevented offline avatars from being searchable. Because changing permissions is important for players with skulls, this consequentially led to users naming their avatars using hoists allowing them to display at the top of the player list.
This change allows for offline avatars to be searchable in the permissions tab.
Fixes a bug causing render tasks, such as ItemTasks or SpriteTasks to become dark or tinted red. This bug is caused by other avatars setting the light level or effect overlays of a group ModelPart, causing all tasks in all avatars regardless of which avatar set this effect to become visually bugged.
A side effect of this bug is that tasks don't become properly shaded by the environment. This change fixes both these issues.
Adds the avatar popup menu functionality to player skulls which have an avatar. This allows for quickly increasing the permissions of the skull's avatar, or reloading that avatar in case of an error.
Adds a button to the popup menu that cycles the volume through three different volume states: 100%, 50%, and 0%
- Use your favorite Python package manager to install the requirements from
requirements.txt. python >= 3.12. - Select a variant to build using
python generate.py switch <variant_id>. (fabric_forge_1(1.20.1 - 1.20.4) is a good starting point, but if you want all three modloaders at once, tryall_2(1.20.6 - 1.21.1).) The list of variants is inrules.json.
- Delete the
fabric/build/libs,forge/build/libs, andneoforge/build/libsfolders. - Close IntelliJ IDEA, or turn off auto-sync (gradle tool window > settings button > auto-sync settings... > uncheck the box)
- Run
python generate.py build --version <mod_semver>. This will take a while as it builds the project 7 times (one for each version split). (adjust version number as needed) - Run
python publish.pyto upload to Modrinth.