Jump to content

Recommended Posts

Posted

Heres my json:
 

{
  "parent": "minecraft:block/cube_all",
  "textures": {
    "all": "testmod_examplemod:block/example_block"
  },
  "render_type": "minecraft:cutout"
}

with that it DOES make it transparent, but it also makes every block its touching (that face_ transparent!

Posted

im just coping the properties from the glass block whit no occlusion and the  "render_type": "translucent",

	            public static final RegistryObject<Block> GLASS_PANEL = registerBlock(
            "glass_panel",
            () -> new panel_pglass(BlockBehaviour.Properties.ofFullCopy(Blocks.GLASS_PANE).noOcclusion(),
                    """
                    {
                    "name":"glass_panel",
                    "en_us_lang" : "Glass Panel",
                    "es_es_lang" : "Panel De Vidrio",
                    "north": "minecraft:block/glass",
                    "crafthing_input_c0": "minecraft:glass",
                    "cutthing_input_c0": "minecraft:glass",
                    "no_drop" : "true"
                    }
                    """, crear_archivos_glass
            ) );
	

 

	        {
            "credit": "Made with Blockbench",
                "ambientocclusion": "true",
                "render_type": "translucent",
	            "elements": [
                {
                    "name": "panel",
                    "from": [0, 0, 0],
                    "to": [16, 16, 4],
                    "faces": {
                        "north": {"uv": [0, 0, 16, 16], "texture": "#north"},
                        "east": {"uv": [12, 0, 16, 16], "texture": "#east"},
                        "south": {"uv": [16, 0, 0, 16], "texture": "#south"},
                        "west": {"uv": [0, 0, 4, 16], "texture": "#west"},
                        "up": {"uv": [16, 16, 0, 12], "texture": "#up"},
                        "down": {"uv": [16, 4, 0, 0], "texture": "#down"}
                    }
                }
            ],
	

 

the thing whit this that rain and snow cannot be see trough the block 

 

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.