Skip to content

Fix inheritance of ambientocclusion property from parent model#729

Merged
TBlueF merged 1 commit intoBlueMap-Minecraft:masterfrom
Uiniel:fix-ambientocclusion-inheritance
Aug 11, 2025
Merged

Fix inheritance of ambientocclusion property from parent model#729
TBlueF merged 1 commit intoBlueMap-Minecraft:masterfrom
Uiniel:fix-ambientocclusion-inheritance

Conversation

@Uiniel
Copy link
Contributor

@Uiniel Uiniel commented Aug 11, 2025

I only noticed this bug because I encountered a similar bug (with a more noticeable property) in BlueMapModelLoaders.

A simple test with the following resource pack:

assets/minecraft/models/block/pink_wool.json :

{
  "parent": "minecraft:block/cube_all",
  "ambientocclusion": "false",
  "textures": {
    "all": "minecraft:block/pink_wool"
  }
}

assets/minecraft/models/block/white_wool.json :

{
  "parent": "minecraft:block/pink_wool",
  "textures": {
    "all": "minecraft:block/white_wool"
  }
}

assets/minecraft/models/block/light_gray_wool.json :

{
  "parent": "minecraft:block/pink_wool",
  "ambientocclusion": "true",
  "textures": {
    "all": "minecraft:block/light_gray_wool"
  }
}

Before:
image
After:
image

@TBlueF TBlueF merged commit 3df7836 into BlueMap-Minecraft:master Aug 11, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants