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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

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