Jump to content

[1.19.4] make a costume block to looks exactly as the vanilla water block ?


perromercenary00

Recommended Posts

hola

im doing a costume block to simulate a water stream the code it more or less done but the texture the rendered is not 

first the block is not translucent i take the water animated texture "water_still.png.mcmeta" an delete a frange to see  what happens and wtf  

2023-05-28-17-54-37.png

 

soo i remove the tintindex thing to experiment and not it is not the problem 

2023-05-28-17-52-28.png

 

there is in minecraft alredy transparent textures like the stained glass soo i set it whit the "light_blue_stained_glass.png" whit no tintindex 

2023-05-28-18-00-03.png

 

#########################

jummmm

theres some option or flag missing i alredy check the stained glass and dont see anyting usable 

public static final Block CYAN_STAINED_GLASS = register("cyan_stained_glass", stainedGlass(DyeColor.CYAN));

mi block declaraion 

	public static final RegistryObject<Block> RUNNING_WATER = registerBlock(
"running_water",
() -> new rwater(BlockBehaviour.Properties.copy(Blocks.WATER).noOcclusion(),
"""
{
"name":"running_water",
"en_us_lang" : "Running Water",
"es_es_lang" : "Corriente de Agua"
}
""", crear_archivos
) );
	

 

 

this is mi model for the block 

Spoiler

				
			{
		    "credit": "Made with Blockbench",
		    "ambientocclusion": "true",
		    "render_type": "cutout",
		    "textures": {
		        "agua": "minecraft:block/water_still",
		        "particle": "minecraft:block/water_still"
		    },
		    "elements": [
		    { "from": [ 0, 0, 0 ],
		    "to": [ 16, 16, 16 ],
		    "faces": {
		            "down": { "uv": [ 0, 0, 16, 16 ], "texture": "#agua", "tintindex": 0, "cullface": "down" },
		            "up": { "uv": [ 0, 0, 16, 16 ], "texture": "#agua", "tintindex": 0, "cullface": "up" },
		            "north": { "uv": [ 0, 0, 16, 16 ], "texture": "#agua", "tintindex": 0, "cullface": "north" },
		            "south": { "uv": [ 0, 0, 16, 16 ], "texture": "#agua", "tintindex": 0, "cullface": "south" },
		            "west": { "uv": [ 0, 0, 16, 16 ], "texture": "#agua", "tintindex": 0, "cullface": "west" },
		                "east": { "uv": [ 0, 0, 16, 16 ], "texture": "#agua", "tintindex": 0, "cullface": "east" }
		            }
		        }
		    ]
		}				
			

 

##############

Mi target is to make mi custom water block to look like the vanilla water block 

what could be needed to make a block transparent in 1.19.4 ??

 

 

2023-05-28-18-26-38.png

 

 

 

 

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.



×
×
  • Create New...

Important Information

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