{
"format_version": "1.10.0",
"minecraft:client_entity": {
"description": {
"identifier": "pokeworld:alakazam_v",
"materials": { "default": "alpha_test"},
"textures": {
"default": "textures/entity/alakazam/alakazam_v"
},
"geometry": {
"default": "geometry.alakazam"
},
"scripts": {
"animate": [
"setup",
{ "walk": "query.modified_move_speed" },
"look_at_target"
]
},
"animations": {
"walk": "animation.pokemon.four.walk",
"look_at_target": "animation.common.look_at_target"
},
"render_controllers": [ "controller.render.default" ],
"spawn_egg": {
"texture": "alakazam",
"texture_index": 0
}
}
}
}```
why doesnt this allow the texture to show the less opaque parts of the texture on my model
#transparent texture problems
1 messages · Page 1 of 1 (latest)
Make sure you are using a correct material
try experimentint with certain materials
There's a list of vanilla materials in the bedrock wiki
?vanilla materials
Materials
Explanation:
https://wiki.bedrock.dev/visuals/materials.html
List of materials:
https://wiki.bedrock.dev/documentation/materials.html
oh yeah, it should be entity_alphatest as the default material
ok thanks
so i applied the entity_alphatest and it doesnt show the part of the texture as seethrough even though i used an opacity of 55 on the model itself
try entity_alphablend
yeah that didnt work either guess ill just have to go through each one till i find the one that works
i give up
"entityname": entity_alphatest": { "+states": [ "Blending" ]
Hope it helps
I'll try that thanks
Isn’t this supposed to be in the 'entity.material'?
Yes, it's supposed to go in the .material file.
"entity_alphablend" works for the top layered transparent texture. But it renders objects/bones/cubes behind the transparent element(s) inconsistently.
Wait I'm supposed to have a custom material file?
i have no clue how to make a material file
It's very simple, go to your resource pack and create a folder named "materials" inside of this folder create a file named "entity.material". In this file, you will put the code that Fops gave you. This will allow you to reference "entityname" in your client entity file as a material.
ok thanks ive never messed with materials before so its new to me
Well not exactly what Fops sent:
{
"materials": {
"version": "1.0.0",
"entityname:entity_alphatest": {
"+states": [
"Blending"
]
}
}
}
Yeah, It is not advised that new devs work with materials. They can be hard to grasp and may cause crashes.
been making models for a while just never really dived into the material aspect of things
only recently i wanted to experiment with making thinks like how the slime looks
anything special i have to do for the render controller?
That's fine, most materials that you will need have already been created. https://wiki.bedrock.dev/documentation/materials.html
That depends on how many materials you are using
Probably not then
so i wanted the player to be able to see through them
Just reference the default material in the controller and set the default material to the new material's identifier
"materials": { "default": "entity_alphatest"}, so like that?
yes, but change entity_alphatest to your new material identifier
so where they had put entityname i give it its own new name
You should recopy this, I copied this from fops and never noticed that they had made a mistake with the identifier
yes
Then you reference that name
and the render controller i just had set as default
Yes
If materials aren't written correctly, minecraft doesn't understand how to render the entity and the game crashes
A similar thing happens if you mess up badly enough with ui
{
"materials": {
"version": "1.0.0",
"alakazam": "entity_alphatest": {
"+states": [
"Blending"
]
}
}
}```
{
"format_version": "1.10.0",
"minecraft:client_entity": {
"description": {
"identifier": "pokeworld:alakazam_v",
"materials": { "default": "alakazam"},
"textures": {
"default": "textures/entity/alakazam/alakazam_v"
},
"geometry": {
"default": "geometry.alakazam"
},
"scripts": {
"animate": [
"setup",
{ "walk": "query.modified_move_speed" },
"look_at_target"
]
},
"animations": {
"walk": "animation.pokemon.four.walk",
"look_at_target": "animation.common.look_at_target"
},
"render_controllers": [ "controller.render.default" ],
"spawn_egg": {
"texture": "alakazam",
"texture_index": 0
}
}
}
}```
its crashing on me
{
"materials": {
"version": "1.0.0",
"alakazam:entity_alphatest": {
"+states": [
"Blending"
]
}
}
}
Here
ok i see the mistake
thanks
hmm still not showing properly like the model is there but its not showing the purple on top of the drums
You could also just try using the entity_alphablend material then
just change alakazam to entity_alphablend in materials (client entity file)