Skip to content

Scaling doesn't work for entries with composites #122

@leiseg

Description

@leiseg

Describe the Bug

Scaling seems to not work as expected, when the targeted entry has composites defined, either per render or structure_nbt. I have tested this in a new 26.1.2 instance too.

Reproduction Steps

Take Wilder Wild's Pollen for example:

  1. In a resourcepack, add pollen.json to ...\assets\wilderwild\fieldguide\entries\ and set a scaling value of 5
  2. Start the game, load the resourcepack and open the Field Guide
  3. See that the preview for Pollen is huge now
  4. Close the game, set up a composite for Wilder Wild's Pollen in a Datapack under ...\data\wilderwild\fieldguide\composites\wilderwild_composites.json like so:
{
  "values": [
    {
      "id": "wilderwild:pollen
      "render": [
        "0,0,0|wilderwild:pollen|up=true,north=true,east=true,south=true,west=true"
      ],
      "components": [
        "wilderwild:pollen"
      ]
    }
  ]
}
  1. Start the game, load both the resourcepack and datapack, open the Field Guide and see that the scaling has been reset

Expected Result

Scaling should work for composites.

Screenshots and Videos

No response

Operating System

Windows 11

Mod Version

1.7.5

Minecraft Version

26.1

Mod Loader

Fabric

Other Mods / Modpack

Wilder Wild 4.2.9

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions