#How do I change breaking particles on my custom block?
1 messages · Page 1 of 1 (latest)
the breaking part uses the texture used for the bottom face. if you only use * material instances it also on the bottom side.
if you can, give every side a simple 16 by 16 texture each, instead of having a larger texture for a model.
if you have no way to do that in your case, or Alternatively if you plan to have a specific particle texture to be used when breaking, you can do this:
(I'm assuming you use a custom block model) give the bottom side of the model a custom material instance. in the material_instances of you block file, replace the bottom texture with your custom material instance, and give the bottom texture your desired particle texture.
You're a lifesaver! Thanks!
awesome
do you mean we should use per face uv?
can you explain more
What else has to be explained?
Be specific and include relevant details about the question upfront.
- What are you trying to accomplish?
- If you have code, which part is not working?
- What have you already tried?
- Have you searched the Bedrock Wiki?
@creepager15 hey there! I came across this post because I was looking for this, but it's not working for me đŠ
As you can see, I assigned the "down" material instace of the bottom cube a custom name
The, in the block file, I've added it like this:
"minecraft:material_instances": {
"*": {
"texture": "maceta_flores_rojas",
"render_method": "alpha_test"
},
"flower_red": {
"texture": "flower_red",
"render_method": "alpha_test"
}
}
(also added the texture path in the terrain_textures file)
@hardy ore any help?
why is âflower_redâ a key? I think that should be âbottomâ or âdownâ (idk which one, I havenât made an addon in 4 months)
Because is the name of the material instance
having âflower_redâ as the value of key âtextureâ makes sense, but this one doesnât look quite right
so i just change that for down?
In case people are looking for this in the future: test is the material instance of the bottom face of your model.
Assign test to the cube like in this image. down will be your break particle. Make sure the cube you're editing to apply test is on per face uv mode.
You can change the material instance name of any bone in a model you've made and use that name to texture it. So if you rename a whole bone a flower_red using material instance in the models it changes all the faces of that bone to be flower_red to use its own texture when define in the json of ur block