mojira.dev
MC-311827

Shading on block models is broken

Shading on block models was broken in 26.3, with block shading applying to models that it should not, such as my resource pack’s short grass & tall grass model. This was not an issue in 26.2. Note that in the model, ambientocculision is set to false, and each element has shade set to false.

{
	"ambientocclusion": false,
	"parent": "block/block",
	"textures": {
		"particle": "#texture"
	},
	"elements": [
		{
			"from": [0.25, 0, 4.25],
			"to": [16.25, 16, 4.25],
			"shade": false,
			"faces": {
				"north": {"uv": [0, 0, 16, 16], "texture": "#texture", "tintindex": 0},
				"south": {"uv": [0, 0, 16, 16], "texture": "#texture", "tintindex": 0}
			}
		},
		{
			"from": [12.25, 0, 0.25],
			"to": [12.25, 16, 16.25],
			"shade": false,
			"faces": {
				"east": {"uv": [0, 0, 16, 16], "texture": "#texture", "tintindex": 0},
				"west": {"uv": [0, 0, 16, 16], "texture": "#texture", "tintindex": 0}
			}
		},
		{
			"from": [4.25, 0, 0.25],
			"to": [4.25, 16, 16.25],
			"shade": false,
			"faces": {
				"east": {"uv": [0, 0, 16, 16], "texture": "#texture", "tintindex": 0},
				"west": {"uv": [0, 0, 16, 16], "texture": "#texture", "tintindex": 0}
			}
		},
		{
			"from": [0.25, 0, 12.25],
			"to": [16.25, 16, 12.25],
			"shade": false,
			"faces": {
				"north": {"uv": [0, 0, 16, 16], "texture": "#texture", "tintindex": 0},
				"south": {"uv": [0, 0, 16, 16], "texture": "#texture", "tintindex": 0}
			}
		}
	]
}

Attachments

Comments 2

Thank you for helping us improve Minecraft! We saved your files:

[media][media]

Thank you for your report!

However, this issue has been temporarily closed as Awaiting Response.

Could you please provide a resource pack showcasing the issue?

This ticket will automatically reopen when you reply.

Quick Links:
📓 Issue Guidelines – 💬 Mojang Support – 📧 Suggestions – 📖 Minecraft Wiki

SeaOfPixels

(Unassigned)

Unconfirmed

26.3 Release Candidate 2

Retrieved