mojira.dev
MCPE-229002

minecraft:geometry.full_block Geometry Affects Block Rendering

  • Create a “light block” - here’s an example of the components that may appear (for best results, use a block texture that’s hex color ffffff in order to clearly delineate shadows or ambient occlusion effects. I’ve attached a texture like this [white_light_block.png] and a terrain_texture.json as well)

  • {
        "format_version": "1.21.111",
        "minecraft:block": {
            "description": {
                "identifier": "test:test_block",
                "menu_category": {
                    "category": "construction"
                }
            },
            "components": {
                "minecraft:geometry": "minecraft:geometry.full_block",
                "minecraft:light_dampening": 0,
                "minecraft:light_emission": 15,
                "minecraft:material_instances": {
                    "*": {
                        "texture": "white_light_block",
                        "render_method": "opaque",
                        "ambient_occlusion": 0,
                        "face_dimming": false
                    }
                }
            }
        }
    }
  • In a world, run command /time set midnight, then place many instances of this block together in the air - not touching any other vanilla blocks or any other types of custom blocks. You will notice that lots of shadows appear in between these blocks. (Image attached).

    • To see how these should appear (and do appear while not using this geometry), please see this bug report - there is still an issue with other blocks interacting, but the light blocks themselves don’t have the same rendering issue as they do when using the minecraft:geometry.full_block geometry.

Attachments

Comments 2

Thank you for your report!

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

Could you please attach an example resource pack showcasing the issue?

This ticket will automatically reopen when you reply.

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

[media][media]

Here’s the BP and RP (linked)!

And once again to demonstrate what this looks like when not using minecraft:geometry.full_block here’s my other bug report (ambient occlusion still has bugs but not the same kind of effects with the built-in geometry):

MCPE-229000

Attached to that one is an example block.geo.json which can be swapped into this pack easily as well if you’d like to test the difference between the two.

beanrollup

(Unassigned)

Unconfirmed

Windows

1.21.111

Retrieved