Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-276815

Dyed bundles are missing the "filled" predicate

XMLWordPrintable

    • Community Consensus
    • Resource Packs, Textures and models
    • Normal
    • 1300867
    • Expansion A

      Undyed bundles have a "filled" model predicate which outputs as a decimal percentage of the bundle's fullness. However, dyed bundles do not have this predicate, meaning that it isn't possible to have model overrides for them using it.

      While this predicate is no longer used in vanilla following 24w33a, its behavior may still be useful for resource pack creators who wish to add different textures for the bundle depending on the fullness.

      Attached is a resource pack that applies different textures to bundles based on this filled predicate, as well as corresponding models for white bundles that should in theory mimic this behavior; however, when using the pack, you can see that this is not the case and that only undyed bundles have this behavior.

        1. 2024-09-18_17.05.55.png
          159 kB
          Merp is Me

            elvendorke [Mojang] elvendorke
            I_am_Merp Merp is Me
            Votes:
            13 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: