#Model Changing Block (aka 3D Animated Block)
1 messages · Page 1 of 1 (latest)
In what way is it animated?
Are you sending it in .json? It's empty for me as well that way. You can send it in .txt and it should be fine
I'll try
model changes
It might be more performant to use one geometry with strategically arranged per-face UV and a traditional block flipbook texture than to utilize tick updates
There you go 👍
also the model is the one animated not the texture, suggesting people might get confused
Model Changing Block (aka 3D Animated Block)
Blocks are already 3D 💀
🗿
@modest frost here's an example
ty
the documentation is very confusing
just because ive never made a custom block
It's a queued ticking event, properties, permutations, and an event that increments the property
this guys example sucks
Idk how to do flipbook exactly, but it's the same kind of thing
you can change the texture with permutations
i have never made a custom block so i have no clue about anything block wise
{
"condition": "query.block_property('runecraft:growth_stage') == 0",
"components": {
"minecraft:material_instances": {
"*": {
"texture": "lifeweaver_0",
"render_method": "alpha_test",
"face_dimming": false,
"ambient_occlusion": false
}
},
"minecraft:selection_box": {
"origin": [-5, 0,-5],
"size": [10,8,10]
}
}
},
{
"condition": "query.block_property('runecraft:growth_stage') == 1",
"components": {
"minecraft:material_instances": {
"*": {
"texture": "lifeweaver_1",
"render_method": "alpha_test",
"face_dimming": false,
"ambient_occlusion": false
}
},
"minecraft:selection_box": {
"origin": [-5, 0,-5],
"size": [10,10,10]
}
}
},```
This would be an example of changing the texture of a block
thats so confusing though 😭
what should my condition be though?
the block property
or state
because you're incrementing it to the next value every tick
any idea why this isnt working? ```json
{
"format_version": "1.20.10",
"minecraft:block": {
"description": {
"identifier": "wiki:custom_block",
"menu_category": {
"category": "construction"
}
},
"components": {
"minecraft:loot": "loot_tables/blocks/custom_block.json",
"minecraft:destructible_by_mining": {
"seconds_to_destroy": 3
},
"minecraft:destructible_by_explosion": {
"explosion_resistance": 3
},
"minecraft:friction": 0.4,
"minecraft:flammable": {
"catch_chance_modifier": 0,
"destroy_chance_modifier": 0
},
"minecraft:map_color": "#ffffff",
"minecraft:light_dampening": 0,
"minecraft:light_emission": 4,
"minecraft:material_instances": {
"*": {
"texture": "flashing"
}
}
}
}
}```
followed the tutorial in this https://wiki.bedrock.dev/blocks/blocks-intro.html
wait whats rp/blocks.json?
NO WAY I GOT IT