mojira.dev
MC-51113

The inner cube faces of slime blocks darken when solid blocks are present nearby

The Bug:

The inner cube faces of slime blocks darken when solid blocks are present nearby.

This issue can more easily be seen when smooth lighting is disabled but still occurs regardless.

Steps to Reproduce:

  1. Place down a slime block.

  2. Place down a solid block directly adjacent to the slime block.

  3. Look closely at the inner cube texture of the slime block.

  4. Take note as to whether or not the inner cube faces of slime blocks darken when solid blocks are present nearby.

Observed Behavior:

The inner cube faces are darkened.

Expected Behavior:

The inner cube faces would not be darkened.

Linked issues

Attachments

Comments 21

Is this a bug ?

insomniac_lemon

Just a check here, are you actually doing

"cull":"false"

?

Because that would be incorrect.

"false" is a boolean value not a string, and thus does not need to be in quotations, and should be written as:

"cull":false

So, I'm assuming invalid as that's your issue. I tried "cull":false in 14w11b and it worked just fine for me with glass. Also, I don't think leaves would be possible if this didn't work, unless that was hard-coded to be turned off.

No, these are the default models. And it only affects certain few blocks. Several of my models which worked before now have darkened spots, so either the format changed and they missed some models, or the "cull" tag is broken, either way it's a bug.

And yeah, I mean "cull":false, I typed it here from memory (I usually copy/paste for making my models)

Kumsasa: Yes, if you notice, the top face is darkened, even though you still see it. That is why "cull": false was added, to stop that, and why it not doing it's job is a bug.

insomniac_lemon

Darker faces doesn't always equate to culled faces. I believe that's still ambient occlusion or just lighting in general making things darker than they likely should. Mog tried to fix it, and in some cases he did, but it's not completely fixed.

For instance, in 14w11b, iron bars seem to be fixed completely with smooth lighting, but doors seem to be a little not as dark, but the top still is darker than it should be if a block is above.

Here is a screenshot of slightly modified of the default files.

The one on the right has ""useAmbientOcclusion": true"

The one on the left has ""cull": true"

Note with or without cull the bug still happens, and useAmbientOcclusion does not fix the problem.

11 more comments

Confirmed for 1.13.1 (fixed End Portal Frames).

Is this still an issue in 19w41a?

Since this issue has reappeared in 1.19 Pre-release 3, would it be okay if I can request ownership of this ticket and update it accordingly to include the necessary details? This ticket also relates to MC-249087.

Thanks greatly for the ownership transfer. 😃

I've updated this ticket to purely mention how this issue affects slime blocks as it was previously stating that end portal frames were also affected under certain circumstances, but this no longer occurs. Furthermore, I've removed the "Environment" field of this report as this issue isn't exclusive to Windows 7 and I'm leaving a comment here stating my actions and reasons just for documentation purposes.

Minecraft386882

Confirmed in 1.21.3

KnightMiner

Avoma

(Unassigned)

Confirmed

Gameplay

Low

Rendering

slime_block

Minecraft 14w11b, Minecraft 14w17a, Minecraft 14w18a, Minecraft 14w18b, Minecraft 14w19a, ..., 25w08a, 1.21.5, 1.21.6 Pre-Release 3, 1.21.6, 1.21.7

Retrieved