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

Resource packs: ambientocclusion flag only respects topmost parent

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • 23w07a
    • Minecraft 15w31c, Minecraft 15w32c, Minecraft 1.12.2, Minecraft 1.13.2, Minecraft 18w47b, Minecraft 19w12b, Minecraft 19w13b, Minecraft 19w14a, Minecraft 19w14b, Minecraft 1.14 Pre-Release 2, 1.14.4, 20w13b, 21w15a, 1.17, 1.17.1, 21w39a
    • Confirmed
    • Resource Packs, Textures and models
    • Normal

      The bug

      Iron Ore was changed to have "ambientocclusion":false, but it still inherits from block/cube_all. Gold Ore was changed to have no parent, but has ambientocclusion set to true. Coal Ore was changed to have no parent, but has ambientocclusion set to false. All models will obey the AO flag of their topmost parent. This does not seem intentional.

      How the attached resource pack looks in-game:

      The ore textures were modified to more clearly show the AO effects (and lack thereof).

      Intended result: Iron Ore and Coal Ore should have no AO
      Actual result: only Coal Ore has no AO

      How to reproduce

      An example resource pack can be found here and read the steps above.

            Unassigned Unassigned
            tterrag tterrag
            Votes:
            37 Vote for this issue
            Watchers:
            17 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: