Mojira Archive
MC-84633

Resource packs: ambientocclusion flag only respects topmost parent

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.

Fixed

tterrag

Lars

2015-08-01, 02:21 PM

2023-02-13, 06:15 PM

2023-02-13, 05:54 PM

37

16

Confirmed

Normal

Resource Packs, Textures and models

block-model, resource-pack, resource-pack-support

Minecraft 15w31c - 21w39aMinecraft 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

23w07a