Jump to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

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

Featured Replies

Posted

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

 

 

 

 

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...

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.