mojira.dev
MCPE-228832

The ambient_occlusion field in minecraft:material_instances block component does not affect ambient occlusion.

The ambient_occlusion field in minecraft:material_instances block component does not affect ambient occlusion, even if it is set to false.

The attached sample pack sets the ambient_occlusion to false for the custom block.

The expected result should have no ambient occlusion on the custom block.

Here's the JSON file for the custom block:

{
	"format_version": "1.21.100",
	"minecraft:block": {
		"description": {
			"identifier": "test_block:custom_block",
			"menu_category": {
				"category": "construction"
			}
		},
		"components": {
			"minecraft:geometry": "minecraft:geometry.full_block",
			"minecraft:material_instances": {
				"*": {
					"texture": "test_block_custom_block",
					"render_method": "opaque",
					"ambient_occlusion": false,
					"face_dimming": false
				}
			}
		}
	}
}

Attachments

Comments 1

Here’s another example of a custom block with the ambient_occlusion field set to false. This issue occurs in other addons where custom plants used to have no ambient occlusion, but now appear in Minecraft 1.21.111

image-20251013-221029.png

AndEditor7

(Unassigned)

Unconfirmed

Multiple

1.21.130.20 Preview, 1.21.120.20 Preview, 1.21.111

Retrieved