Something wrong with my half slab block

Started by ShuTsing on

Topic category: Help with MCreator software

Last seen on 15:19, 26. Feb 2020
Joined Feb 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Something wrong with my half slab block

pic

The upper part of the block is rendered black when I don't set light opacity to 0. But the original half slab can be opaque.

Following is my model

{
    "parent": "block/block", 
    "textures": {
        "all": "rhodes:blocks/gray130_8"
    }, 
    "elements": [
        {
            "from": [0, 0, 0], 
            "to": [16, 6, 16], 
            "faces": {
                "down": {
                    "uv": [0, 0, 16, 16], 
                    "texture": "#all", 
                    "cullface": "down"
                }, 
                "up": {
                    "uv": [0, 0, 16, 16], 
                    "texture": "#all"
                }, 
                "north": {
                    "uv": [0, 10, 16, 16], 
                    "texture": "#all", 
					"cullface": "north"
                }, 
                "south": {
                    "uv": [0, 10, 16, 16], 
                    "texture": "#all", 
					"cullface": "south"
                }, 
                "west": {
                    "uv": [0, 10, 16, 16], 
                    "texture": "#all", 
					"cullface": "west"

                }, 
                "east": {
                    "uv": [0, 10, 16, 16], 
                    "texture": "#all", 
					"cullface": "east"

                }
            }
        }
    ]
}

 

Last seen on 02:45, 27. Mar 2024
Joined Dec 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
in terms, the default ones…
Tue, 02/25/2020 - 20:38

in terms, the default ones in 1.14.4, the half block is "semi solid block lighting", it will be complex to do with the lighting, but in 1.12.2, the half blocks was also semi solid. to stay safe, use opacity level to 0 or 1 to 50.

Last seen on 02:45, 27. Mar 2024
Joined Dec 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
i may not be 100% correct,…
Tue, 02/25/2020 - 20:44

i may not be 100% correct, but setting values "like 250" will be transperent, but the opacity will be high, if it still doesn't work, then i might think about another method.