Jump to content

Resource pack block model see through problem


SchwarzerRidder

Recommended Posts

Hey guys,

I am new at creating resource packs for minecraft. I am experimenting a little and I have one issue. I created a model for a block that I want to change. I added an image that shows the issue. The block that is above my changed block is invisible...there should also be a spruce plank, but you can see through the spruce planks. Can someone help me, what I have to change in my model?

Thank you very much!

Here is the model:

Spoiler

 

{

    "parent": "block/block",

    "render": "translucent",

    "ambientocclusion": false,

    "textures": {

        "gray": "minecraft:block/gray"

    },

    "elements": [

        {

            "name": "middle1",

            "from": [ 5, 5, 0 ], 

            "to": [ 11, 11, 16 ], 

            "faces": {

                "north": { "texture": "#gray", "uv": [ 0, 0, 6, 6 ] },

                "east": { "texture": "#gray", "uv": [ 0, 0, 16, 6 ] },

                "south": { "texture": "#gray", "uv": [ 0, 0, 6, 6 ] },

                "west": { "texture": "#gray", "uv": [ 0, 0, 16, 6 ] },

                "up": { "texture": "#gray", "uv": [ 0, 0, 6, 16 ] },

                "down": { "texture": "#gray", "uv": [ 0, 0, 6, 16 ] }

            }

        },

        {

            "name": "middle2",

            "from": [ 0, 5, 5 ], 

            "to": [ 16, 11, 11 ], 

            "faces": {

                "north": { "texture": "#gray", "uv": [ 0, 0, 16, 6 ] },

                "east": { "texture": "#gray", "uv": [ 0, 0, 6, 6 ] },

                "south": { "texture": "#gray", "uv": [ 0, 0, 16, 6 ] },

                "west": { "texture": "#gray", "uv": [ 0, 0, 6, 6 ] },

                "up": { "texture": "#gray", "uv": [ 0, 0, 16, 6 ] },

                "down": { "texture": "#gray", "uv": [ 0, 0, 16, 6 ] }

            }

        },

        {

            "name": "upper1",

            "from": [ 5, 11, 5 ], 

            "to": [ 11, 16, 11 ], 

            "faces": {

                "north": { "texture": "#gray", "uv": [ 0, 0, 6, 5 ] },

                "east": { "texture": "#gray", "uv": [ 0, 0, 6, 5 ] },

                "south": { "texture": "#gray", "uv": [ 0, 0, 6, 5 ] },

                "west": { "texture": "#gray", "uv": [ 0, 0, 6, 5 ] },

                "up": { "texture": "#gray", "uv": [ 0, 0, 6, 6 ] }

            }

        }

    ]

}

 

Here is the image:

KVSvt5D.png

Link to comment
Share on other sites

On 5/1/2021 at 9:10 PM, kiou.23 said:

are you making a forge mod or just a resource pack?

A resource pack.

 

On 5/1/2021 at 10:04 PM, diesieben07 said:

You cannot change the basic shape of a block. If the block is a full cube, Minecraft culls ("doesn't render") blocks around it based on this fact.

 Thank you, that might be the point. Do you have a suggestion, what I can do execpt changing a block / full cube to add a new block without using a mod?

Edited by SchwarzerRidder
Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now


×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.